My actions trigger is setup as -
on: push: branches: - master pull_request: branches: - master
I have noticed that adding a
.github/workflows/foo.yml to the branch of a repository and then creating a pull request to the master branch of that same repository, triggers the action.
But creating a pull request to the master branch of a different repository (from which this is forked), did not trigger the action. Will getting the pull request merged, trigger the action? Is there a way to trigger the action in the pull request itself?