-
Notifications
You must be signed in to change notification settings - Fork 373
Open
Description
The error is Error: codeql/upload-sarif action failed: Resource not accessible by integration
My case is try to integrate snyk for sast on my golang code, and then upload sarif file to github to look any vulnerabilities summary.
My workflow actions yaml files:
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Unit test
continue-on-error: false
run: go test ./...
- name: SAST Test
uses: snyk/actions/golang@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: code test
args: --sarif-file-output=snyk.sarif
- name: Upload SAST Test Result
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: snyk.sarif
jrarmstro
Metadata
Metadata
Assignees
Labels
No labels