fix(ci): fix clang-tidy-pr-comments workflow trigger#12436
Merged
Conversation
The workflow was listening for `build-and-test-differential` which is a reusable workflow (workflow_call). The workflow_run trigger only fires for top-level workflows. Changed to `build-test-tidy-pr` which is the actual top-level PR workflow. Also modernized the workflow: removed the rosdistro matrix (no longer needed), updated to ubuntu-latest and actions/checkout@v6, and made artifact pattern rosdistro-agnostic. Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
…kflow This commit will be reverted once the clang-tidy-pr-comments workflow is confirmed working. Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
Contributor
Author
|
Test |
| { | ||
| std::string value = "test"; | ||
| auto moved = std::move(value); | ||
| return value; // bugprone-use-after-move |
There was a problem hiding this comment.
❌ bugprone-use-after-move ❌
value used after it was moved
…ents workflow" This reverts commit fe0efa7. Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
mitsudome-r
approved these changes
Apr 9, 2026
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.

workflow_runtrigger in the automatic workflow: was listening forbuild-and-test-differential(a reusableworkflow_callworkflow that never firesworkflow_runevents), changed tobuild-test-tidy-pr(the actual top-level PR workflow)clang-tidy-result-*, update description text, bump toubuntu-latestandactions/checkout@v6Why
The automatic clang-tidy PR comment annotations were silently broken because
workflow_runonly fires for top-level workflows, not reusable ones. This fix restores the trigger so clang-tidy suggestions are posted as inline review comments on PRs. The manual workflow is updated in parallel to stay consistent.Test plan
build-test-tidy-prruns to completionclang-tidy-pr-commentsshould appear with triggerworkflow_runafterbuild-test-tidy-prcompletesChanged files: