ci(ast_tools): run "AST Changes" CI task when CI workflow file changes#15591
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds the CI workflow file (.github/workflows/ci.yml) to the watch list for the "AST Changes" CI task. This ensures the task runs whenever the workflow file itself is modified, maintaining consistency with how other CI tasks explicitly include the workflow file in their path filters.
Key Changes:
- Added
.github/workflows/ci.ymlto the list of paths that trigger the "AST Changes" CI task - Refactored the code to extract hardcoded paths into an
additional_pathsarray with inline comments for better clarity
Reviewed Changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tasks/ast_tools/src/output/yaml.rs | Added CI workflow path to the additional paths array and improved code documentation with inline comments |
| .github/generated/ast_changes_watch_list.yml | Auto-generated file now includes the CI workflow path in the sorted watch list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
#15591) Add path to CI workflow file to the watch list for "AST Changes" CI task, so the task runs if the workflow is altered.
37139a3 to
448cc05
Compare
#15591) Add path to CI workflow file to the watch list for "AST Changes" CI task, so the task runs if the workflow is altered.
448cc05 to
ec66eb4
Compare

Add path to CI workflow file to the watch list for "AST Changes" CI task, so the task runs if the workflow is altered.