Skip to content

Commit bd997ff

Browse files
Adding new workflow for labeling issues without response (#1212)
1 parent 728c5ec commit bd997ff

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/git-hygiene.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ jobs:
2929
stale-pr-message: |
3030
Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests.
3131
debug-only: true
32+
ascending: true
3233
exempt-all-milestones: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Label issues with no response"
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 */3 * * *"
7+
8+
jobs:
9+
cleanup:
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
runs-on: ubuntu-latest
14+
name: Stale issue job
15+
steps:
16+
- uses: actions/stale@v4
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
days-before-stale: 5
20+
days-before-close: -1
21+
exempt-issue-labels: 'needs-triage'
22+
exempt-pr-labels: 'needs-triage'
23+
stale-issue-label: 'needs-triage'
24+
operations-per-run: 250
25+
enable-statistics: true
26+
stale-issue-message: |
27+
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.
28+
stale-pr-label: 'closing-soon'
29+
stale-pr-message: |
30+
Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests.
31+
debug-only: true
32+
exempt-all-milestones: true

0 commit comments

Comments
 (0)