Skip to content

Commit 318467e

Browse files
authored
Merge pull request #19 from bowtie-json-schema/ref-pin-actions
Hash-pin actions related to image creation
2 parents 5e86536 + b86f9b0 commit 318467e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/build-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Build
5656
id: build_image
57-
uses: redhat-actions/buildah-build@v2
57+
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
5858
with:
5959
context: '.'
6060
containerfiles: |
@@ -93,7 +93,7 @@ jobs:
9393
run: echo "current_version=${CURRENT_VERSION}"
9494

9595
- name: Log in to ghcr.io
96-
uses: redhat-actions/podman-login@v1
96+
uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
9797
with:
9898
username: ${{ github.actor }}
9999
password: ${{ github.token }}
@@ -107,7 +107,7 @@ jobs:
107107

108108
- name: Publish
109109
id: push
110-
uses: redhat-actions/push-to-registry@v2
110+
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
111111
with:
112112
image: ${{ steps.build_image.outputs.image }}
113113
tags: ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}

.github/workflows/build-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
- name: Build
5252
id: build_image
53-
uses: redhat-actions/buildah-build@v2
53+
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # 2.13
5454
with:
5555
context: '.'
5656
containerfiles: |
@@ -85,7 +85,7 @@ jobs:
8585
echo "Collected version: $version"
8686
8787
- name: Log in to ghcr.io
88-
uses: redhat-actions/podman-login@v1
88+
uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
8989
with:
9090
username: ${{ github.actor }}
9191
password: ${{ github.token }}
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: Publish
103103
id: push
104-
uses: redhat-actions/push-to-registry@v2
104+
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
105105
with:
106106
image: ${{ steps.build_image.outputs.image }}
107107
tags: ${{ steps.current-version.outputs.value }} ${{ steps.build_image.outputs.tags }}

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
needs: build
100100
runs-on: ubuntu-latest
101101

102-
if: (!cancelled() && github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]')
102+
if: (!cancelled() && github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'github_actions'))
103103

104104
permissions:
105105
contents: write

zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ rules:
33
config:
44
policies:
55
actions/*: ref-pin
6-
"*": ref-pin
6+
bowtie-json-schema/bowtie: ref-pin

0 commit comments

Comments
 (0)