stale #449
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: stale | |
on: | |
schedule: | |
- cron: 30 1 * * * | |
workflow_call: | |
permissions: | |
issues: write | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.action }} | |
cancel-in-progress: true | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
# Config Options: https://github.com/actions/stale#list-of-input-options | |
- uses: actions/stale@5ebf00ea0e4c1561e9b43a292ed34424fb1d4578 # tag=v6 | |
with: | |
days-before-stale: 14 | |
days-before-close: 5 | |
close-issue-message: π€ This has been flagged as stale. If it is still relevant please post an update with context. | |
close-pr-message: π€ This is being marked as stale due to no recent activity. Reopening will require project contributor to reopen. | |
# stale-issue-message: π€ This has been flagged as stale. If it is still relevant please post an update with context, otherwise this will shortly be closed. _You can always reopen a closed issue. This is not a permanent delete._ | |
# stale-pr-message: π€ This is being marked as stale due to no recent activity. Update to keep this open. | |
stale-issue-label: stale | |
exempt-issue-labels: pinned, security, dependencies | |
exempt-pr-labels: pinned, security, dependencies | |
stale-pr-label: stale | |
close-issue-label: stale-closed | |
close-pr-label: stale-closed | |
exempt-draft-pr: true | |
delete-branch: false | |
ignore-pr-updates: true # else renovate prs will never age out | |
labels-to-remove-when-unstale: stale, stale-issue, stale-closed | |
enable-statistics: true |