mirror of
https://github.com/upx/upx.git
synced 2025-08-07 22:46:51 +08:00
CI: improve workflows/close-stale-issues.yml
This commit is contained in:
15
.github/workflows/close-stale-issues.yml
vendored
15
.github/workflows/close-stale-issues.yml
vendored
@ -1,4 +1,5 @@
|
||||
# see https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues
|
||||
# see https://github.com/actions/stale
|
||||
|
||||
name: Close inactive issues
|
||||
on:
|
||||
@ -14,11 +15,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
with:
|
||||
days-before-issue-stale: 60
|
||||
days-before-issue-close: 14
|
||||
stale-issue-label: "stale"
|
||||
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity."
|
||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
operations-per-run: 150
|
||||
days-before-stale: 60
|
||||
days-before-close: 14
|
||||
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
||||
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
||||
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
|
||||
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Reference in New Issue
Block a user