Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sarif_file cannot be found #3

Open
Nalum opened this issue Sep 13, 2021 · 3 comments
Open

sarif_file cannot be found #3

Nalum opened this issue Sep 13, 2021 · 3 comments

Comments

@Nalum
Copy link

Nalum commented Sep 13, 2021

I've tried getting this setup with all the default values but I'm getting this error when the job runs:

Run github/codeql-action/upload-sarif@v1
  with:
    sarif_file: ../results
    checkout_path: /home/runner/work/dexo-map/dexo-map
    token: ***
    matrix: null
Error: Path does not exist: ../results
Error: Path does not exist: ../results
    at getSarifFilePaths (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-lib.js:144:15)
    at Object.uploadFromActions (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-lib.js:132:30)
    at run (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-sarif-action.js:49:46)
    at async runWrapper (/home/runner/work/_actions/github/codeql-action/v1/lib/upload-sarif-action.js:61:9)

Any thoughts on it?

@miselico
Copy link

I am encountering the same issue. @Nalum did you find a solution?

@miselico
Copy link

Found a solution now. This can be fixed by adding the arguments explicitly in the config, see #4

@Nalum
Copy link
Author

Nalum commented Dec 15, 2021

@miselico thanks for the update, I hadn't gone any further with it. I'll try out the fix you have here when I get the chance 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants