Skip to content

Restrict permissions for GITHUB_TOKEN#531

Merged
joeraz merged 1 commit intoshlomif:masterfrom
vil02:set_permissions
Sep 23, 2025
Merged

Restrict permissions for GITHUB_TOKEN#531
joeraz merged 1 commit intoshlomif:masterfrom
vil02:set_permissions

Conversation

@vil02
Copy link
Contributor

@vil02 vil02 commented Sep 22, 2025

This change resolves the CodeQL "Workflow does not contain permissions" warning: https://codeql.github.com/codeql-query-help/actions/actions-missing-workflow-permissions/

All of the other permissions are now set to none, cf. https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions

Side notes: I activated CodeQL scan in my fork for python and github actions. There are no more warning (for the default set of rules), and I would highly recommend to have it here as well.

@vil02 vil02 marked this pull request as ready for review September 22, 2025 16:12
@joeraz
Copy link
Collaborator

joeraz commented Sep 23, 2025

Got it. And the CI is still working, so no issue here.

Merging, thanks.

@joeraz joeraz merged commit 94b9bf1 into shlomif:master Sep 23, 2025
14 checks passed
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