Label Stale PRs #189
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: "Label Stale PRs" | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # Runs at midnight every day | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| days-before-stale: ${{ vars.DAYS_BEFORE_PR_IS_STALE || 3 }} | |
| days-before-close: -1 # Negative value means don't close automatically | |
| stale-pr-label: "stale 🥖" | |
| stale-pr-message: "This PR has been marked as stale due to ${{ vars.DAYS_BEFORE_PR_IS_STALE || 3 }} days of inactivity." | |
| remove-stale-when-updated: true |