Skip to content

Commit c0f5e59

Browse files
authored
Upgrade Actions Stale and Upgrade the public stale check (#17871)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
1 parent b094c90 commit c0f5e59

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/allowed-actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = [
1010
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', //actions/labeler@v2.2.0
1111
'actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e', //actions/setup-node@v2.1.4
1212
'ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262', //ruby/setup-ruby@vv1.64.1
13-
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13
13+
'actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da', //actions/stale@v3.0.16
1414
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
1515
'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c',
1616
'cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4
11+
- uses: actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da
1212
with:
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}
1414
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4
12+
- uses: actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
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.'
16-
days-before-stale: 7
17-
days-before-close: 3
16+
days-before-pr-stale: 7
17+
days-before-pr-close: 3
1818
stale-pr-label: 'stale'
1919
exempt-pr-labels: 'waiting for review'
2020
stale_staff:
2121
if: github.repository == 'github/docs'
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4
24+
- uses: actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da
2525
with:
2626
repo-token: ${{ secrets.GITHUB_TOKEN }}
2727
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for review.'
28-
days-before-stale: 14
29-
days-before-close: -1 # Never close
28+
days-before-pr-stale: 14
29+
days-before-pr-close: -1 # Never close
3030
only-labels: 'waiting for review'
3131
# The hope is that by setting the stale-pr-label to the same label
3232
# as the label that the stale check looks for, this will result in

0 commit comments

Comments
 (0)