Yesterday I was trying to run a workflow
on: pull_request with
types: [opened, reopened].
I opened, closed, and re-opened the PR containing the workflow yaml several times and no workflow run was triggered. This PR was in a not-automatically-mergeable state.
Then I rebased the PR branch onto master, so that the PR was now automatically mergeable, and suddenly opening/closing/re-opening started to trigger the workflows.
So I’m wondering, is it expected or specified that
on: pull_request workflows only run if the PR is mergeable? Or am I mistaken and something else is going on?