Skip to content

Commit ea88f19

Browse files
authored
Merge pull request #17 from Cysharp/feature/pin_action
ci: Pinning third party GitHub Actions sha
2 parents 19278a8 + cead271 commit ea88f19

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/dependabot.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "weekly" # Check for updates to GitHub Actions every week
8+
ignore:
9+
# I just want update action when major/minor version is updated. patch updates are too noisy.
10+
- dependency-name: '*'
11+
update-types:
12+
- version-update:semver-patch

.github/workflows/build-debug.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
1818
- run: dotnet build -c Debug
1919
- run: dotnet test -c Debug --no-build
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- name: Load secrets
3232
id: op-load-secret
33-
uses: 1password/load-secrets-action@v2
33+
uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
3434
with:
3535
export-env: false
3636
env:
@@ -39,7 +39,7 @@ jobs:
3939
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
4040
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
4141

42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343

4444
# Execute scripts: Export Package
4545
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export

.github/workflows/build-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
timeout-minutes: 10
2828
steps:
2929
- run: echo ${{ needs.update-packagejson.outputs.sha }}
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
with:
3232
ref: ${{ needs.update-packagejson.outputs.sha }}
3333
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- name: Load secrets
5353
id: op-load-secret
54-
uses: 1password/load-secrets-action@v2
54+
uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
5555
with:
5656
export-env: false
5757
env:
@@ -60,7 +60,7 @@ jobs:
6060
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
6161
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
6262

63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6464
with:
6565
ref: ${{ needs.update-packagejson.outputs.sha }}
6666

.github/workflows/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
name: TOC Generator
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: technote-space/toc-generator@v4.3.1
13+
- uses: technote-space/toc-generator@9e238e7974de5fcf7b17b7acc54c896160dda0a3 # v4.3.1
1414
with:
15-
TOC_TITLE: "## Table of Contents"
15+
TOC_TITLE: "## Table of Contents"

0 commit comments

Comments
 (0)