-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(stale): add stale workflow (#608)
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 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,38 @@ | ||
--- | ||
name: Mark stale issues and pull requests | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 35 * * * * | ||
permissions: | ||
contents: read | ||
jobs: | ||
stale: | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v6 | ||
with: | ||
operations-per-run: 1000 | ||
stale-issue-message: | | ||
Hello 👋, to help manage issues we automatically close stale issues. | ||
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention? | ||
> This issue will be closed in 15 days if no further activity occurs. | ||
Thank you for your contributions. | ||
stale-pr-message: | | ||
Hello 👋, this PR has been opened for more than 2 months with no activity on it. | ||
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! | ||
You have 15 days until this gets closed automatically | ||
exempt-issue-labels: '📌%20pin,Help:%20Good%20First%20Issue,Blocked:%20Needs%20Review' | ||
exempt-pr-labels: '📌%20pin,Help:%20Good First%20Issue,Blocked:%20Needs%20Review' | ||
close-issue-reason: not_planned | ||
days-before-stale: 28 | ||
days-before-close: 15 | ||
stale-issue-label: 'Type: Stale' |