Skip to content

Commit d80a70b

Browse files
authored
Set labels for issues closed automatically
1 parent 781466b commit d80a70b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/stale-issues.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
permissions:
2-
contents: write
3-
issues: write
4-
pull-requests: write
5-
actions: write
6-
71
name: 'Close stale issues and PRs'
82
on:
93
workflow_dispatch:
@@ -14,6 +8,12 @@ jobs:
148
stale:
159
name: Close Stale Issues
1610
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
issues: write
14+
pull-requests: write
15+
actions: write
16+
1717
steps:
1818
- uses: actions/stale@v9
1919
with:
@@ -29,4 +29,6 @@ jobs:
2929
exempt-issue-labels: 'awaiting-approval,work-in-progress'
3030
stale-pr-label: 'no-pr-activity'
3131
exempt-pr-labels: 'awaiting-approval,work-in-progress'
32+
close-issue-label: 'issue-closed-automatically'
33+
close-pr-label: 'pr-closed-automatically'
3234
# only-labels: 'awaiting-feedback,awaiting-answers'

0 commit comments

Comments
 (0)