Skip to content

Commit 2954be4

Browse files
authored
Merge pull request #73 from reviewdog/pinact-action-markdownlint
Pin GitHub Actions with commit SHA using pinact
2 parents f901468 + 8f14d91 commit 2954be4

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/depup.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
markdownlint-cli:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: haya14busa/action-depup@v1
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
- uses: haya14busa/action-depup@d6b40096afad49ca676145faaba7190df29a9807 # v1.6.3
1515
id: depup
1616
with:
1717
file: Dockerfile
1818
version_name: MARKDOWNLINT_CLI_VERSION
1919
repo: igorshubovych/markdownlint-cli
2020

2121
- name: Create Pull Request
22-
uses: peter-evans/create-pull-request@v6
22+
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
2323
with:
2424
token: ${{ secrets.GITHUB_TOKEN }}
2525
title: "chore(deps): update markdownlint-cli to ${{ steps.depup.outputs.latest }}"
@@ -36,16 +36,16 @@ jobs:
3636
reviewdog:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v4
40-
- uses: haya14busa/action-depup@v1
39+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40+
- uses: haya14busa/action-depup@d6b40096afad49ca676145faaba7190df29a9807 # v1.6.3
4141
id: depup
4242
with:
4343
file: Dockerfile
4444
version_name: REVIEWDOG_VERSION
4545
repo: reviewdog/reviewdog
4646

4747
- name: Create Pull Request
48-
uses: peter-evans/create-pull-request@v6
48+
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}
5151
title: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}"

.github/workflows/dockerimage.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

1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
- name: Build the Docker image
1414
run: docker build --file Dockerfile --tag action-markdownlint:$(date +%s) .

.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
@@ -5,7 +5,7 @@ jobs:
55
name: runner / markdownlint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99
- name: markdownlint-github-check
1010
uses: ./
1111
with:

0 commit comments

Comments
 (0)