-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(gh): update stale item workflow
Updates the stale item workflow to use the latest version, with commit hash pinning. Signed-off-by: Ryan Johnson <[email protected]>
- Loading branch information
1 parent
06f31a3
commit 26c5ec9
Showing
2 changed files
with
46 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,46 @@ | ||
--- | ||
name: Manage Stale Items | ||
|
||
on: | ||
schedule: | ||
- cron: 00 00 * * * | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
days-before-stale: 360 | ||
days-before-close: 30 | ||
exempt-issue-labels: 'needs-triage' | ||
exempt-pr-labels: 'needs-review' | ||
remove-stale-when-updated: true | ||
delete-branch: false | ||
stale-issue-label: stale | ||
stale-issue-message: > | ||
'Marking this issue as stale due to inactivity. This helps us focus | ||
on the active issues. If this issue receives no comments in the next | ||
30 days it will automatically be closed. | ||
If this issue was automatically closed and you feel this issue | ||
should be reopened, we encourage creating a new issue linking back | ||
to this one for added context. | ||
Thank you!' | ||
stale-pr-label: stale | ||
stale-pr-message: > | ||
'Marking this pull request as stale due to inactivity. This helps us | ||
focus on the active pull requests. If this pull request receives no | ||
comments in the next 30 days it will automatically be closed. | ||
If this pull request was automatically closed and you feel this pull | ||
request should be reopened, we encourage creating a new pull request | ||
linking back to this one for added context. | ||
Thank you!' |