Filip Stasiński
Filip Stasiński
Thank you for you reply. I checked all that parameters and it is correct - there is corresponding branch and commit in the repository. I did one additional test -...
So here is command that I use `echo $(Github.TOKEN) | codeql github upload-results --repository=Volue/PrivateFacilities.Discharge --ref=refs/heads/master --commit=5d34c280cb950166481c43dc5f71aab347baf7d0 --sarif=codeqlAnalisys/web.sarif --github-auth-stdin --github-url=https://github.com`. I get following error: A fatal error occurred: Error uploading SARIF...
The token I use is fine-grained token and it has write and read access for code scanning alerts.
I generated classic token with `security_events` scope and tried with this one. Same result - 404. But then I took sarif file generated in pipeline and used postman to upload...
Great to here you found the issue. For now to make upload working I'm adding token to environment variables like this `##vso[task.setvariable variable=GITHUB_TOKEN]$(Github.TOKEN)` and then I run command `$(codeql) github...