Skip to content

Commit 71abd87

Browse files
authored
[CI] Use pinned action references (#20577)
It's unsafe to use unpinned action references. See: https://docs.zizmor.sh/audits/#unpinned-uses (note: official github actions can be used unpinned).
1 parent 34e7012 commit 71abd87

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ jobs:
368368
with:
369369
name: sycl_windows_default
370370
- name: Sign with sigstore/cosign
371-
uses: sigstore/gh-action-sigstore-python@v3.1.0
371+
uses: sigstore/gh-action-sigstore-python@f832326173235dcb00dd5d92cd3f353de3188e6c # v3.1.0
372372
with:
373373
inputs: sycl_linux.tar.gz sycl_windows.tar.gz
374374
- name: Compute tag
@@ -381,7 +381,7 @@ jobs:
381381
echo "TAG=$(date +'%Y-%m-%d')-${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
382382
fi
383383
- name: Upload binaries
384-
uses: softprops/action-gh-release@v2.4.1
384+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
385385
with:
386386
files: |
387387
sycl_linux.tar.gz

devops/actions/build_container/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ runs:
2626
using: "composite"
2727
steps:
2828
- name: Login to GitHub Container Registry
29-
uses: docker/login-action@v2
29+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
3030
with:
3131
registry: ghcr.io
3232
username: ${{ inputs.username }}
3333
password: ${{ inputs.password }}
3434
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v3.11.1
35+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3636
- name: Build and Push Container
37-
uses: docker/build-push-action@v6.18.0
37+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
3838
with:
3939
push: ${{ inputs.push }}
4040
tags: ${{ inputs.tags }}

0 commit comments

Comments
 (0)