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

Fix release workflow permissions #2880

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented Apr 10, 2024

I believe that the OTP org, which has the parent org for this repo, has narrowed permissions for github action tokens since the last release.

We can ask for more permissions for this with the proper permissions declaration.

This PR is an attempt at turning this on so we can publish Rebar3 3.23.0 by unlocking the contents permission in write mode on tagged pushes, which should unblock us. If it doesn't work I'll need to go back to manually tagging and maybe figuring out local containers for build artifact uploads.

I believe that the OTP org, which has the parent org for this repo, has
narrowed permissions for github action tokens since the last release.

We can ask for more permissions for this with the [proper permissions
declaration](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions).

This PR is an attempt at turning this on so we can publish Rebar3 3.23.0
by unlocking the `contents` permission in write mode on tagged
pushes, which should unblock us. If it doesn't work I'll need to go back
to manually tagging and maybe figuring out local containers for build
artifact uploads.
@ferd ferd requested a review from tsloughter April 10, 2024 12:32
@ferd ferd merged commit bde4b54 into erlang:main Apr 10, 2024
6 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