Stale #489
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 * * *' | |
env: | |
LC_ALL: en_US.UTF-8 | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
name: Stale | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Stale Action | |
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 | |
with: | |
days-before-stale: 365 | |
days-before-close: 21 | |
exempt-all-milestones: true | |
stale-issue-label: 'stale' | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had recent activity. | |
Given the limited bandwidth of the team, it will be automatically closed if no further | |
activity occurs. | |
close-issue-message: > | |
This issue has been automatically closed due to inactivity. If you can reproduce this | |
or if you have a good use case for this feature, please feel free | |
to reopen the issue with steps to reproduce, a quick explanation of your use case or a | |
high-quality pull request. | |
stale-pr-label: 'stale' | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it has not had recent activity. | |
Given the limited bandwidth of the team, it will be closed if no further activity occurs. | |
If you intend to work on this pull request, please reopen the PR. | |
Thank you for your contributions. | |
close-pr-message: > | |
This pull request has been automatically closed due to inactivity. | |
If you are still interested in contributing this, please ensure that | |
it is rebased against the latest `main` branch, all review | |
comments have been addressed and the build is passing. |