Fix: Correct workflow path patterns and fix typo in CI workflows #33486
+6
−6
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.
This PR fixes critical issues in GitHub Actions workflow files that were preventing workflows from triggering correctly on pull requests. It also fixes a typo in a step name.
Changes Made
1. Fixed Incorrect Path Patterns
The following workflow files had incorrect path patterns that would prevent them from triggering on PRs:
.github/workflows/metal_plugin_ci.yml(line 12)'**workflows/metal_plugin_ci.yml'→'.github/workflows/metal_plugin_ci.yml'.github/workflows/upstream-nightly.yml(line 21)'**workflows/upstream-nightly.yml'→'.github/workflows/upstream-nightly.yml'.github/workflows/tsan.yaml(lines 14-15)'**/workflows/tsan.yaml'→'.github/workflows/tsan.yaml''**/workflows/tsan-suppressions*.txt'→'.github/workflows/tsan-suppressions*.txt'.github/workflows/asan.yaml(line 15)'**/workflows/asan.yaml'→'.github/workflows/asan.yaml'2. Fixed Typo
.github/workflows/metal_plugin_ci.yml(line 34)Why These Changes Are Important
CI/CD Pipeline Fixes: The incorrect path patterns (
**workflows/without the.github/prefix) would cause workflows to fail to trigger on PRs that modify these files, potentially causing CI/CD pipeline failures.Consistency: Standardizing all workflow path patterns to use the explicit
.github/workflows/prefix makes the configuration more maintainable and easier to understand.Code Quality: Fixing the typo improves code quality and professionalism.
Testing