Skip to content

Commit

Permalink
update workflows according to zizmor suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuf committed Dec 22, 2024
1 parent 33d5c33 commit 7ab7c8d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/image-build-and-publish-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
apps: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dorny/paths-filter@v3
id: filter
with:
Expand All @@ -39,6 +41,8 @@ jobs:
steps:
- name: "[prind] checkout"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "[prind] set up build environment"
uses: ./.github/actions/image-build-common
- name: "[docker] login"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/image-build-and-publish-schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: "[prind] checkout"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "[prind] set up build environment"
uses: ./.github/actions/image-build-common
- name: "[docker] login"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image-build-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
apps: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dorny/paths-filter@v3
id: filter
with:
Expand Down Expand Up @@ -56,6 +58,8 @@ jobs:
steps:
- name: "[prind] checkout"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "[prind] set up build environment"
uses: ./.github/actions/image-build-common
- name: "[prind] build"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image-docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
apps: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dorny/paths-filter@v3
id: filter
with:
Expand All @@ -42,6 +44,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Update Docker Hub Description"
uses: peter-evans/dockerhub-description@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run yamllint
uses: reviewdog/action-yamllint@v1

0 comments on commit 7ab7c8d

Please sign in to comment.