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 permissions in release workflow #1235

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

tomas-stripe
Copy link
Contributor

Reviewers

r? @charliecruzan-stripe
cc @stripe/developer-products

Summary

The release workflow recently started failing to publish releases [0] due to a lack of permissions. We need to explicitly define the permissions needed in the YAML file -- other permissions that are not included are implicitly set to none [1].

[0] https://github.com/stripe/stripe-cli/actions/runs/10712343543/job/29744080418
[1] https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#permissions

@tomas-stripe tomas-stripe requested a review from a team as a code owner September 5, 2024 20:28
@tomas-stripe tomas-stripe merged commit 910417d into master Sep 5, 2024
7 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