tests a fix stale.yml

pull/908/head
Jason 2 years ago
parent e1d4c6004e
commit 10a89f0757

@ -8,10 +8,12 @@ jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@main - uses: actions/stale@v4
id: stale-issue id: stale-issue
name: stale-issue name: stale-issue
with: with:
# general settings
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.'
close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.' close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.'
days-before-stale: 6 days-before-stale: 6
@ -21,14 +23,18 @@ jobs:
exempt-issue-labels: 'enhancement,keep,blocked' exempt-issue-labels: 'enhancement,keep,blocked'
exempt-all-issue-milestones: true exempt-all-issue-milestones: true
operations-per-run: 300 operations-per-run: 300
ascending: true
# debug
remove-stale-when-updated: true remove-stale-when-updated: true
ACTIONS_STEP_DEBUG: true
debug-only: true debug-only: true
- uses: actions/stale@main - uses: actions/stale@v4
id: stale-pr id: stale-pr
name: stale-pr name: stale-pr
with: with:
# general settings
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.' stale-pr-message: 'This pull request is stale as it has been open for 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.'
close-pr-message: 'Pull request closed due to being stale.' close-pr-message: 'Pull request closed due to being stale.'
days-before-stale: 10 days-before-stale: 10
@ -38,6 +44,6 @@ jobs:
exempt-pr-labels: 'keep,blocked,before next release,after next release' exempt-pr-labels: 'keep,blocked,before next release,after next release'
exempt-all-pr-milestones: true exempt-all-pr-milestones: true
operations-per-run: 300 operations-per-run: 300
# debug
remove-stale-when-updated: true remove-stale-when-updated: true
ACTIONS_STEP_DEBUG: true
debug-only: true debug-only: true

Loading…
Cancel
Save