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: do not persist credentials after checkout in js release step #87

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

achingbrain
Copy link
Contributor

If we don't set this to not persist credentials, semantic release will not set the github token and releases fail in repos that have branch protection turned on.

Refs:

If we don't set this to not persist credentials, semantic release will not set the github token and releases fail in repos that have branch protection turned on.

Refs:
- semantic-release/git#196 (comment)
- semantic-release/git#196 (comment)
@wemeetagain
Copy link

We ran into this releasing js-libp2p-noise (see https://github.com/ChainSafe/js-libp2p-noise/actions/runs/10812971337) which had branch protection.
Our current workaround is to just temporarily remove branch protection.

Else, this upstream workflow needs this fix.

@galargh galargh merged commit bcdbc91 into ipdxco:main Sep 17, 2024
36 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.

3 participants