Skip to content

Commit d814bed

Browse files
Copilotshenxianpeng
andcommitted
Add version comments to actions/checkout references
Co-authored-by: shenxianpeng <[email protected]>
1 parent 88ee13b commit d814bed

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
cpp-linter:
1414
runs-on: ubuntu-latest
1515
steps:
16+
# v6.0.0
1617
- uses: actions/checkout@v6
1718
- uses: cpp-linter/cpp-linter-action@main
1819
id: linter

.github/workflows/examples/only-PR-comments.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
permissions: # (1)!
1414
pull-requests: write
1515
steps:
16+
# v5.0.1
1617
- uses: actions/checkout@v5
1718

1819
# ... optionally setup build env to create a compilation database

.github/workflows/examples/only-clang-format.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
cpp-linter:
1212
runs-on: ubuntu-latest
1313
steps:
14+
# v5.0.1
1415
- uses: actions/checkout@v5
1516

1617
# ... optionally setup build env to create a compilation database

.github/workflows/examples/only-clang-tidy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
cpp-linter:
1212
runs-on: ubuntu-latest
1313
steps:
14+
# v5.0.1
1415
- uses: actions/checkout@v5
1516

1617
# ... optionally setup build env to create a compilation database

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
re-tag:
2323
runs-on: ubuntu-latest
2424
steps:
25+
# v6.0.0
2526
- uses: actions/checkout@v6
2627
with:
2728
fetch-depth: 0

.github/workflows/self-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
runs-on: ${{ matrix.os }}
4040
steps:
4141
- name: Checkout
42+
# v6.0.0
4243
uses: actions/checkout@v6
4344

4445
- name: Cache the build artifacts

0 commit comments

Comments
 (0)