Skip to content

Commit 9f37fe0

Browse files
authored
Merge pull request #21 from tmetsch/fix/zizmor_based_ci_fixes
Fixes based on zizmor scan results
2 parents d2fedef + 7d7b656 commit 9f37fe0

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
analyze:
1111
name: Analyze (${{ matrix.language }})
12-
runs-on: ${{ 'ubuntu-latest' }}
12+
runs-on: ubuntu-latest
1313
permissions:
1414
security-events: write
1515
packages: read
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
31+
with:
32+
persist-credentials: false
3133
- name: Initialize CodeQL
3234
uses: github/codeql-action/init@v3
3335
with:

.github/workflows/sca.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
1517
- run: |
1618
wget -q https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz
1719
tar -xvf shellcheck-stable.linux.x86_64.tar.xz
@@ -22,12 +24,16 @@ jobs:
2224
name: Hadolint
2325
steps:
2426
- uses: actions/checkout@v4
27+
with:
28+
persist-credentials: false
2529
- run: wget -q https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 -O hadolint; chmod +x hadolint ; find . -type f \( -name "Dockerfile*" \) -print0 | xargs -n 1 -0 ./hadolint ;
2630
gofmt-imports:
2731
runs-on: ubuntu-latest
2832
name: Go Fmt and Go Import
2933
steps:
3034
- uses: actions/checkout@v4
35+
with:
36+
persist-credentials: false
3137
- uses: actions/setup-go@v5
3238
with:
3339
go-version-file: 'go.mod'
@@ -42,6 +48,8 @@ jobs:
4248
name: lint
4349
steps:
4450
- uses: actions/checkout@v4
51+
with:
52+
persist-credentials: false
4553
- uses: actions/setup-go@v5
4654
with:
4755
go-version-file: 'go.mod'

.github/workflows/test-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
1416
- name: Set up Go
1517
uses: actions/setup-go@v5
1618
with:
@@ -21,6 +23,8 @@ jobs:
2123
runs-on: ubuntu-latest
2224
steps:
2325
- uses: actions/checkout@v4
26+
with:
27+
persist-credentials: false
2428
- name: Set up Go
2529
uses: actions/setup-go@v5
2630
with:
@@ -31,6 +35,8 @@ jobs:
3135
runs-on: ubuntu-latest
3236
steps:
3337
- uses: actions/checkout@v4
38+
with:
39+
persist-credentials: false
3440
- name: Set up Go
3541
uses: actions/setup-go@v5
3642
with:

0 commit comments

Comments
 (0)