How do I run github actions only on pr #195762
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaARC (Actions Runner Controller) Discussion DetailsI hv work flow that runs on every push how do I change it so it only triggers on pr and not direct pushes? |
Beta Was this translation helpful? Give feedback.
Answered by
May-00048
May 14, 2026
Replies: 1 comment
-
|
change your workflow trigger in the yaml file to this: on: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sedsdrrt-eng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
change your workflow trigger in the yaml file to this:
on:
pull_request:
branches:
- main