PR Check Status #36
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: PR Check Status | |
| on: | |
| schedule: | |
| - cron: "15 8 * * *" # Once daily at 8:15am UTC | |
| workflow_dispatch: | |
| permissions: {} | |
| concurrency: | |
| group: pr-check-status | |
| cancel-in-progress: true | |
| env: | |
| GIT_CONFIG_COUNT: "1" | |
| GIT_CONFIG_KEY_0: core.hooksPath | |
| GIT_CONFIG_VALUE_0: /dev/null | |
| jobs: | |
| nudge-stale-prs: | |
| runs-on: [self-hosted, Linux, X64, aws-india, blacksmith-2vcpu-ubuntu-2404, hetzner] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| env: | |
| STALE_HOURS: "48" | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Nudge PRs that need rebase or CI refresh | |
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 | |
| with: | |
| script: | | |
| const script = require('./.github/workflows/scripts/pr_check_status_nudge.js'); | |
| await script({ github, context, core }); |