Problem: persist-credentials might leak github token unintentionally #2929
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: govuln | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- master | |
- release/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: install govulncheck | |
run: go install -v golang.org/x/vuln/cmd/[email protected] | |
- name: govuln sec scan | |
run: govulncheck ./... |