diff --git a/.github/workflows/bot-create-manual-reminder.yml b/.github/workflows/bot-create-manual-reminder.yml index 01677d9ed7..5c750bf9b0 100644 --- a/.github/workflows/bot-create-manual-reminder.yml +++ b/.github/workflows/bot-create-manual-reminder.yml @@ -10,6 +10,7 @@ on: jobs: reminder: + if: github.repository == 'roundcube/roundcubemail' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/bot-manual-reminder.yml b/.github/workflows/bot-manual-reminder.yml index 0f17ae4482..22e6378470 100644 --- a/.github/workflows/bot-manual-reminder.yml +++ b/.github/workflows/bot-manual-reminder.yml @@ -10,6 +10,7 @@ permissions: jobs: reminder: + if: github.repository == 'roundcube/roundcubemail' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/bot-remind-stale-pull-requests.yml b/.github/workflows/bot-remind-stale-pull-requests.yml index b8846c2bdc..eaa5e6c000 100644 --- a/.github/workflows/bot-remind-stale-pull-requests.yml +++ b/.github/workflows/bot-remind-stale-pull-requests.yml @@ -6,11 +6,13 @@ on: jobs: review-reminder: + permissions: + pull-requests: write + if: github.repository == 'roundcube/roundcubemail' runs-on: ubuntu-latest steps: - uses: sojusan/github-action-reminder@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} reminder_message: "🛎️ This PR has had no activity in two weeks." # Remind after two weeks of inactivity inactivity_deadline_hours: 336