Skip to content

Commit c630c77

Browse files
authored
improve stale issue action (#2957)
- automatically remove the stale label when the issue is updated - don't mark issues with certain labels as stale
1 parent 52993c6 commit c630c77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/stale.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/stale@v1
13+
- uses: actions/stale@v3
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.'
1717
stale-issue-label: 'no-issue-activity'
18+
exempt-issue-labels: ['Bug', 'Feature Request', 'persistent']
19+
remove-stale-when-updated: true
1820
days-before-stale: 90
1921
days-before-close: 7

0 commit comments

Comments
 (0)