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

Add required permissions to workflow example #184

Merged
merged 1 commit into from
Mar 26, 2023

Conversation

toadjaune
Copy link
Contributor

When the repo actions configuration is hardened, the default permissions only include read permissions, making the action fail. Adding this configuration block fixes this.

Additionnally, even when it works without it, restricting permissions to the strict minimum is good security hygiene, so, everyone should include this permissions statement.

When the repo actions configuration is hardened, the default permissions only include read permissions, making the action fail.
Adding this configuration block fixes this.

Additionnally, even when it works without it, restricting permissions to the strict minimum is good security hygiene, so, everyone should include this permissions statement.
@toadjaune
Copy link
Contributor Author

closes #155

@JulienKode
Copy link
Owner

@toadjaune thanks for the explanation and for fixing this

@JulienKode JulienKode merged commit 36a55f4 into JulienKode:master Mar 26, 2023
@toadjaune toadjaune deleted the patch-1 branch March 27, 2023 15:51
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.

None yet

2 participants