|
|
@ -3,15 +3,21 @@ name: PRs reviews reminder |
|
|
|
on: |
|
|
|
on: |
|
|
|
schedule: |
|
|
|
schedule: |
|
|
|
- cron: "0 8 * * 1-5" |
|
|
|
- cron: "0 8 * * 1-5" |
|
|
|
|
|
|
|
- cron: '0 9 * * 1-5' |
|
|
|
workflow_dispatch: |
|
|
|
workflow_dispatch: |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
pr-reviews-reminder: |
|
|
|
pr-reviews-reminder: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: Aniket-Engg/pr-reviews-reminder-action@master |
|
|
|
- name: Reminder about PRs pending to review |
|
|
|
|
|
|
|
if: github.event.schedule == '0 8 * * 1-5' |
|
|
|
|
|
|
|
uses: Aniket-Engg/pr-reviews-reminder-action@master |
|
|
|
env: |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
with: |
|
|
|
with: |
|
|
|
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} |
|
|
|
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} |
|
|
|
freeze-date: '2024-10-21T18:00:00Z' |
|
|
|
freeze-date: '2024-11-04T18:00:00Z' |
|
|
|
|
|
|
|
- name: Reminder for standup |
|
|
|
|
|
|
|
if: github.event.schedule == '0 9 * * 1-5' |
|
|
|
|
|
|
|
run: echo "This works." |
|
|
|