Handle stale issues/PRs #326
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: "Handle stale issues/PRs" | |
on: | |
schedule: | |
- cron: "0 3 * * *" | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 60 | |
days-before-close: 7 | |
exempt-issue-labels: "pinned,security,future,help wanted,integrations,known issue,known-limitation,Epic,area:security" | |
exempt-pr-labels: "pinned,security,future,help wanted,integrations,known issue,known-limitation,Epic,area:security" | |
exempt-all-milestones: true | |
stale-issue-message: | | |
This issue has been automatically marked as stale because it has not had recent activity. It will be | |
closed if no further activity occurs. Thank you for your contributions. | |
stale-pr-message: | | |
This PR has been automatically marked as stale because it has not had recent activity. It will be | |
closed if no further activity occurs. Thank you for your contributions. | |
stale-good-first-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 21 | |
stale-issue-message: | | |
This issue will be unassigned in 1 week if no further activity is seen. | |
If you are active please provide an update on the status of the issue and if you would like to continue | |
working on it. | |
include-only-assigned: true | |
remove-stale-when-updated: true | |
only-issue-labels: 'good first issue' | |
stale-issue-label: 'update-requested' | |
- uses: actions/stale@v9 | |
with: | |
days-before-stale: 28 | |
stale-issue-message: | | |
This issue will be labelled 'to be unassigned' because no response has been encountered. | |
include-only-assigned: true | |
only-issue-labels: 'good first issue' | |
stale-issue-label: 'to be unassigned' |