Skip to content

Prevent infinite release loop #3323

Answered by mrgrain
automartin5000 asked this question in Q&A
Discussion options

You must be logged in to vote

The manual release trigger that you are using supports making a commit to main to update a change log file.

The projen repo itself uses the continuous release trigger, which does not do that. Instead the change log is exclusively published to the GitHub Releases page.

You are right that the commit to main would trigger an other workflow run, which then terminates early. That's by design, assuming you want to build & test every commit to main.

There are a number of protections in place to make sure that there is not an infinite release loop. They should work, but I can understand the reluctance to trust them. Maybe you could closely monitor your first release and stand by to step in if nee…

Replies: 1 comment

Comment options

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