Skip to content

Commit 6eef6dc

Browse files
authored
Reformat and fix spelling mistake in stale workflow
1 parent a9e6895 commit 6eef6dc

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/stale.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,32 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/stale@main
12-
id: stale
12+
id: stale-issue
13+
name: stale-issue
1314
with:
1415
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.'
15-
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.'
16-
close-pr-message: 'Pull request closed due to being stale.'
1716
close-issue-message: 'Issue closed due to being stale. Please reopen if issue persists in latest version.'
1817
days-before-stale: 7
1918
days-before-close: 10
2019
stale-issue-label: 'stale'
21-
close-pr-label: 'outdated'
2220
close-issue-label: 'outdated'
23-
stale-pr-label: 'stale'
24-
exempt-pr-labes: 'keep,blocked,before next release,after next release'
2521
exempt-issue-labels: 'enhancement,keep,blocked'
26-
exempt-all-pr-milestones: true
2722
exempt-all-issue-milestones: true
28-
- name: Print outputs
29-
run: echo ${{ join(steps.stale.outputs.*, ',') }}
23+
operations-per-run: 300
24+
remove-stale-when-updated: true
25+
26+
- uses: actions/stale@main
27+
id: stale-pr
28+
name: stale-pr
29+
with:
30+
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.'
31+
close-pr-message: 'Pull request closed due to being stale.'
32+
days-before-stale: 7
33+
days-before-close: 10
34+
close-pr-label: 'outdated'
35+
stale-pr-label: 'stale'
36+
exempt-pr-labels: 'keep,blocked,before next release,after next release'
37+
exempt-all-pr-milestones: true
38+
operations-per-run: 300
39+
remove-stale-when-updated: true
3040

0 commit comments

Comments
 (0)