-
Notifications
You must be signed in to change notification settings - Fork 346
Adds zizmor sarif #1214
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
Adds zizmor sarif #1214
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work unless you give the job the security events privilege.
![]() @webknjaz But it did.. what am i missing? |
Dunno, maybe because it's a public repo? Let's ask @woodruffw to share ideas... |
@webknjaz OK, I added the permission.. doesnt seem like it matters, but I'd be glad to see your approval 😇 -- if its warranted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, approving. Regarding the sh hack, it would probably be more elegant in a toxfile.py
...
Thanks for the ping -- that might be incidentally working if your You can see that under ![]() (it's faded out because I have it disabled on the org level.) |
@woodruffw I see, but wouldn't the workflow-level permissions setting reset it to zero privileges? And then the job-level one setting just one privilege (in the previous commit). |
Hmm, true. Yeah, I'm at a loss to explain this, then... |
@woodruffw I remember how some privileges are needed for private repos and not for public ones. Wonder if this is the case here. |
Could be that, although I thought that was the case only for the |
Hmm, it's also possible there are two different things here: GH might allow "advanced security" to make notifications/alerts on the enabling PR, but then forbid alerts within the security pane itself after merge if the permission isn't set. That would be pretty confusing on GH's part, but it would explain the observed behavior here... |
@woodruffw well, thanks for entertaining my assumptions.. Will leave it as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except a comment about using sh
in tox
Co-authored-by: Ran Benita <[email protected]>
A followup to a comment @webknjaz made.
Related to #1203 but not dependent on it.
Adds the issues directly onto the PR (this was the example)