Skip to content

Commit 7394aa0

Browse files
committed
Use commit sha-1 for pinning untrusted GitHub actions to a version.
Signed-off-by: Roland Grunberg <[email protected]>
1 parent 825823c commit 7394aa0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/native-image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
key: ${{ runner.os }}-graalvm-${{env.GRAALVM_VERSION}}
4141
restore-keys: |
4242
${{ runner.os }}-graalvm-
43-
- uses: DeLaGuardo/setup-graalvm@5.0
43+
- uses: DeLaGuardo/setup-graalvm@48f2bf339ab7d35e31029b1822a213681fdfc42e #v5.0
4444
with:
4545
graalvm: ${{env.GRAALVM_VERSION}}
4646
java: ${{env.GRAALVM_JAVA}}
@@ -80,8 +80,8 @@
8080
key: ${{ runner.os }}-graalvm-${{env.GRAALVM_VERSION}}
8181
restore-keys: |
8282
${{ runner.os }}-graalvm-
83-
- uses: ilammy/msvc-dev-cmd@v1.10.0
84-
- uses: DeLaGuardo/setup-graalvm@5.0
83+
- uses: ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d #v1.12.0
84+
- uses: DeLaGuardo/setup-graalvm@48f2bf339ab7d35e31029b1822a213681fdfc42e #v5.0
8585
with:
8686
graalvm: ${{env.GRAALVM_VERSION}}
8787
java: ${{env.GRAALVM_JAVA}}
@@ -115,7 +115,7 @@
115115
run: for f in lemminx-linux lemminx-osx-x86_64 lemminx-win32; do pushd ${f} && chmod u+x ${f}* && zip ../${f}.zip ${f}* && sha256sum ${f}* > ../${f}.sha256 && popd; done
116116
- name: Release Binary Artifacts
117117
if: steps.cache-last-commit.outputs.cache-hit != 'true'
118-
uses: "marvinpinto/action-automatic-releases@latest"
118+
uses: marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0 #v1.2.1
119119
with:
120120
repo_token: "${{ secrets.GITHUB_TOKEN }}"
121121
automatic_release_tag: "latest"

0 commit comments

Comments
 (0)