Skip to content

Commit 6c39e50

Browse files
authored
feat: add label to ignore stale (#1099)
1 parent 53a3697 commit 6c39e50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
env:
1212
DAYS_BEFORE_PR_STALE: 7
1313
DAYS_BEFORE_PR_CLOSE: 7
14+
EXEMPT_PR_LABELS: "ignore-stale"
1415

1516
permissions:
1617
issues: write
@@ -30,6 +31,7 @@ jobs:
3031
close-pr-message: "This PR was closed automatically because it has been stalled for ${{ env.DAYS_BEFORE_PR_CLOSE }} days with no activity. Feel free to re-open it at any time."
3132
days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}
3233
days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }}
34+
exempt-pr-labels: ${{ env.EXEMPT_PR_LABELS }}
3335
# never mark issues as stale or close them
3436
days-before-issue-stale: -1
3537
days-before-issue-close: -1

0 commit comments

Comments
 (0)