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

ci: Restrict permissions for GITHUB_TOKEN #4058

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

yiannistri
Copy link
Contributor

What changed?
Set workflow level permissions to read-only and required job level permissions to write.

Why was this change made?
To restrict permissions for GITHUB_TOKEN.

How was this change implemented?
N/A

How did you validate the change?
N/A

Release notes
N/A

Documentation Changes
N/A

@yiannistri yiannistri force-pushed the fix-token-permissions branch 3 times, most recently from eb8dc29 to 3a809c9 Compare October 3, 2023 07:51
Copy link
Contributor

@yitsushi yitsushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love the comments to explain why we need specific permission. ❤️

@yiannistri yiannistri merged commit 0286345 into main Oct 3, 2023
22 checks passed
@yiannistri yiannistri deleted the fix-token-permissions branch October 3, 2023 09:47
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