Specify default permissions for GitHub Action: CodeQL Create Issues#8667
Specify default permissions for GitHub Action: CodeQL Create Issues#8667castillios wants to merge 4 commits into
Conversation
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. |
t-will-gillis
left a comment
There was a problem hiding this comment.
Hey @castillios - Great job on this! All the basics are there:
- correct branches
- linked issue
- brief descriptions of what was changed and why
- linked test logs
Thanks for your work on this issue, and for noting that additional permissions were required beyond what the original issue stated.
|
Hey @Tomlu60220244 and @castillios -
If either of you don’t have time to get to this, I will merge these PR’s in a few days. (Message me if I forget!) |
|
Hi @t-will-gillis, thanks for bringing this up! I'll assign myself to the PR you mentioned and review it soon. |
|
ETA: 6/1/2026 |
Fixes #8580
What changes did you make?
permissionsblock in.github/workflows/codeql_create_issues.yml:permissionsblock specified in original issue to resolve an error in testing. See testing log containing said error at the bottom of this PR.actions: readandsecurity-events: writepermissionsWhy did you make the changes (we will use this info to test)?
permissionsblock specified in the original issue did not containactions: readandsecurity-events: write. As a result, the workflow would throw an error. After my conversation with Will, I added these two specifications in the original issue to resolve this.CodeQL Alerts
After the PR has been submitted and the resulting GitHub actions/checks have been completed, developers should check the PR for CodeQL alert annotations.
Check the PR's comments. If present on your PR, the CodeQL alert looks similar as shown
Please let us know that you have checked for CodeQL alerts. Please do not dismiss alerts.
Instructions for resolving CodeQL alerts
If CodeQL alert/annotations appear, refer to How to Resolve CodeQL alerts.
In general, CodeQL alerts should be resolved prior to PR reviews and merging
Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)
Workflow Fileto see the updated.ymlfile