-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea84a4f
commit e63bf00
Showing
1 changed file
with
19 additions
and
9 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 |
---|---|---|
@@ -1,33 +1,43 @@ | ||
name: Close inactive issues | ||
name: Close inactive issues / prs | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
- uses: actions/stale@v7 | ||
with: | ||
days-before-issue-stale: 60 | ||
days-before-issue-close: 14 | ||
days-before-pr-stale: 60 | ||
days-before-pr-close: 14 | ||
operations-per-run: 1000 | ||
stale-issue-label: "Stale" | ||
stale-pr-label: "Stale" | ||
stale-issue-message: > | ||
This issue is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days. | ||
close-issue-message: | | ||
We are closing this issue because it has been inactive for a few months. | ||
This probably means that it is not reproducible or it has been fixed in a newer version. | ||
We are closing this issue because it has been inactive for a few months. | ||
This probably means that it is not reproducible or it has been fixed in a newer version. | ||
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority. | ||
If you still encounter this issue with the latest version of this app template, please reopen using the issue template. You can also contribute directly by submitting a pull request. | ||
Thank you! | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
exempt-issue-labels: "feature request" | ||
stale-pr-message: > | ||
This pull request is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days. | ||
close-pr-message: | | ||
We are closing this pull request because it has been inactive for a few months. | ||
This probably means that it is not reproducible or it has been fixed in a newer version. | ||
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority. | ||
If you still encounter this issue with the latest version of this app template, please reopen using the issue template. You can also contribute directly by submitting a pull request. | ||
Thank you! | ||
repo-token: ${{ github.token }} | ||
close-issue-reason: "not_planned" |