Skip to content

Commit fa3272d

Browse files
Cirrasfourls
authored andcommitted
Pin mutable actions to a specific commit instead of using tags
Prompted by CodeQL alerts for `actions/unpinned-tag`.
1 parent c4e525f commit fa3272d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: axel-op/googlejavaformat-action@v3
21+
- uses: axel-op/googlejavaformat-action@c1134ebd196c4cbffb077f9476585b0be8b6afcd # v4.0.0
2222
with:
23-
version: v1.19.2
23+
release-name: v1.19.2
2424
args: "--set-exit-if-changed --dry-run"

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
run: echo "version-without-v=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
3737
- name: Get changelog release info
3838
id: changelog
39-
uses: release-flow/keep-a-changelog-action@v3
39+
uses: release-flow/keep-a-changelog-action@74931dec7ecdbfc8e38ac9ae7e8dd84c08db2f32 # v3.0.0
4040
with:
4141
command: query
4242
version: ${{ steps.get-version.outputs.version-without-v }}
4343
- name: Create GitHub Release
44-
uses: softprops/action-gh-release@v1
44+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
4545
with:
4646
name: ${{ steps.changelog.outputs.version }}
4747
body: ${{ steps.changelog.outputs.release-notes }}

0 commit comments

Comments
 (0)