@@ -45,18 +45,11 @@ jobs:
4545 outputs :
4646 docs_only : ${{ steps.filter.outputs.docs_only }}
4747 steps :
48- # Stage 1 of the harden-runner egress rollout: `git fetch`/`git diff`
49- # against the checked-out repo and no other tool download, so
50- # github.com/actions endpoints are the entire footprint — identical to
51- # the "Commit Message" job below, which already runs block mode with
52- # this endpoint set for the same fetch-depth-0-then-read-history shape.
48+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
5349 - name : Harden Runner
5450 uses : step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
5551 with :
56- egress-policy : block
57- allowed-endpoints : >
58- github.com:443
59- *.actions.githubusercontent.com:443
52+ egress-policy : audit
6053 disable-sudo : true
6154
6255 - name : Checkout
@@ -156,49 +149,17 @@ jobs:
156149 lint-check-name : Go Lint
157150 test-check-name : Go Test
158151 run-workflow-security : true
159- # Stage 1 of the harden-runner egress rollout (see quality-*/security-*
160- # workflows for the rest of stage 1): zizmor only talks to ghcr.io for
161- # its own container image plus github.com/pkg-containers for the pull —
162- # same endpoint set drydock's own security-actions job (ci-verify.yml)
163- # uses for this identical CodesWhat/.github go-ci.yml workflow-security
164- # job, so this follows established org precedent rather than a guess.
165- workflow-security-egress-policy : block
166- workflow-security-allowed-endpoints : " ghcr.io:443 github.com:443 pkg-containers.githubusercontent.com:443"
152+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
153+ workflow-security-egress-policy : audit
167154 run-goreleaser : ${{ github.event_name != 'schedule' }}
168155 # Repository-run Qlty gate ("Go CI / Qlty Check"), which needs no Qlty
169156 # Cloud account. Distinct from the Qlty Cloud GitHub App's own statuses
170157 # (`qlty check`, `qlty coverage`, `qlty coverage diff`), which fail
171158 # org-wide on billing minutes and are never required contexts. Skipped on
172159 # the weekly schedule alongside GoReleaser, matching portwing.
173160 run-qlty : ${{ github.event_name != 'schedule' }}
174- # Copied verbatim from portwing's proven allowlist rather than
175- # re-derived: qlty downloads its own CLI and every plugin runtime it
176- # resolves (node, python, go, java) on a cold runner, so a narrower list
177- # fails on whichever plugin the default source adds next.
178- qlty-egress-policy : block
179- qlty-allowed-endpoints : >-
180- api.github.com:443
181- api.osv.dev:443
182- api.segment.io:443
183- api0.prismacloud.io:443
184- dl.google.com:443
185- files.pythonhosted.org:443
186- github-proxy.qlty.sh:443
187- github.com:443
188- go.dev:443
189- mirror.gcr.io:443
190- nodejs.org:443
191- objects.githubusercontent.com:443
192- proxy.golang.org:443
193- pypi.org:443
194- qlty-releases.s3.amazonaws.com:443
195- radarlint-releases.s3.amazonaws.com:443
196- registry.npmjs.org:443
197- release-assets.githubusercontent.com:443
198- sum.golang.org:443
199- tmaproduction.blob.core.windows.net:443
200- tuf-repo-cdn.sigstore.dev:443
201- tuf-repo.github.com:443
161+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
162+ qlty-egress-policy : audit
202163 # An empty list produces no matrix jobs at all: go-ci.yml's fuzz job
203164 # is gated on `fromJSON(inputs.fuzzers-json)[0] != null`. On a
204165 # docs-only PR that is 29 jobs and ~67 runner-minutes not spent
@@ -232,16 +193,11 @@ jobs:
232193 contents : read
233194
234195 steps :
235- # Stage 1 of the harden-runner egress rollout: shellcheck is
236- # runner-image-preinstalled (no tool download) and only checks out the
237- # repo, so github.com/actions endpoints are the entire footprint.
196+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
238197 - name : Harden Runner
239198 uses : step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
240199 with :
241- egress-policy : block
242- allowed-endpoints : >
243- github.com:443
244- *.actions.githubusercontent.com:443
200+ egress-policy : audit
245201 disable-sudo : true
246202
247203 - name : Checkout
@@ -311,19 +267,11 @@ jobs:
311267 contents : read
312268
313269 steps :
314- # Stage 1 of the harden-runner egress rollout: same job, same tool,
315- # and the same endpoint set (including api.deps.dev for
316- # dependency-review-action's changed-package metadata lookup) drydock
317- # already runs in block mode for this identical job.
270+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
318271 - name : Harden Runner
319272 uses : step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
320273 with :
321- egress-policy : block
322- allowed-endpoints : >
323- github.com:443
324- api.github.com:443
325- api.deps.dev:443
326- *.actions.githubusercontent.com:443
274+ egress-policy : audit
327275 disable-sudo : true
328276
329277 - name : Checkout
@@ -351,19 +299,11 @@ jobs:
351299 GITLEAKS_LINUX_X64_SHA256 : " 551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb"
352300
353301 steps :
354- # Stage 1 of the harden-runner egress rollout: same "download a GitHub
355- # release tarball, verify its checksum, run it" shape as drydock's own
356- # "secrets" job, so this reuses drydock's exact block-mode endpoint set
357- # for that pattern.
302+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
358303 - name : Harden Runner
359304 uses : step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
360305 with :
361- egress-policy : block
362- allowed-endpoints : >
363- github.com:443
364- objects.githubusercontent.com:443
365- release-assets.githubusercontent.com:443
366- *.actions.githubusercontent.com:443
306+ egress-policy : audit
367307 disable-sudo : true
368308
369309 - name : Checkout
@@ -416,16 +356,11 @@ jobs:
416356 timeout-minutes : 10
417357
418358 steps :
419- # Stage 1 of the harden-runner egress rollout: pure `git log` against
420- # the checked-out repo, no other tool download — github.com/actions
421- # endpoints are the entire footprint.
359+ # Audit mode: block mode intermittently refused allow-listed hosts on hosted runners (DEP-19). Release workflows keep block.
422360 - name : Harden Runner
423361 uses : step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
424362 with :
425- egress-policy : block
426- allowed-endpoints : >
427- github.com:443
428- *.actions.githubusercontent.com:443
363+ egress-policy : audit
429364 disable-sudo : true
430365
431366 - name : Checkout
0 commit comments