Skip to content

Commit

Permalink
Configured PR reminder workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Taras Drozdovskyi <[email protected]>
  • Loading branch information
tdrozdovsky committed Aug 15, 2023
1 parent 863ca25 commit a0f5c0d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pr-reviewer-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ name: PR reviewer reminder
on:
schedule:
# Check reviews every weekday, 10:00 and 17:00
- cron: '0 10,17 * * 1-5'
#- cron: '0 10,17 * * 1-5'
- cron: '*/20 * * * *'

# permissions:
# contents: read
permissions:
pull-requests: write

jobs:
pull-request-reviewer-reminder:
Expand All @@ -12,4 +18,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # Required
reminder_message: 'One business day has passed since the review started. Give priority to reviews as much as possible. 🙏' # Required. Messages to send to reviewers on Github.
review_turnaround_hours: 24 # Required. This is the deadline for reviews. If this time is exceeded, a reminder wil be send.
review_turnaround_hours: 1 # Required. This is the deadline for reviews. If this time is exceeded, a reminder wil be send.

0 comments on commit a0f5c0d

Please sign in to comment.