Skip to content

Commit fd4f2b1

Browse files
caxu-rhacornett21
authored andcommitted
Pin all referenced GHA actions
Signed-off-by: Caleb Xu <caxu@redhat.com>
1 parent be6b6ac commit fd4f2b1

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build-main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
platform: [linux]
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2020
with:
2121
persist-credentials: false
2222
# Get tags and all history in order to find latest tag in later step
@@ -30,11 +30,11 @@ jobs:
3030
run: echo SHA_SHORT=$(git rev-parse --short HEAD) >> $GITHUB_ENV
3131

3232
- name: Set up QEMU
33-
uses: docker/setup-qemu-action@v4
33+
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
3434

3535
- name: Build Image
3636
id: build-image
37-
uses: redhat-actions/buildah-build@v2
37+
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
3838
with:
3939
image: ${{ secrets.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
4040
# TODO: If we end up releasing for other architectures we'll need the below
@@ -50,7 +50,7 @@ jobs:
5050
5151
- name: Push Image
5252
id: push-image
53-
uses: redhat-actions/push-to-registry@v2
53+
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
5454
with:
5555
image: ${{ env.IMAGE_NAME }}
5656
# TODO: If we end up releasing for other architectures we'll need the below
@@ -70,13 +70,13 @@ jobs:
7070
build-coverage:
7171
runs-on: ubuntu-latest
7272
steps:
73-
- uses: actions/checkout@v6
73+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7474

7575
- name: Install system deps
7676
run: 'sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev'
7777

7878
- name: Set up Go
79-
uses: actions/setup-go@v6
79+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
8080
with:
8181
go-version-file: go.mod
8282

.github/workflows/build-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
platform: [linux]
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2323
- name: Set Env Tags
2424
run: echo RELEASE_TAG=$(echo $GITHUB_REF | cut -d '/' -f 3) >> $GITHUB_ENV
2525

2626
- name: Set up QEMU
27-
uses: docker/setup-qemu-action@v4
27+
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
2828

2929
- name: Build Image
3030
id: build-image
31-
uses: redhat-actions/buildah-build@v2
31+
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
3232
with:
3333
image: ${{ secrets.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
3434
# TODO: If we end up releasing for other architectures we'll need the below
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Push Image
4545
id: push-image
46-
uses: redhat-actions/push-to-registry@v2
46+
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
4747
with:
4848
image: ${{ env.IMAGE_NAME }}
4949
# TODO: If we end up releasing for other architectures we'll need the below

.github/workflows/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: 'Checkout Repository'
12-
uses: actions/checkout@v6
12+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1313
- name: 'Dependency Review'
14-
uses: actions/dependency-review-action@v5
14+
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1414

1515
- name: Install system deps
1616
run: 'sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev'
1717

1818
- name: Set up Go
19-
uses: actions/setup-go@v6
19+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2020
with:
2121
go-version-file: go.mod
2222

0 commit comments

Comments
 (0)