Skip to content

Commit 9a28b1b

Browse files
committed
ci: pin actions to commit SHAs in composite actions
1 parent c79059a commit 9a28b1b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/actions/cargo-build-macos-binary/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
steps:
1616
- run: echo "ASSET_FULL_NAME=quickwit-${{ inputs.version }}-${{ inputs.target }}" >> $GITHUB_ENV
1717
shell: bash
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1919
with:
2020
node-version: 20
2121
cache: "yarn"
@@ -54,13 +54,13 @@ runs:
5454
BINARY_VERSION=${{ inputs.version }} ARCHIVE_NAME=${{ env.ASSET_FULL_NAME }}
5555
shell: bash
5656
- name: Save binary archive for three days
57-
uses: actions/upload-artifact@v4.4.0
57+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5858
with:
5959
name: ${{ env.ASSET_FULL_NAME }}.tar.gz
6060
path: ./${{ env.ASSET_FULL_NAME }}.tar.gz
6161
retention-days: 3
6262
- name: Deploy archive to GitHub release
63-
uses: quickwit-inc/upload-to-github-release@v1
63+
uses: quickwit-inc/upload-to-github-release@98857380fc282f8075a62c6af230fe92bd93aff8 # v1.3.2
6464
env:
6565
GITHUB_TOKEN: ${{ inputs.token }}
6666
with:

.github/actions/cross-build-binary/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
steps:
1616
- run: echo "ASSET_FULL_NAME=quickwit-${{ inputs.version }}-${{ inputs.target }}" >> $GITHUB_ENV
1717
shell: bash
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1919
with:
2020
node-version: 20
2121
cache: "yarn"
@@ -50,13 +50,13 @@ runs:
5050
BINARY_VERSION=${{ inputs.version }} ARCHIVE_NAME=${{ env.ASSET_FULL_NAME }}
5151
shell: bash
5252
- name: Save binary archive for three days
53-
uses: actions/upload-artifact@v4.4.0
53+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5454
with:
5555
name: ${{ env.ASSET_FULL_NAME }}.tar.gz
5656
path: ./${{ env.ASSET_FULL_NAME }}.tar.gz
5757
retention-days: 3
5858
- name: Upload archive
59-
uses: quickwit-inc/upload-to-github-release@v1
59+
uses: quickwit-inc/upload-to-github-release@98857380fc282f8075a62c6af230fe92bd93aff8 # v1.3.2
6060
env:
6161
GITHUB_TOKEN: ${{ inputs.token }}
6262
with:

0 commit comments

Comments
 (0)