Reformat and fix spelling mistake in stale workflow

pull/794/head
Callum Leslie 3 years ago committed by GitHub
parent a9e68953b9
commit 6eef6dca6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,22 +9,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
id: stale
id: stale-issue
name: stale-issue
with:
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-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-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.'
days-before-stale: 7
days-before-close: 10
stale-issue-label: 'stale'
close-pr-label: 'outdated'
close-issue-label: 'outdated'
stale-pr-label: 'stale'
exempt-pr-labes: 'keep,blocked,before next release,after next release'
exempt-issue-labels: 'enhancement,keep,blocked'
exempt-all-pr-milestones: true
exempt-all-issue-milestones: true
- name: Print outputs
run: echo ${{ join(steps.stale.outputs.*, ',') }}
operations-per-run: 300
remove-stale-when-updated: true
- uses: actions/stale@main
id: stale-pr
name: stale-pr
with:
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.'
days-before-stale: 7
days-before-close: 10
close-pr-label: 'outdated'
stale-pr-label: 'stale'
exempt-pr-labels: 'keep,blocked,before next release,after next release'
exempt-all-pr-milestones: true
operations-per-run: 300
remove-stale-when-updated: true

Loading…
Cancel
Save