Sechduling Send Discord Reminder #33
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
| name: Sechduling Send Discord Reminder | |
| on: | |
| schedule: | |
| - cron: "30 1 * * *" # 매일 오전 10시 30분 (KST) | |
| - cron: "0 8 * * *" # 매일 오후 5시 (KST) | |
| workflow_dispatch: | |
| jobs: | |
| send-pr-reminder: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| actions: read | |
| checks: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Send Reminder to Discord | |
| uses: actions/github-script@v7 | |
| env: | |
| DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
| DISCORD_MENTION: ${{ secrets.DISCORD_MENTION }} | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| const script = require('.github/scripts/auto-review-reminder.cjs'); | |
| await script({ github, context, core }); |