Skip to content

Commit 994187d

Browse files
committed
Pin SHA of third-party GitHub Actions
The full-version Git tags used by Actions are mutable (as seen in recent events in the wider GitHub Actions community), so pinning third-party Actions to a SHA is recommended: https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions The version tag has been added after the pin as a comment (as a readability aid) in a format that Dependabot will keep up to date: dependabot/dependabot-core#4691 I've also enabled Dependabot grouping for GitHub Actions updates to reduce PR noise. GUS-W-18051077.
1 parent bc1cc4d commit 994187d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/dependabot.yml

+5
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ updates:
3434
labels:
3535
- "dependencies"
3636
- "skip changelog"
37+
groups:
38+
github-actions:
39+
update-types:
40+
- "minor"
41+
- "patch"

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Update Rust toolchain
7171
run: rustup update
7272
- name: Rust Cache
73-
uses: Swatinem/[email protected]
73+
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
7474
with:
7575
workspaces: "./integration-test"
7676
- uses: actions/download-artifact@v4
@@ -87,7 +87,7 @@ jobs:
8787
- name: Update Rust toolchain
8888
run: rustup update
8989
- name: Rust Cache
90-
uses: Swatinem/[email protected]
90+
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
9191
with:
9292
workspaces: "./integration-test"
9393
- name: Clippy

.github/workflows/prepare-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Create pull request
6060
id: pr
61-
uses: peter-evans/[email protected].6
61+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
6262
with:
6363
token: ${{ steps.generate-token.outputs.token }}
6464
title: Prepare release v${{ steps.new-version.outputs.version }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
7474

7575
- name: Create GitHub Release
76-
uses: softprops/[email protected]
76+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
7777
with:
7878
token: ${{ steps.generate-token.outputs.token }}
7979
tag_name: v${{ steps.new-version.outputs.version }}
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Create pull request
9090
id: pr
91-
uses: peter-evans/[email protected].6
91+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
9292
with:
9393
token: ${{ steps.generate-token.outputs.token }}
9494
title: Prepare next development iteration ${{ steps.next-version.outputs.version }}

0 commit comments

Comments
 (0)