I am testing out a Github action which is configured to run when a PR is opened on the master branch. I noticed that if there is a ‘merge conflict’ as part of the PR, the check / action / workflow is not executed.
Extract from the workflow yaml file
on: pull_request: branches: [ master ]
The check runs fine if Github does not find a merge conflict for a PR. Is this behavior expected ?
Below screenshot to show an example of the conflict .
Is this expected behavior.
Simulated the use case below
PR from a branch named ‘1’ with no merge conflict - resulted in the execution of the workflow
PR from a branch named ‘2’ with a merge conflict - resulted in no execution of the workflow