From 1d561ec7513723e644e04b259ff30c5e9effb623 Mon Sep 17 00:00:00 2001 From: Taras Drozdovskyi Date: Tue, 15 Aug 2023 16:32:26 +0300 Subject: [PATCH] Fixed permission of pr-review-reminder Signed-off-by: Taras Drozdovskyi --- .github/workflows/pr-reviewer-reminder.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-reviewer-reminder.yml b/.github/workflows/pr-reviewer-reminder.yml index e5a50a9d..98dc826f 100644 --- a/.github/workflows/pr-reviewer-reminder.yml +++ b/.github/workflows/pr-reviewer-reminder.yml @@ -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 @@ -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. \ No newline at end of file + review_turnaround_hours: 24 # Required. This is the deadline for reviews. If this time is exceeded, a reminder wil be send. \ No newline at end of file