Skip to content
Discussion options

You must be logged in to vote

@patrickdet ,

I notice you are using the GITHUB_TOKEN to authenticate on the " update pull request branch" API.
There is a note you need to know, you also can reference the docs about authenticating with the GITHUB_TOKEN:

Events triggered by the GITHUB_TOKEN will not create a new workflow run, this prevents you from accidentally creating recursive workflow runs.

If you really need the " update pull request branch" API also can trigger the workflow run, you can create a personal access token and set it as a secret in your repository, then use this personal access token to authenticate. But you also should avoid the recursive workflow runs.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@matherm-aboehm
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
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
4 participants