[CI] Triton_v3.3.x Changed all the yml files in the workflows folder to use smart-checkout#409
Merged
git-flyer merged 6 commits intotriton_v3.3.xfrom Mar 19, 2026
Conversation
…tion Sync latest updates from triton_v3.3.x
There was a problem hiding this comment.
Pull request overview
This PR updates multiple GitHub Actions workflows to replace repeated actions/checkout retry blocks with a shared smart-checkout composite action, aiming to standardize and simplify CI checkout behavior across different hardware backends.
Changes:
- Replaced multi-attempt
actions/checkoutretry logic withflagos-ai/FlagTree/.github/actions/smart-checkout. - Standardized checkout configuration via
checkout_versioninput across workflows. - Simplified workflow step lists by removing explicit sleep/retry/verify checkout steps.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 19 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/xpu-build-and-test.yml | Replaces manual multi-attempt checkout with smart-checkout. |
| .github/workflows/tsingmicro-build-and-test.yml | Switches checkout to smart-checkout before docs-only gating and build/test steps. |
| .github/workflows/nv-build-and-test.yml | Uses smart-checkout ahead of docs-only gating and branch-targeted build paths. |
| .github/workflows/mthreads-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/metax-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/iluvatar-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/hcu-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/enflame-gcu300-3.3-build-and-test.yml | Switches checkout to smart-checkout before docs-only gating and build/test. |
| .github/workflows/code_scan.yml | Switches checkout to smart-checkout for scanning/reporting steps. |
| .github/workflows/cambricon-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/ascend-build-and-test.yml | Replaces retry checkout logic with smart-checkout. |
| .github/workflows/aipu-build-and-test.yml | Switches checkout to smart-checkout before docs-only gating and build/test. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.