-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: change stale bot to "needs-attention" bot (#5137)
Follow up on the discussion in #4502.
- Loading branch information
Showing
2 changed files
with
49 additions
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Check whether issues or PRs need attention | ||
on: | ||
workflow_dispatch: {} | ||
schedule: | ||
- cron: '0 0 * * *' | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
jobs: | ||
needs-attention: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
days-before-stale: 30 | ||
days-before-close: -1 # never close automatically | ||
stale-issue-message: > | ||
This issue has not had any activity in the past 30 days, so the | ||
`needs-attention` label has been added to it. | ||
If the opened issue is a bug, check to see if a newer release fixed | ||
your issue. If it is no longer relevant, please feel free to close | ||
this issue. | ||
The `needs-attention` label signals to maintainers that something | ||
has fallen through the cracks. No action is needed by you; your issue | ||
will be kept open and you do not have to respond to this comment. The | ||
label will be removed the next time this job runs if there is new | ||
activity. | ||
Thank you for your contributions! | ||
stale-pr-message: > | ||
This PR has not had any activity in the past 30 days, so the | ||
`needs-attention` label has been added to it. | ||
If you do not have enough time to follow up on this PR or you think | ||
it's no longer relevant, consider closing it. | ||
The `needs-attention` label signals to maintainers that something | ||
has fallen through the cracks. No action is needed by you; your PR | ||
will be kept open and you do not have to respond to this comment. | ||
The label will be removed the next time this job runs if there is | ||
new activity. | ||
Thank you for your contributions! | ||
stale-issue-label: needs-attention | ||
stale-pr-label: needs-attention | ||
exempt-issue-labels: keepalive,proposal,outdated-dependency,dev-branch | ||
exempt-pr-labels: keepalive,proposal,outdated-dependency,dev-branch |
This file was deleted.
Oops, something went wrong.