Skip to content

ci: Add permissions to upload security scan results - #51

Open
apyrgio wants to merge 2 commits into
mainfrom
2026-08-scans-permissions
Open

ci: Add permissions to upload security scan results#51
apyrgio wants to merge 2 commits into
mainfrom
2026-08-scans-permissions

Conversation

@apyrgio

@apyrgio apyrgio commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Add 'security-events: write' permissions, so that the CI run can upload scan results. This has been documented in the past 1, but it seems it started bitting us today.

Note that the 'actions: read' permission does not seem to be required.

Footnotes

  1. https://github.com/github/codeql-action/issues/2789#issuecomment-2694501026

Add 'security-events: write' permissions, so that the CI run can upload
scan results. This has been documented in the past [1], but it seems it
started bitting us today.

Note that the 'actions: read' permission does not seem to be required.

[1] github/codeql-action#2789 (comment)
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@apyrgio
apyrgio requested a review from almet August 13, 2026 13:49
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

Successfully merging this pull request may close these issues.

2 participants