Workflow doesn't run on pull request when pull request is created by another workflow action #25533
-
For some reason that I can’t figure out, my automerge.yml workflow doesn’t run when my release.yml workflow creates a pull request from develop branch to master branch. Both the workflows and branches to be merged are in the same repository. - https://github.com/bruffridge/nasawds-2.0 release.yml
automerge.yml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Guess it can’t be done: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows An action in a workflow run can’t trigger a new workflow run. For example, if an action pushes code using the repository’s GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur. |
Beta Was this translation helpful? Give feedback.
Guess it can’t be done: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
An action in a workflow run can’t trigger a new workflow run. For example, if an action pushes code using the repository’s GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.