-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[GHA] Don't run pipelines by default for draft but allow manual restart #31996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Alina Kladieva <[email protected]>
Signed-off-by: Alina Kladieva <[email protected]>
84a83d2 to
c2b19a5
Compare
Signed-off-by: Alina Kladieva <[email protected]>
c2b19a5 to
f33c3a2
Compare
8ea8cf1 to
5c6f511
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements workflow optimizations to prevent automatic execution of GitHub Actions pipelines for draft pull requests while preserving the ability to manually trigger them. The changes reduce unnecessary CI resource consumption by adding conditional logic to skip draft PR runs unless explicitly re-run.
Key Changes:
- Added draft PR check condition to Smart_CI jobs across all workflows
- Updated pull_request triggers to include
ready_for_reviewevent type - Added test coverage conditions for PyTorch and JAX layer tests in Windows release workflow
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| docs/dev/ci/github_actions/smart_ci.md | Added documentation section explaining draft PR workflow behavior and manual re-run process |
| .github/workflows/windows_vs2022_release.yml | Added draft check, ready_for_review trigger, and Smart CI output conditions for layer tests |
| .github/workflows/windows_vs2022_debug.yml | Added draft check and ready_for_review trigger |
| .github/workflows/windows_conditional_compilation.yml | Added draft check and ready_for_review trigger |
| .github/workflows/webassembly.yml | Added draft check and ready_for_review trigger |
| .github/workflows/ubuntu_24.yml | Added draft check and ready_for_review trigger |
| .github/workflows/ubuntu_22_dpcpp.yml | Added draft check condition only |
| .github/workflows/ubuntu_22_arm64_cross_compilation.yml | Added draft check and ready_for_review trigger |
| .github/workflows/ubuntu_22.yml | Added draft check and ready_for_review trigger |
| .github/workflows/py_checks.yml | Added ready_for_review trigger only |
| .github/workflows/ovc.yml | Added ready_for_review trigger only |
| .github/workflows/manylinux_2_28.yml | Added draft check and ready_for_review trigger |
| .github/workflows/manylinux_2014.yml | Added draft check and ready_for_review trigger |
| .github/workflows/mac_arm64.yml | Added draft check condition only |
| .github/workflows/mac.yml | Added draft check condition only |
| .github/workflows/linux_sanitizers.yml | Added draft check and ready_for_review trigger |
| .github/workflows/linux_riscv_xuantie_dev_cpu.yml | Added draft check and ready_for_review trigger |
| .github/workflows/linux_riscv.yml | Added draft check and ready_for_review trigger |
| .github/workflows/linux_conditional_compilation.yml | Added draft check and ready_for_review trigger |
| .github/workflows/linux_arm64.yml | Added draft check and ready_for_review trigger |
| .github/workflows/fedora_29.yml | Added draft check and ready_for_review trigger |
| .github/workflows/dev_cpu_linux_snippets_libxsmm.yml | Added draft check and ready_for_review trigger |
| .github/workflows/debian_10_arm.yml | Added draft check and ready_for_review trigger |
| .github/workflows/coverity.yml | Added draft check and commented-out ready_for_review trigger |
| .github/workflows/code_style.yml | Added draft check and ready_for_review trigger |
| .github/workflows/clang_tidy.yml | Added draft check and ready_for_review trigger |
| .github/workflows/build_doc.yml | Added draft check and ready_for_review trigger |
| .github/workflows/android.yml | Added draft check and ready_for_review trigger |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…rt (#31996) Signed-off-by: Alina Kladieva <[email protected]>
No description provided.