Skip to content

Publishing a GitHub release & triggering another workflow #1906

Answered by gr2m
bdubaut asked this question in Q&A
Discussion options

You must be logged in to vote

you need to use a token other than GITHUB_TOKEN when creating the release on GitHub. GitHub actions do not trigger other GitHub actions to avoid infinite loops. I usually create a bot user account for this use case, and save a personal access token in the org/repo secrets. But you can also register a GitHub App and then create an installation access token and pass that to semantic-release. There are actions to do that, e.g. https://github.com/marketplace/actions/action-github-app-token

Replies: 5 comments 12 replies

Comment options

You must be logged in to vote
9 replies
@gr2m
Comment options

@qauff
Comment options

@levibostian
Comment options

@twinh
Comment options

@jensneuhaus
Comment options

Answer selected by bdubaut
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@levibostian
Comment options

@Idan-Fishman
Comment options

Comment options

You must be logged in to vote
1 reply
@Shereef
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants