Skip to content

Commit b3bd26b

Browse files
authored
add pr reminder user mapping (#12)
* add pr reminder user mapping * trigger by daily * Update pr_review_reminder.yml
1 parent 42ea132 commit b3bd26b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pr_review_reminder.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: PRs reviews reminder
22

33
on:
4-
# schedule:
5-
# Every weekday every 2 hours during working hours, send notification
6-
# - cron: "0 8-17/2 * * 1-5"
4+
schedule:
5+
# Runs daily at 19 UTC time
6+
- cron: "0 19 * * *"
77
workflow_dispatch:
88

99
jobs:
@@ -17,5 +17,5 @@ jobs:
1717
webhook-url: '${{ secrets.MS_TEAMS_WEBHOOK_URI }}' # Required
1818
provider: 'msteams' # Required (slack, rocket or msteams)
1919
channel: '' # Optional, eg: #general
20-
github-provider-map: '' # Optional, eg: DavideViolante:UEABCDEFG,foobar:UAABCDEFG
21-
ignore-label: '' # Optional, eg: no-reminder,ignore me
20+
github-provider-map: '${{ secrets.PR_REMINDER_USER_MAPPING }}' # Optional, eg: DavideViolante:UEABCDEFG,foobar:UAABCDEFG
21+
ignore-label: '' # Optional, eg: no-reminder,ignore me

0 commit comments

Comments
 (0)