Skip to content

Commit 90957ed

Browse files
authored
Merge pull request #16 from k1LoW/pindeps
fix: pin dependencies
2 parents 1ad702b + 7f28e02 commit 90957ed

5 files changed

Lines changed: 24 additions & 10 deletions

File tree

.github/workflows/integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
- uses: ./
1515
with:
1616
config: testdata/path/to/.octocov.yml
@@ -22,7 +22,7 @@ jobs:
2222
os: [ubuntu-latest, windows-latest, macos-latest]
2323
runs-on: ${{ matrix.os }}
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
- uses: ./
2727
with:
2828
work-dir: testdata/path/to
@@ -34,7 +34,7 @@ jobs:
3434
os: [ubuntu-latest, windows-latest, macos-latest]
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3838
- uses: ./
3939
with:
4040
config: testdata/path/to/.octocov.yml

.github/workflows/tag-v0.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
-
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
with:
1414
ref: docker-action
1515
-
16-
uses: haya14busa/action-update-semver@v1
16+
uses: haya14busa/action-update-semver@fb48464b2438ae82cc78237be61afb4f461265a1 # v1.2.1
1717
with:
1818
major_version_tag_only: true

.github/workflows/tagpr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1414
steps:
1515
- name: Check out source code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717

1818
- id: run-tagpr
1919
name: Run tagpr
20-
uses: Songmu/tagpr@v1
20+
uses: Songmu/tagpr@e89d37247ca73d3e5620bf074a53fbd5b39e66b0 # v1.5.1
2121

22-
- uses: haya14busa/action-update-semver@v1
22+
- uses: haya14busa/action-update-semver@fb48464b2438ae82cc78237be61afb4f461265a1 # v1.2.1
2323
if: "steps.run-tagpr.outputs.tag != ''"
2424
with:
2525
major_version_tag_only: true

.pinact.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/pinact/refs/heads/main/json-schema/pinact.json
2+
# pinact - https://github.com/suzuki-shunsuke/pinact
3+
files:
4+
- pattern: "^\\.github/workflows/.*\\.ya?ml$"
5+
- pattern: "^(.*/)?action\\.ya?ml$"
6+
7+
ignore_actions:
8+
# - name: actions/checkout
9+
# - name: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ inputs:
1212
description: Version of octocov
1313
default: latest
1414
required: false
15+
checksum:
16+
description: Checksum of octocov
17+
default: ''
18+
required: false
1519
check-existence:
1620
description: Check for the existence of an existing octocov
1721
default: 'false'
@@ -39,18 +43,19 @@ runs:
3943
using: 'composite'
4044
steps:
4145
-
42-
uses: k1LoW/gh-setup@v1
46+
uses: k1LoW/gh-setup@e2f12d046abe942ed4e6976980e53e2388238273 # v1.10.0
4347
with:
4448
repo: github.com/k1LoW/octocov
4549
github-token: ${{ inputs.github-token }}
4650
version: ${{ inputs.version }}
4751
bin-dir: ${{ inputs.install-dir }}
4852
bin-match: octocov
53+
checksum: ${{ inputs.checksum }}
4954
strict: true
5055
force: ${{ inputs.check-existence != 'true' }}
5156
-
5257
name: Run octocov
53-
uses: actions/github-script@v7
58+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5459
with:
5560
script: |
5661
const path = require('path');

0 commit comments

Comments
 (0)