Skip to content

Does workflow on: pull_request, types: [opened] only run when PR is mergeable? #25984

Answered by weide-zhou
R2ZER0 asked this question in Actions
Discussion options

You must be logged in to vote

Hi @R2ZER0,

Glad to see you in Github Community Forum!

‘not-automatically-mergeable’ state means there’re some conflicts existing in the pull request.
There’s a limitation that workflow is not triggered for ‘pull_request’ event if conflicts exist, you have to resolve it firstly, via web editor or command line tool on local machine.
Rebase resolved the conflict, so the workflow is triggered.

Hope it’s clear and helpful!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
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
2 participants