Push by workflow does not trigger another workflow anymore #37103
-
Hi, On one of our project we have had a bot user that updates a dependency for us using action The documentation states that one workflow can trigger another workflow only if it's not using Thanks, Ryan |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi there @RyanMeulenkamp and welcome to our community! Thank you for asking a great question 🙂 |
Beta Was this translation helpful? Give feedback.
-
I believe that, by default, git in a workflow is authenticated with that same token. You should be able to bypass this restriction by setting up your own personal access token instead of using the builtin |
Beta Was this translation helpful? Give feedback.
-
You need to either provide the token you want to use to |
Beta Was this translation helpful? Give feedback.
-
Good Project |
Beta Was this translation helpful? Give feedback.
actions/checkout
sets up the repository so it'll always send theGITHUB_TOKEN
in anAuthorization
header, unless you tell it otherwise. What you add to the URL doesn't matter with that, I'm surprised it worked at some point. 😅You need to either provide the token you want to use to
actions/checkout
as itstoken
parameter (the easy way), or disablepersist-credentials
(then you still have to explicitly provide the token later). See the usage description.