Skip to content

Commit a31a912

Browse files
committed
chore: update stale-repos action to version 2 and checkout action to version 4
1 parent bcf5f84 commit a31a912

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ jobs:
9494
issues: write
9595

9696
steps:
97-
- uses: actions/checkout@v3
97+
- uses: actions/checkout@v4
9898

9999
- name: Run stale_repos tool
100-
uses: github/stale-repos@v1
100+
uses: github/stale-repos@v2
101101
env:
102102
GH_TOKEN: ${{ secrets.GH_TOKEN }}
103103
ORGANIZATION: ${{ secrets.ORGANIZATION }}
@@ -109,7 +109,7 @@ jobs:
109109
# This next step updates an existing issue. If you want a new issue every time, remove this step and remove the `issue-number: ${{ env.issue_number }}` line below.
110110
- name: Check for the stale report issue
111111
run: |
112-
ISSUE_NUMBER=$(gh search issues "Stale repository report" --match title --json number --jq ".[0].number")
112+
ISSUE_NUMBER=$(gh search issues "Stale-repository-report" --match title --json number --jq ".[0].number")
113113
echo "issue_number=$ISSUE_NUMBER" >> "$GITHUB_ENV"
114114
env:
115115
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -161,7 +161,7 @@ jobs:
161161
steps:
162162
- name: Run stale_repos tool
163163
id: stale-repos
164-
uses: github/stale-repos@v1
164+
uses: github/stale-repos@v2
165165
env:
166166
GH_TOKEN: ${{ secrets.GH_TOKEN }}
167167
ORGANIZATION: ${{ secrets.ORGANIZATION }}
@@ -210,7 +210,7 @@ jobs:
210210
org: [org1, org2]
211211
steps:
212212
- name: "run stale-repos"
213-
uses: github/stale-repos@v1
213+
uses: github/stale-repos@v2
214214
env:
215215
GH_TOKEN: ${{ secrets.GH_TOKEN }}
216216
ORGANIZATION: ${{ matrix.org }}
@@ -237,10 +237,10 @@ jobs:
237237
runs-on: ubuntu-latest
238238
239239
steps:
240-
- uses: actions/checkout@v3
240+
- uses: actions/checkout@v4
241241
242242
- name: Run stale_repos tool
243-
uses: github/stale-repos@v1
243+
uses: github/stale-repos@v2
244244
env:
245245
GH_APP_ID: ${{ secrets.GH_APP_ID }}
246246
GH_APP_INSTALLATION_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}

0 commit comments

Comments
 (0)