-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-merge will not trigger other workflows #111
Comments
This is the expected behavior when using the |
Thanks for the example @xt0rted. Yeah I figured that would be the case. I was mainly just wondering why the examples here use |
This is definitely confusing, since we'd expect dependency updates that get approved and merge to automatically go through CD-deploy. When is the right time to use the PAT? Is it on the review-approve API call? or on the "enable auto-merge" API call? |
The workflow provided token can be used anywhere except for an action that would trigger another workflow. So in this instance you'd want to use a PAT or GitHub App Token to enable the auto-merge, but everywhere else you can use |
Based on #162 there doesn't seem to be a good alternative to using a PAT at this time... |
I'm using this action to auto-merge https://github.com/dependabot/fetch-metadata#enabling-auto-merge and it's working fine except that the other workflows that are normally triggered on merge to
main
are not triggered.I'm pretty sure it's because
secrets.GITHUB_TOKEN
is used https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token but then I guess I don't understand this use case if I need to use a PAT to have the "normal" behavior.Am I getting this wrong?
The text was updated successfully, but these errors were encountered: