Conditional CI jobs run for Pull Requests #11271
qnixsynapse
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current workflow in this repository runs all CI jobs on pull requests (PRs), which seems like a waste of energy/time. I can see sometimes jobs which are unrelated to the subject of a specific PR fails because of unrelated issue. Given that GitHub Actions can effectively assign labels to PRs, we could optimize the workflow by running only the relevant CI jobs. For instance, if a PR is labeled "Nvidia GPU," only the jobs associated with Nvidia GPUs should be executed, and not those for Vulkan or SYCL or metal.
Beta Was this translation helpful? Give feedback.
All reactions