How to set a job to run when pushing to a PR branch? #27179
-
As far as I can tell I’m starting to think I might’ve missed something, because there are heaps of people which seem to say that This is related to another question (as a new user I’m not allowed to add any more links to this post) – basically I’m trying to figure out how to run jobs only when pushing to
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What you are looking for is:
Where Edit, per the GitHub docs: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#pull_request it looks like this is actually the default behavior:
|
Beta Was this translation helpful? Give feedback.
-
I do agree that the docs on this are not explicitly clear about. I had to look up what “synchronize” meant in this context. I just opened an issue to hopefully fix this: github/docs#2257 |
Beta Was this translation helpful? Give feedback.
I do agree that the docs on this are not explicitly clear about. I had to look up what “synchronize” meant in this context. I just opened an issue to hopefully fix this: github/docs#2257