Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2d88d3

Browse files
authored
Update all references from v5 and v4 to v6 (#2314)
- Updated README.md examples to reference@v6- Updated all workflow files to use actions/checkout@v6
1 parent1af3b93 commitc2d88d3

File tree

9 files changed

+32
-32
lines changed

9 files changed

+32
-32
lines changed

‎.github/workflows/check-dist.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on:ubuntu-latest
2323

2424
steps:
25-
-uses:actions/checkout@v4.1.6
25+
-uses:actions/checkout@v6
2626

2727
-name:Set Node.js 24.x
2828
uses:actions/setup-node@v4

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
-name:Checkout repository
42-
uses:actions/checkout@v4.1.6
42+
uses:actions/checkout@v6
4343

4444
-name:Initialize CodeQL
4545
uses:github/codeql-action/init@v3

‎.github/workflows/licensed.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
runs-on:ubuntu-latest
1010
name:Check licenses
1111
steps:
12-
-uses:actions/checkout@v4.1.6
12+
-uses:actions/checkout@v6
1313
-run:npm ci
1414
-run:npm run licensed-check

‎.github/workflows/publish-immutable-actions.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
-name:Checking out
17-
uses:actions/checkout@v4
17+
uses:actions/checkout@v6
1818
-name:Publish
1919
id:publish
2020
uses:actions/publish-immutable-action@0.0.3

‎.github/workflows/test.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
-uses:actions/setup-node@v4
2020
with:
2121
node-version:24.x
22-
-uses:actions/checkout@v4.1.6
22+
-uses:actions/checkout@v6
2323
-run:npm ci
2424
-run:npm run build
2525
-run:npm run format-check
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
# Clone this repo
3939
-name:Checkout
40-
uses:actions/checkout@v4.1.6
40+
uses:actions/checkout@v6
4141

4242
# Basic checkout
4343
-name:Checkout basic
@@ -202,7 +202,7 @@ jobs:
202202
steps:
203203
# Clone this repo
204204
-name:Checkout
205-
uses:actions/checkout@v4.1.6
205+
uses:actions/checkout@v6
206206

207207
# Basic checkout using git
208208
-name:Checkout basic
@@ -234,7 +234,7 @@ jobs:
234234
steps:
235235
# Clone this repo
236236
-name:Checkout
237-
uses:actions/checkout@v4.1.6
237+
uses:actions/checkout@v6
238238

239239
# Basic checkout using git
240240
-name:Checkout basic
@@ -264,7 +264,7 @@ jobs:
264264
steps:
265265
# Clone this repo
266266
-name:Checkout
267-
uses:actions/checkout@v4.1.6
267+
uses:actions/checkout@v6
268268
with:
269269
path:localClone
270270

@@ -291,8 +291,8 @@ jobs:
291291
git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main
292292
293293
# needed to make checkout post cleanup succeed
294-
-name:Fix Checkoutv4
295-
uses:actions/checkout@v4.1.6
294+
-name:Fix Checkoutv6
295+
uses:actions/checkout@v6
296296
with:
297297
path:localClone
298298

@@ -301,7 +301,7 @@ jobs:
301301
steps:
302302
# Clone this repo
303303
-name:Checkout
304-
uses:actions/checkout@v4.1.6
304+
uses:actions/checkout@v6
305305
with:
306306
path:actions-checkout
307307

‎.github/workflows/update-main-version.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# Note this update workflow can also be used as a rollback tool.
2424
# For that reason, it's best to pin `actions/checkout` to a known, stable version
2525
# (typically, about two releases back).
26-
-uses:actions/checkout@v4.1.6
26+
-uses:actions/checkout@v6
2727
with:
2828
fetch-depth:0
2929
-name:Git config

‎.github/workflows/update-test-ubuntu-git.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
-name:Checkout repository
29-
uses:actions/checkout@v4
29+
uses:actions/checkout@v6
3030

3131
# Use `docker/login-action` to log in to GHCR.io.
3232
# Once published, the packages are scoped to the account defined here.

‎README.md‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
5151

5252
<!-- start usage-->
5353
```yaml
54-
-uses:actions/checkout@v5
54+
-uses:actions/checkout@v6
5555
with:
5656
# Repository name with owner. For example, actions/checkout
5757
# Default: ${{ github.repository }}
@@ -190,15 +190,15 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
190190
## Fetch only the root files
191191

192192
```yaml
193-
- uses: actions/checkout@v5
193+
- uses: actions/checkout@v6
194194
with:
195195
sparse-checkout: .
196196
```
197197

198198
## Fetch only the root files and `.github` and `src` folder
199199

200200
```yaml
201-
- uses: actions/checkout@v5
201+
- uses: actions/checkout@v6
202202
with:
203203
sparse-checkout: |
204204
.github
@@ -208,7 +208,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
208208
## Fetch only a single file
209209

210210
```yaml
211-
- uses: actions/checkout@v5
211+
- uses: actions/checkout@v6
212212
with:
213213
sparse-checkout: |
214214
README.md
@@ -218,23 +218,23 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
218218
## Fetch all history for all tags and branches
219219

220220
```yaml
221-
- uses: actions/checkout@v5
221+
- uses: actions/checkout@v6
222222
with:
223223
fetch-depth: 0
224224
```
225225

226226
## Checkout a different branch
227227

228228
```yaml
229-
- uses: actions/checkout@v5
229+
- uses: actions/checkout@v6
230230
with:
231231
ref: my-branch
232232
```
233233

234234
## Checkout HEAD^
235235

236236
```yaml
237-
- uses: actions/checkout@v5
237+
- uses: actions/checkout@v6
238238
with:
239239
fetch-depth: 2
240240
- run: git checkout HEAD^
@@ -244,12 +244,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
244244

245245
```yaml
246246
- name: Checkout
247-
uses: actions/checkout@v5
247+
uses: actions/checkout@v6
248248
with:
249249
path: main
250250
251251
- name: Checkout tools repo
252-
uses: actions/checkout@v5
252+
uses: actions/checkout@v6
253253
with:
254254
repository: my-org/my-tools
255255
path: my-tools
@@ -260,10 +260,10 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
260260

261261
```yaml
262262
- name: Checkout
263-
uses: actions/checkout@v5
263+
uses: actions/checkout@v6
264264
265265
- name: Checkout tools repo
266-
uses: actions/checkout@v5
266+
uses: actions/checkout@v6
267267
with:
268268
repository: my-org/my-tools
269269
path: my-tools
@@ -274,12 +274,12 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
274274

275275
```yaml
276276
- name: Checkout
277-
uses: actions/checkout@v5
277+
uses: actions/checkout@v6
278278
with:
279279
path: main
280280
281281
- name: Checkout private tools
282-
uses: actions/checkout@v5
282+
uses: actions/checkout@v6
283283
with:
284284
repository: my-org/my-private-tools
285285
token: ${{ secrets.GH_PAT }} #`GH_PAT` is a secret that contains your PAT
@@ -292,7 +292,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
292292
## Checkout pull request HEAD commit instead of merge commit
293293

294294
```yaml
295-
- uses: actions/checkout@v5
295+
- uses: actions/checkout@v6
296296
with:
297297
ref: ${{ github.event.pull_request.head.sha }}
298298
```
@@ -308,7 +308,7 @@ jobs:
308308
build:
309309
runs-on: ubuntu-latest
310310
steps:
311-
- uses: actions/checkout@v5
311+
- uses: actions/checkout@v6
312312
```
313313

314314
## Push a commit using the built-in token
@@ -319,7 +319,7 @@ jobs:
319319
build:
320320
runs-on: ubuntu-latest
321321
steps:
322-
- uses: actions/checkout@v5
322+
- uses: actions/checkout@v6
323323
- run: |
324324
date > generated.txt
325325
# Note: the following account information will not work on GHES
@@ -341,7 +341,7 @@ jobs:
341341
build:
342342
runs-on: ubuntu-latest
343343
steps:
344-
- uses: actions/checkout@v5
344+
- uses: actions/checkout@v6
345345
with:
346346
ref: ${{ github.head_ref }}
347347
- run: |

‎src/misc/generate-docs.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function updateUsage(
120120
}
121121

122122
updateUsage(
123-
'actions/checkout@v5',
123+
'actions/checkout@v6',
124124
path.join(__dirname,'..','..','action.yml'),
125125
path.join(__dirname,'..','..','README.md')
126126
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp