Skip to content

Commit 7e82fd5

Browse files
committed
Pin third-party GitHub actions
1 parent 957cf4b commit 7e82fd5

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/depup.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
reviewdog:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: haya14busa/action-depup@v1
12+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
13+
- uses: haya14busa/action-depup@94a1aaf4e4923064019214b48a43276218af7ad5 # v1.6.4
1414
id: depup
1515
with:
1616
file: Dockerfile
1717
version_name: REVIEWDOG_VERSION
1818
repo: reviewdog/reviewdog
1919

2020
- name: Create Pull Request
21-
uses: peter-evans/create-pull-request@v2
21+
uses: peter-evans/create-pull-request@4d3b0a48efaa29be1a91dbe756c93798daf406d5 # v2.8.1
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
title: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}"

.github/workflows/release.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ jobs:
1414
if: github.event.action != 'labeled'
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
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 }}
3838
if_false: ${{ steps.bumpr.outputs.next_version }}
3939

4040
# Create release.
41-
- uses: actions/create-release@v1
41+
- uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
4242
if: "steps.tag.outputs.value != ''"
4343
env:
4444
# This token is provided by Actions, you do not need to create your own token
@@ -54,6 +54,6 @@ jobs:
5454
if: github.event.action == 'labeled'
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
5858
- name: Post bumpr status comment
59-
uses: haya14busa/action-bumpr@v1
59+
uses: haya14busa/action-bumpr@78ab5a104d20896c9c9122c64221b3aecf1a8cbb # v1.10.0

.github/workflows/reviewdog.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
name: runner / shellcheck
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: haya14busa/action-cond@v1
12+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
13+
- uses: haya14busa/action-cond@94f77f7a80cd666cb3155084e428254fea4281fd # v1.2.1
1414
id: reporter
1515
with:
1616
cond: ${{ github.event_name == 'pull_request' }}
1717
if_true: "github-pr-review"
1818
if_false: "github-check"
19-
- uses: reviewdog/action-shellcheck@v1
19+
- uses: reviewdog/action-shellcheck@5ebd09ddbe2ebb471646ce234c6c8dd18663ca7c # v1.30.0
2020
with:
2121
github_token: ${{ secrets.github_token }}
2222
reporter: ${{ steps.reporter.outputs.value }}
@@ -26,8 +26,8 @@ jobs:
2626
name: runner / misspell
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
30-
- uses: reviewdog/action-misspell@v1
29+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
30+
- uses: reviewdog/action-misspell@9daa94af4357dddb6fd3775de806bc0a8e98d3e4 # v1.26.3
3131
with:
3232
github_token: ${{ secrets.github_token }}
3333
reporter: github-check

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ jobs:
55
name: runner / haml-lint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- uses: ruby/setup-ruby@v1
8+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
9+
- uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
1010
with:
1111
ruby-version: 3.1
1212
bundler-cache: true
@@ -38,4 +38,4 @@ jobs:
3838
reporter: github-pr-review
3939
level: error
4040
haml_lint_flags: -c ./testdata/.haml-lint.yml
41-
rubocop_version: 1.31.2
41+
rubocop_version: 1.31.2

0 commit comments

Comments
 (0)