mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2500 from Flow-Launcher/update-stale-workflow
Update stale workflow
This commit is contained in:
commit
b2a3ebcd66
1 changed files with 9 additions and 4 deletions
13
.github/workflows/stale.yml
vendored
13
.github/workflows/stale.yml
vendored
|
|
@ -6,6 +6,11 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * *'
|
- cron: '30 1 * * *'
|
||||||
|
|
||||||
|
env:
|
||||||
|
days-before-stale: 60
|
||||||
|
days-before-close: 7
|
||||||
|
exempt-issue-labels: 'keep-fresh'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -15,12 +20,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
stale-issue-message: 'This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
|
stale-issue-message: 'This issue is stale because it has been open ${{ env.days-before-stale }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.days-before-stale }} days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\n${{ env.exempt-issue-labels }}'
|
||||||
days-before-stale: 45
|
days-before-stale: ${{ env.days-before-stale }}
|
||||||
days-before-close: 7
|
days-before-close: ${{ env.days-before-close }}
|
||||||
days-before-pr-close: -1
|
days-before-pr-close: -1
|
||||||
exempt-all-milestones: true
|
exempt-all-milestones: true
|
||||||
close-issue-message: 'This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.'
|
close-issue-message: 'This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.'
|
||||||
stale-pr-label: 'no-pr-activity'
|
stale-pr-label: 'no-pr-activity'
|
||||||
exempt-issue-labels: 'keep-fresh'
|
exempt-issue-labels: ${{ env.exempt-issue-labels }}
|
||||||
exempt-pr-labels: 'keep-fresh,awaiting-approval,work-in-progress'
|
exempt-pr-labels: 'keep-fresh,awaiting-approval,work-in-progress'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue