Skip to content

Commit 746a31e

Browse files
authored
build(workflow): add more stale exemption labels (#1435)
New exemption labels: - planning - in progress
1 parent c45e031 commit 746a31e

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/stale.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ permissions:
88
issues: write
99
pull-requests: write
1010

11+
env:
12+
STALE_LABEL: stale
13+
EXEMPT_LABELS: "pending,planning,in progress"
14+
MESSAGE: >
15+
This conversation has been automatically marked as stale because it has not had recent activity.
16+
It will be closed if no further activity occurs.
17+
Thank you for your contributions.
18+
1119
jobs:
1220
stale:
1321
runs-on: ubuntu-latest
@@ -16,15 +24,9 @@ jobs:
1624
with:
1725
days-before-stale: 30
1826
days-before-close: 1
19-
stale-issue-label: stale
20-
exempt-issue-labels: pending
21-
stale-issue-message: >
22-
This issue has been automatically marked as stale because it has not had recent activity.
23-
It will be closed if no further activity occurs.
24-
Thank you for your contributions.
25-
stale-pr-label: stale
26-
exempt-pr-labels: pending
27-
stale-pr-message: >
28-
This PR has been automatically marked as stale because it has not had recent activity.
29-
It will be closed if no further activity occurs.
30-
Thank you for your contributions.
27+
stale-issue-label: ${{ env.STALE_LABEL }}
28+
exempt-issue-labels: ${{ env.EXEMPT_LABELS }}
29+
stale-issue-message: ${{ env.MESSAGE }}
30+
stale-pr-label: ${{ env.STALE_LABEL }}
31+
exempt-pr-labels: ${{ env.EXEMPT_LABELS }}
32+
stale-pr-message: ${{ env.MESSAGE }}

0 commit comments

Comments
 (0)