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>
Signed-off-by: MrJack <36191829+biagiopietro@users.noreply.github.com>
pull/31615/head
Matt Farina 3 weeks ago committed by MrJack
parent 06bb9cda55
commit 35ee0930b8

@ -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