Skip to content

Commit cb0c7f7

Browse files
authored
Merge pull request #38 from Cysharp/feature/pin_action
ci: Pinning third party GitHub Actions sha
2 parents 5616c97 + f48ae1c commit cb0c7f7

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Load secrets
2323
id: op-load-secret
24-
uses: 1password/load-secrets-action@v2
24+
uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
2525
with:
2626
export-env: false
2727
env:
@@ -30,7 +30,7 @@ jobs:
3030
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
3131
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
3232

33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434

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

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- name: Load secrets
3333
id: op-load-secret
34-
uses: 1password/load-secrets-action@v2
34+
uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
3535
with:
3636
export-env: false
3737
env:
@@ -40,7 +40,7 @@ jobs:
4040
UNITY_PASSWORD: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/credential"
4141
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
4242

43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4444
with:
4545
ref: ${{ needs.update-packagejson.outputs.sha }}
4646
# Execute scripts: Export Package

0 commit comments

Comments
 (0)