Skip to content

Commit f080f19

Browse files
Copilotrbtr
andauthored
Fix stale workflow to never close issues and ignore dependabot PRs (#3717)
* Initial plan for issue * Update stale workflow to fix issues with dependabot PRs and issue closing Co-authored-by: rbtr <[email protected]> * Fix stale workflow to properly disable issue closing while keeping PR closing Co-authored-by: rbtr <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rbtr <[email protected]>
1 parent 8fd1503 commit f080f19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/stale.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
id: stale
1717
with:
1818
ascending: true
19-
close-issue-message: 'Issue closed due to inactivity.'
2019
close-pr-message: 'Pull request closed due to inactivity.'
21-
days-before-close: 7
2220
days-before-stale: 14
21+
days-before-issue-close: -1
22+
days-before-pr-close: 7
2323
delete-branch: true
2424
exempt-issue-labels: 'exempt-stale'
25+
exempt-pr-labels: 'exempt-stale,dependencies,ci'
2526
operations-per-run: 100
26-
stale-issue-message: 'This issue is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days'
27+
stale-issue-message: 'This issue is stale because it has been open for 2 weeks with no activity. Remove stale label or comment to keep it open.'
2728
stale-pr-message: 'This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days'
2829
- name: Print outputs
2930
run: echo ${{ join(steps.stale.outputs.*, ',') }}

0 commit comments

Comments
 (0)