Skip to content

Commit

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

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

Expand All @@ -18,4 +15,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: 1 # Required. This is the deadline for reviews. If this time is exceeded, a reminder wil be send.
review_turnaround_hours: 24 # Required. This is the deadline for reviews. If this time is exceeded, a reminder wil be send.

0 comments on commit 1d561ec

Please sign in to comment.