Skip to content

Commit d9983cf

Browse files
authored
Merge pull request #654 from Cysharp/feature/pin_action
ci: Pinning third party GitHub Actions sha
2 parents cc3c70a + 70eb7cd commit d9983cf

File tree

5 files changed

+18
-13
lines changed

5 files changed

+18
-13
lines changed

.github/dependabot.yaml

+5
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

+3-3
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
@@ -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-docs.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 10
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
with:
1717
repository: Cysharp/DocfxTemplate
1818
path: docs/_DocfxTemplate
19-
- uses: Kirbyrawr/docfx-action@master
19+
- uses: Kirbyrawr/docfx-action@db9a22c8fe1e8693a2a21be54cb0b87dfaa72cc4
2020
name: Docfx metadata
2121
with:
2222
args: metadata docs/docfx.json
23-
- uses: Kirbyrawr/docfx-action@master
23+
- uses: Kirbyrawr/docfx-action@db9a22c8fe1e8693a2a21be54cb0b87dfaa72cc4
2424
name: Docfx build
2525
with:
2626
args: build docs/docfx.json
2727
- name: Publish to GitHub Pages
28-
uses: peaceiris/actions-gh-pages@v4
28+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
2929
with:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
publish_dir: docs/_site

.github/workflows/build-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes: 10
2727
steps:
2828
- run: echo ${{ needs.update-packagejson.outputs.sha }}
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
with:
3131
ref: ${{ needs.update-packagejson.outputs.sha }}
3232
- 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:
@@ -61,7 +61,7 @@ jobs:
6161
UNITY_SERIAL: "op://${{ vars.OP_VAULT_ACTIONS_PUBLIC }}/UNITY_LICENSE/serial"
6262

6363
- run: echo ${{ needs.update-packagejson.outputs.sha }}
64-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6565
with:
6666
ref: ${{ needs.update-packagejson.outputs.sha }}
6767
# Execute scripts: Export Package

.github/workflows/toc.yml

+2-2
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/[email protected]
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)