Skip to content

Commit ae4675c

Browse files
Improve triage stale workflows on docs repo (#22923)
* Update 60-days-stale-check.yml * Update triage-stale-check.yml Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
1 parent 52941ee commit ae4675c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/60-days-stale-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
only-labels: 'engineering,Triaged,Improve existing docs,Core,Ecosystem'
2424
stale-issue-label: 'stale'
2525
stale-pr-label: 'stale'
26-
exempt-pr-labels: 'never-stale'
26+
exempt-pr-labels: 'never-stale,waiting for review'
2727
exempt-issue-labels: 'never-stale,help wanted,waiting for review'

.github/workflows/triage-stale-check.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ name: Public Repo Stale Check
77
on:
88
schedule:
99
- cron: '45 16 * * *' # Run each day at 16:45 UTC / 8:45 PST
10+
11+
permissions:
12+
issues: write
13+
pull-requests: write
1014

1115
jobs:
1216
stale_contributor:
@@ -17,11 +21,15 @@ jobs:
1721
- uses: actions/stale@cdf15f641adb27a71842045a94023bef6945e3aa
1822
with:
1923
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
stale-issue-message: 'A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.'
25+
days-before-issue-stale: 60
26+
days-before-issue-close: 3
27+
exempt-issue-labels: 'help wanted,waiting for review'
2028
stale-pr-message: 'A stale label has been added to this pull request because it has been open 7 days with no activity. To keep this PR open, add a comment or push a commit within 3 days.'
2129
days-before-pr-stale: 7
2230
days-before-pr-close: 3
2331
stale-pr-label: 'stale'
24-
exempt-pr-labels: 'waiting for review,never-stale, ready to merge'
32+
exempt-pr-labels: 'waiting for review,never-stale,ready to merge'
2533
stale_staff:
2634
if: github.repository == 'github/docs'
2735
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)