Skip to content

Commit f81dcbf

Browse files
[Actions] Use commit sha for imported gh actions (apple#1649)
This PR updates the GitHub workflows to ensure all imported actions are referenced by commit SHA. Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
1 parent 8bf87e8 commit f81dcbf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
runs-on: ubuntu-latest
198198
steps:
199199
- name: Setup Pages
200-
uses: actions/configure-pages@v6
200+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
201201

202202
- name: Download a single artifact
203203
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -209,6 +209,6 @@ jobs:
209209
tar xfz _site.tgz
210210
211211
- name: Upload Artifact
212-
uses: actions/upload-pages-artifact@v5
212+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
213213
with:
214214
path: "./_site"

.github/workflows/release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
test -e outputs/container-package/*.pkg || (echo "Missing .pkg file!" && exit 1)
4545
4646
- name: Create release
47-
uses: softprops/action-gh-release@v3
47+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
4848
with:
4949
token: ${{ github.token }}
5050
name: ${{ github.ref_name }}-prerelease

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
test -e outputs/container-package/*.pkg || (echo "Missing .pkg file!" && exit 1)
4545
4646
- name: Create release
47-
uses: softprops/action-gh-release@v3
47+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
4848
with:
4949
token: ${{ github.token }}
5050
name: ${{ github.ref_name }}-prerelease

0 commit comments

Comments
 (0)