Daily nudge about closed issues without a project #96
This file contains 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: Daily nudge about closed issues without a project | |
on: | |
schedule: | |
# Run every weekday at 6:00 UTC (7:00 or 8:00 CERN) | |
- cron: '0 6 * * MON-FRI' | |
jobs: | |
issues-nudge: | |
if: ${{ github.repository == 'root-project/root' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: npm install 'octokit@^3' | |
- run: node .github/actions/issues-nudge.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |