-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: enable stale GH action in place of stalebot
Since stalebot appears to have been unreliable recently (probot/stale#349), we can try to use GH Actions to manage the stale issues.
- Loading branch information
Showing
2 changed files
with
31 additions
and
63 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,31 @@ | ||
--- | ||
|
||
name: Manage stale issues | ||
|
||
on: | ||
schedule: | ||
# run hourly | ||
- cron: "0 * * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: none | ||
|
||
steps: | ||
- name: Close Stale Issues | ||
uses: actions/[email protected] | ||
with: | ||
days-before-stale: 7 | ||
days-before-close: 7 | ||
exempt-issue-labels: 'internal,BUG,help wanted,#triage/accepted,#needs-triage,Feature' | ||
stale-issue-label: "#triage/stale" | ||
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. | ||
... |