Skip to content

Commit b23a638

Browse files
authored
Merge pull request #13 from Cysharp/feature/pin_action
ci: Pinning third party GitHub Actions sha
2 parents b8068fc + 3dc56b4 commit b23a638

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
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-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Build and run tests
1414
runs-on: ubuntu-latest
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 tool restore
1919
- run: dotnet build -c Debug -p:DefineConstants=RUNNING_IN_CI
@@ -30,7 +30,7 @@ jobs:
3030
needs: [ build-debug ]
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
3535
- run: dotnet tool restore
3636
- run: dotnet build -c Release -p:DefineConstants=RUNNING_IN_CI

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build-dotnet:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
2121
- run: dotnet tool restore
2222
- run: dotnet build -c Release -p:VersionPrefix=${{ inputs.tag }} -p:DefineConstants=RUNNING_IN_CI

0 commit comments

Comments
 (0)