-
Notifications
You must be signed in to change notification settings - Fork 417
[CI] Use YAML anchors #1953
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
[CI] Use YAML anchors #1953
Conversation
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 refactors GitHub Actions workflow files to use YAML anchors for eliminating duplicated event trigger configurations. The change introduces a &event anchor on the pull_request trigger and references it with *event for the push trigger, reducing code duplication across multiple workflow files.
Key changes:
- Introduced YAML anchor
&eventonpull_requestevent configurations - Replaced duplicated
pushevent configurations with*eventreferences - Applied this pattern consistently across 18 GitHub Actions workflow files
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/rolling-semi-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-semi-binary-build-win.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-coverage-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-compatibility-kilted-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-compatibility-jazzy-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-compatibility-humble-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/rolling-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/kilted-semi-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/kilted-coverage-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/kilted-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/jazzy-semi-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/jazzy-coverage-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/jazzy-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/humble-semi-binary-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/humble-coverage-build.yml |
Refactored to use YAML anchor for event triggers |
.github/workflows/humble-binary-build.yml |
Refactored to use YAML anchor for event triggers |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1953 +/- ##
=======================================
Coverage 85.13% 85.13%
=======================================
Files 143 143
Lines 13742 13742
Branches 1200 1200
=======================================
Hits 11699 11699
Misses 1636 1636
Partials 407 407
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
(cherry picked from commit 34c5ff3)
(cherry picked from commit 34c5ff3)
No description provided.