Repository navigation
PR Review Reminder #6215
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/pr-reminder.yml | |
| name: PR Review Reminder | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '*/30 * * * *' | |
| jobs: | |
| remind: | |
| runs-on: ubuntu-latest | |
| # These permissions are required for the action to post comments on pull requests. | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install Dependencies | |
| run: npm install @actions/github @actions/core | |
| - name: Run Reminder Script | |
| run: node .github/scripts/reminder.js | |
| env: | |
| # The GITHUB_TOKEN is automatically created by Actions. | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |