Skip to content

Commit cff3615

Browse files
Merge pull request #8101 from nimrod-becker/fix_action
Update stale actions with exempt rules
2 parents de0c174 + 542bf66 commit cff3615

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ jobs:
1818
pull-requests: write
1919

2020
steps:
21+
# Handle non exempted issues
2122
- uses: actions/stale@v5
2223
with:
24+
exempt-issue-labels: 'Type:Enhancement, Type:Question, Type:Technical Debt'
25+
exempt-all-milestones: true
26+
2327
days-before-stale: 90
2428
days-before-pr-stale: 90
2529
days-before-issue-stale: 90
@@ -31,3 +35,16 @@ jobs:
3135
days-before-issue-close: 30
3236
close-pr-message: 'This PR is stale and had no activity for too long - it will now be closed.'
3337
close-issue-message: 'This issue is stale and had no activity for too long - it will now be closed.'
38+
39+
# Handle exempted issues
40+
- uses: actions/stale@v5
41+
with:
42+
43+
days-before-stale: 180
44+
days-before-issue-stale: 180
45+
stale-issue-message: 'This issue had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.'
46+
47+
days-before-close: 30
48+
days-before-pr-close: 30
49+
days-before-issue-close: 30
50+
close-issue-message: 'This issue is stale and had no activity for too long - it will now be closed.'

0 commit comments

Comments
 (0)