Skip to content

chore(ci): use PAT for release workflow #1489

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

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Conversation

nejch
Copy link
Member

@nejch nejch commented Jun 1, 2021

Since we have a protected master branch the stock action doesn't work with the default auto-generated GITHUB_TOKEN. The workaround is described here:

https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html?highlight=administrator

This fixes what we discussed earlier this morning @max-wittig.

For now I've added my token as RELEASE_GITHUB_TOKEN but we should discuss creating something like a python-gitlab-bot user for the releases maybe?

Copy link
Member

@JohnVillalovos JohnVillalovos left a comment

Choose a reason for hiding this comment

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

I will believe you that this fixes it 😊

@nejch nejch merged commit 161bb0b into master Jun 9, 2021
@nejch nejch deleted the chore/release-action-gh-token branch June 9, 2021 19:38
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.

3 participants