Skip to content

Commit 86c425f

Browse files
authored
chore: bump action versions in README examples and docker image to v9 (#437)
## What Updated all GitHub Action version references in README.md examples and the Docker image tag in action.yml to their latest major versions. ## Why The documented examples and action definition referenced outdated action versions. Bumping to current versions ensures users get security fixes, performance improvements, and new features from upstream dependencies. ## Notes - `actions/checkout` bumped from v4 to v6 with `persist-credentials: false` added for security hardening - `peter-evans/create-issue-from-file` bumped from v5 to v6 - `actions/github-script` bumped from v6 to v8 - The `action.yml` Docker image tag change from v7 to v9 means this is a breaking release boundary — consumers pinned to v7 will not pick up this change until they update their workflow references Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent 4e4111c commit 86c425f

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,12 @@ jobs:
105105
issues: write
106106
107107
steps:
108-
- uses: actions/checkout@v4
108+
- uses: actions/checkout@v6
109+
with:
110+
persist-credentials: false
109111
110112
- name: Run stale_repos tool
111-
uses: github-community-projects/stale-repos@v7
113+
uses: github-community-projects/stale-repos@v9
112114
env:
113115
GH_TOKEN: ${{ secrets.GH_TOKEN }}
114116
ORGANIZATION: ${{ secrets.ORGANIZATION }}
@@ -126,7 +128,7 @@ jobs:
126128
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127129
128130
- name: Create issue
129-
uses: peter-evans/create-issue-from-file@v5
131+
uses: peter-evans/create-issue-from-file@v6
130132
with:
131133
issue-number: ${{ env.issue_number }}
132134
title: Stale-repository-report
@@ -157,7 +159,7 @@ jobs:
157159
158160
steps:
159161
- name: Run stale_repos tool
160-
uses: github-community-projects/stale-repos@v7
162+
uses: github-community-projects/stale-repos@v9
161163
env:
162164
GH_TOKEN: ${{ secrets.GH_TOKEN }}
163165
ORGANIZATION: ${{ secrets.ORGANIZATION }}
@@ -206,7 +208,7 @@ jobs:
206208
steps:
207209
- name: Run stale_repos tool
208210
id: stale-repos
209-
uses: github-community-projects/stale-repos@v7
211+
uses: github-community-projects/stale-repos@v9
210212
env:
211213
GH_TOKEN: ${{ secrets.GH_TOKEN }}
212214
ORGANIZATION: ${{ secrets.ORGANIZATION }}
@@ -216,7 +218,7 @@ jobs:
216218
217219
- name: Print output of stale_repos tool
218220
run: echo "${{ steps.stale-repos.outputs.inactiveRepos }}"
219-
- uses: actions/github-script@v6
221+
- uses: actions/github-script@v8
220222
with:
221223
script: |
222224
const repos = ${{ steps.stale-repos.outputs.inactiveRepos }}
@@ -255,7 +257,7 @@ jobs:
255257
org: [org1, org2]
256258
steps:
257259
- name: "run stale-repos"
258-
uses: github-community-projects/stale-repos@v7
260+
uses: github-community-projects/stale-repos@v9
259261
env:
260262
GH_TOKEN: ${{ secrets.GH_TOKEN }}
261263
ORGANIZATION: ${{ matrix.org }}
@@ -282,10 +284,12 @@ jobs:
282284
runs-on: ubuntu-latest
283285
284286
steps:
285-
- uses: actions/checkout@v4
287+
- uses: actions/checkout@v6
288+
with:
289+
persist-credentials: false
286290
287291
- name: Run stale_repos tool
288-
uses: github-community-projects/stale-repos@v7
292+
uses: github-community-projects/stale-repos@v9
289293
env:
290294
GH_APP_ID: ${{ secrets.GH_APP_ID }}
291295
GH_APP_INSTALLATION_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ outputs:
77
description: "Inactive Repos in the organization"
88
runs:
99
using: "docker"
10-
image: "docker://ghcr.io/github-community-projects/stale_repos:v7"
10+
image: "docker://ghcr.io/github-community-projects/stale_repos:v9"
1111
branding:
1212
icon: "check-square"
1313
color: "white"

0 commit comments

Comments
 (0)