Skip to content

test: auto-fix end-to-end (do not merge)#60

Closed
shenxianpeng wants to merge 2 commits into
masterfrom
test/auto-fix-e2e
Closed

test: auto-fix end-to-end (do not merge)#60
shenxianpeng wants to merge 2 commits into
masterfrom
test/auto-fix-e2e

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

Throwaway PR to end-to-end test the auto-fix feature.

  • Uses cpp-linter/cpp-linter-action@test/auto-fix-e2e (which installs the unreleased cpp-linter --fix from the feature/auto-fix branch).
  • Contains a deliberately mis-formatted src/auto_fix_demo.cpp.
  • Expectation: the action runs cpp-linter --fix, reformats the file, and pushes an auto-fix commit back to this PR branch.

Do not merge — this is a temporary test.


Generated by Claude Code

shenxianpeng and others added 2 commits July 24, 2026 15:47
Adds a deliberately mis-formatted C++ file and a workflow that runs
cpp-linter-action (test/auto-fix-e2e branch, which installs the
unreleased cpp-linter --fix) with auto-fix enabled, to verify the
auto-fix commit is pushed back to the PR branch.

Copy link
Copy Markdown
Member Author

Auto-fix e2e test passed — closing this throwaway PR.

The auto-fix workflow succeeded and the action pushed commit 0dc9f90 back to this branch, reformatting src/auto_fix_demo.cpp from a deliberately mangled one-liner into properly clang-formatted code. This validates the end-to-end chain: the action installed the unreleased cpp-linter --fix (from cpp-linter/cpp-linter@feature/auto-fix), ran it, and the same-repo auto-commit/push worked (authored as GITHUB_ACTOR).

Throwaway artifacts to delete: this branch test/auto-fix-e2e, and cpp-linter/cpp-linter-action@test/auto-fix-e2e.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant