Skip to content
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

Set minimal workflow permissions #75

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

pnacht
Copy link
Contributor

@pnacht pnacht commented Sep 4, 2023

Fixes #74.

This PR ensures workflows run with minimal permissions, protecting the project from supply-chain attacks.

The change to codeql.yaml is for consistency and future-proofing: if another job is added to the workflow in the future, it will run with just contents: read instead of write-all.

Signed-off-by: Pedro Kaj Kjellerup Nacht <[email protected]>
@DPJacques DPJacques merged commit 7bed6a6 into jonboulle:master Oct 2, 2023
8 checks passed
@DPJacques
Copy link
Collaborator

Thank you

@pnacht pnacht mentioned this pull request Nov 13, 2023
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.

Run GitHub workflows with minimal permissions
2 participants