PLT-1493: Added support for permissions #110
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: GoVulnCheckPRValidation | |
on: [pull_request] | |
concurrency: | |
group: govulncheck-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
govulncheck-pr-scan: | |
runs-on: security-runner | |
container: | |
image: gcr.io/spectro-images-public/golang:1.22-alpine | |
steps: | |
- name: install-govulncheck | |
run: GOBIN=/usr/local/bin go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: set-github-access | |
run: | | |
/usr/bin/git config --global --add url."https://${{ secrets.GH_TOKEN }}:x-oauth-basic@github".insteadOf https://github | |
/usr/bin/git config --global --add url."https://${{ secrets.GH_TOKEN }}:x-oauth-basic@github".insteadOf git@github | |
- name: govulncheck-scan | |
run: | | |
go version | |
govulncheck -mode source ./... |