Skip to content

Commit b34d99d

Browse files
authored
fix remaining zizmor fixes (#2617)
Signed-off-by: Bob Callaway <[email protected]>
1 parent e032725 commit b34d99d

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
tags:
2525
- '*'
2626

27+
permissions:
28+
contents: read
29+
2730
jobs:
2831
build:
2932
name: build
@@ -46,6 +49,7 @@ jobs:
4649
with:
4750
go-version: ${{ env.GOVERSION }}
4851
check-latest: true
52+
cache: false
4953

5054
- name: deps
5155
run: sudo apt-get update && sudo apt-get install -yq libpcsclite-dev

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ on:
2727
schedule:
2828
- cron: '45 10 * * 1'
2929

30+
permissions:
31+
contents: read
32+
3033
jobs:
3134
analyze:
3235
name: Analyze
@@ -53,6 +56,7 @@ jobs:
5356
with:
5457
go-version: ${{ env.GOVERSION }}
5558
check-latest: true
59+
cache: false
5660

5761
# Initializes the CodeQL tools for scanning.
5862
- name: Initialize CodeQL

.github/workflows/cut-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818

1919
concurrency: cut-release
2020

21+
permissions: {}
22+
2123
jobs:
2224
cut-release:
2325
name: Cut release

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ permissions:
3030

3131
jobs:
3232
build:
33+
name: Build
3334
runs-on: ubuntu-latest
3435

3536
steps:
@@ -41,6 +42,7 @@ jobs:
4142
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4243
with:
4344
go-version: ${{ env.GOVERSION }}
45+
cache: false
4446

4547
- name: Build
4648
run: make -C $GITHUB_WORKSPACE all
@@ -56,6 +58,7 @@ jobs:
5658
run: git update-index --refresh && git diff-index --quiet HEAD -- || git diff --exit-code
5759

5860
container-build:
61+
name: Container Build
5962
runs-on: ubuntu-latest
6063
steps:
6164
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -66,6 +69,7 @@ jobs:
6669
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
6770
with:
6871
go-version: ${{ env.GOVERSION }}
72+
cache: false
6973

7074
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9
7175

@@ -77,6 +81,7 @@ jobs:
7781
docker run --rm $(cat indexImagerefs) --version
7882
7983
e2e:
84+
name: E2E Tests
8085
runs-on: ubuntu-latest
8186
needs: build
8287

@@ -95,6 +100,7 @@ jobs:
95100
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
96101
with:
97102
go-version: ${{ env.GOVERSION }}
103+
cache: false
98104
- name: install gocovmerge
99105
run: make gocovmerge
100106

@@ -127,6 +133,7 @@ jobs:
127133
flags: e2etests
128134

129135
backfill:
136+
name: Backfill Tests
130137
runs-on: ubuntu-latest
131138
needs: build
132139

@@ -145,6 +152,7 @@ jobs:
145152
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
146153
with:
147154
go-version: ${{ env.GOVERSION }}
155+
cache: false
148156
- name: Install backfill test dependencies
149157
run: |
150158
go install ./cmd/rekor-cli
@@ -172,6 +180,7 @@ jobs:
172180
path: /tmp/docker-compose.log
173181

174182
sharding-e2e:
183+
name: Sharding E2E Tests
175184
runs-on: ubuntu-latest
176185
needs: build
177186

@@ -192,6 +201,7 @@ jobs:
192201
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
193202
with:
194203
go-version: ${{ env.GOVERSION }}
204+
cache: false
195205

196206
- name: Sharding Test
197207
run: ./tests/sharding-e2e-test.sh
@@ -203,6 +213,7 @@ jobs:
203213
path: /tmp/docker-compose.log
204214

205215
issue-872-e2e:
216+
name: Issue 872 E2E Test
206217
runs-on: ubuntu-latest
207218
needs: build
208219

@@ -217,6 +228,7 @@ jobs:
217228
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
218229
with:
219230
go-version: ${{ env.GOVERSION }}
231+
cache: false
220232

221233
- name: Test for Attestation begin returned that was previously persisted in tlog
222234
run: ./tests/issue-872-e2e-test.sh
@@ -228,6 +240,7 @@ jobs:
228240
path: /tmp/*docker-compose.log
229241

230242
client-algorithms-e2e:
243+
name: Client Algorithms E2E Tests
231244
runs-on: ubuntu-latest
232245
needs: build
233246

@@ -242,6 +255,7 @@ jobs:
242255
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
243256
with:
244257
go-version: ${{ env.GOVERSION }}
258+
cache: false
245259

246260
- name: Test for supported client algorithms
247261
run: ./tests/client-algos-e2e-test.sh
@@ -253,6 +267,7 @@ jobs:
253267
path: /tmp/*docker-compose.log
254268

255269
harness:
270+
name: Test Harness
256271
runs-on: ubuntu-latest
257272
needs: build
258273
steps:
@@ -270,6 +285,7 @@ jobs:
270285
with:
271286
go-version: ${{ env.GOVERSION }}
272287
check-latest: true
288+
cache: false
273289

274290
- name: Run test harness
275291
run: ./tests/rekor-harness.sh

.github/workflows/validate-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ permissions: {}
2626

2727
jobs:
2828
check-signature:
29+
name: Check Signature
2930
runs-on: ubuntu-latest
3031
container:
3132
image: ghcr.io/sigstore/cosign/cosign:v2.5.3-dev@sha256:fe84ab87222b60d2d87f5efcb8ef3cfd895897c088fbeb973280689c81aedff1
@@ -40,6 +41,7 @@ jobs:
4041
TUF_ROOT: /tmp
4142

4243
validate-release-job:
44+
name: Validate Release
4345
runs-on: ubuntu-latest
4446
needs:
4547
- check-signature

0 commit comments

Comments
 (0)