Run action when pull-request was created OR a new commit was pushed in this PR #25349
Answered
by
ghost
ElenaShlykova
asked this question in
Actions
-
I need to run unit tests when the pull-request was created OR a new commit was pushed in this PR. |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Jun 15, 2020
Replies: 2 comments
-
Could you remove |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
-
Thanks! It works perfectly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pull_request
can be filtered to specific activity types:https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
Could you remove
push
and try usingpull_request
with the activity type of[created, synchronized]
to see if that works?