Skip to content

Workflow infinite loop #26970

Answered by ethomson
leogr asked this question in Actions
Oct 11, 2019 · 5 comments · 2 replies
Discussion options

You must be logged in to vote

This is why we provide workflows with the GITHUB_TOKEN variable.  It is explicitly configured to  not run subsequent workflows to avoid this sort of behavior.  If you had used GITHUB_TOKEN here, you should not have seen a loop.

Using a personal access token avoids this check, and will allow you to get into infinite loops if you’re not careful.  So this is by-design but it looks like we should clarify this in the documentation - thanks for reporting this!

Replies: 5 comments 2 replies

Comment options

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

@javiBajoCero
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Labels
None yet
6 participants