Skip to content

Slack PR Reminder

Slack PR Reminder #7

name: Slack PR Reminder
on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 09:00 UTC
workflow_dispatch: # Manual trigger for testing
concurrency:
group: slack-pr-reminder
cancel-in-progress: false
jobs:
remind:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Post Slack reminder
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
run: node .github/scripts/notify-slack.mjs