X Tutup
Skip to content

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

Merged
nejch merged 1 commit intomasterfrom
chore/release-action-gh-token
Jun 9, 2021
Merged

chore(ci): use PAT for release workflow#1489
nejch merged 1 commit intomasterfrom
chore/release-action-gh-token

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

X Tutup