Open
ci: auto-apply clang-tidy fixes on push/schedule via persistent autofix PR#2813
Conversation
Copilot created this pull request from a session on behalf of
wdconinc
July 30, 2026 01:30
View session
wdconinc
marked this pull request as ready for review
July 30, 2026 01:38
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the linux-eic-shell GitHub Actions workflow so that, on push and schedule, clang-tidy runs with in-place autofix enabled and the resulting changes are routed through a persistent “autofix” pull request branch that is updated on subsequent runs.
Changes:
- Run clang-tidy on all files with
-fix -formatforpush/scheduleevents. - Add a
peter-evans/create-pull-requeststep to create/update a stableclang-tidy-${{ github.ref_name }}PR targeting the source branch.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Capybara summary for PR 2813
Last updated 2026-08-02T12:18-04:00 535d768 |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
auto-merge was automatically disabled
August 1, 2026 18:37
Head branch was pushed to by a user without write access
Contributor
|
Works per #2820. Not saying that's what we should merge, but it gives the set of suggestions we think we should enforce in PRs, so we should adjust clang-tidy config if not correct. |
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.
Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.
On
pushandschedule, clang-tidy previously produced diagnostics/artifacts but did not apply fixes or maintain an autofix PR lifecycle. This change makes clang-tidy apply fixes and route them through a stable branch/PR that is updated on subsequent runs.-fix -formatto the all-files invocation.create-pull-requeststep forpush/schedule.clang-tidy-${{ github.ref_name }}.base: ${{ github.ref_name }}), so existing PRs are updated; missing ones are created.What is the urgency of this PR?
What kind of change does this PR introduce?
Please check if any of the following apply
AI was used to draft and apply the workflow update and prepare this PR summary.