Fix govulncheck in CI

govulncheck is having trouble checking out the source due to
multiple Authorization headers. The fix for this is to not
persist the credentials.

Signed-off-by: Matt Farina <matt.farina@suse.com>
pull/31625/head
Matt Farina 3 weeks ago
parent 5a97235092
commit bc9462f20f
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # pin@v6.0.1
with:
persist-credentials: false
- name: Add variables to environment file
run: cat ".github/env" >> "$GITHUB_ENV"
- name: Setup Go

Loading…
Cancel
Save