Skip to content

Commit 8aaabfc

Browse files
authored
Merge pull request #76 from reviewdog/pinact-action-shellcheck
Pin GitHub Actions with commit SHA using pinact
2 parents 6e0e63d + 675a1df commit 8aaabfc

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/depup.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
reviewdog:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: reviewdog/action-depup/with-pr@v1
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
- uses: reviewdog/action-depup/with-pr@d6b40096afad49ca676145faaba7190df29a9807 # v1.6.3
1515
with:
1616
file: action.yml
1717
version_name: reviewdog_version
@@ -21,8 +21,8 @@ jobs:
2121
shellcheck:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
25-
- uses: reviewdog/action-depup/with-pr@v1
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
- uses: reviewdog/action-depup/with-pr@d6b40096afad49ca676145faaba7190df29a9807 # v1.6.3
2626
with:
2727
file: action.yml
2828
version_name: SHELLCHECK_VERSION

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ jobs:
1414
if: github.event.action != 'labeled'
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818

1919
# Bump version on merging Pull Requests with specific labels.
2020
# (bump:major,bump:minor,bump:patch)
2121
- id: bumpr
2222
if: "!startsWith(github.ref, 'refs/tags/')"
23-
uses: haya14busa/action-bumpr@v1
23+
uses: haya14busa/action-bumpr@78ab5a104d20896c9c9122c64221b3aecf1a8cbb # v1.10.0
2424

2525
# Update corresponding major and minor tag.
2626
# e.g. Update v1 and v1.2 when releasing v1.2.3
27-
- uses: haya14busa/action-update-semver@v1
27+
- uses: haya14busa/action-update-semver@fb48464b2438ae82cc78237be61afb4f461265a1 # v1.2.1
2828
if: "!steps.bumpr.outputs.skip"
2929
with:
3030
tag: ${{ steps.bumpr.outputs.next_version }}
3131

3232
# Get tag name.
3333
- id: tag
34-
uses: haya14busa/action-cond@v1
34+
uses: haya14busa/action-cond@94f77f7a80cd666cb3155084e428254fea4281fd # v1.2.1
3535
with:
3636
cond: "${{ startsWith(github.ref, 'refs/tags/') }}"
3737
if_true: ${{ github.ref }}
@@ -50,6 +50,6 @@ jobs:
5050
if: github.event.action == 'labeled'
5151
runs-on: ubuntu-latest
5252
steps:
53-
- uses: actions/checkout@v4
53+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5454
- name: Post bumpr status comment
55-
uses: haya14busa/action-bumpr@v1
55+
uses: haya14busa/action-bumpr@78ab5a104d20896c9c9122c64221b3aecf1a8cbb # v1.10.0

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
matrix:
99
os: [ubuntu-latest, macos-latest, windows-latest]
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
- name: shellcheck-github-pr-check
1313
uses: ./
1414
with:

.github/workflows/update_semver.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
update-semver:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: haya14busa/action-update-semver@v1
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: haya14busa/action-update-semver@fb48464b2438ae82cc78237be61afb4f461265a1 # v1.2.1
1414
with:
1515
github_token: ${{ secrets.github_token }}

0 commit comments

Comments
 (0)