Skip to content

fix(ci): auto-clang-format — fix formatting and add write permission#10

Merged
viniciusferrao merged 2 commits intomasterfrom
fix/auto-clang-format-permissions
Mar 19, 2026
Merged

fix(ci): auto-clang-format — fix formatting and add write permission#10
viniciusferrao merged 2 commits intomasterfrom
fix/auto-clang-format-permissions

Conversation

@viniciusferrao
Copy link
Member

Summary

  • Fix clang-format violation in src/ftxui_sample/main.cpp:212 (initializer list line break)
  • Add contents: write permission so the workflow can push formatting fixes back to PR branches

Test plan

  • auto-clang-format workflow passes (no formatting diff = no push needed)
  • Verify contents: write allows future auto-formatting pushes

🤖 Generated with Claude Code

viniciusferrao and others added 2 commits March 18, 2026 18:33
The workflow uses EndBug/add-and-commit to push formatting fixes
back to PR branches. The default GITHUB_TOKEN needs contents:write
permission to push.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix clang-format violation in main.cpp (initializer list style).
Add contents:write permission so the workflow can push formatting
fixes back to PR branches via EndBug/add-and-commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ftxui_sample/main.cpp 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@viniciusferrao viniciusferrao merged commit 21be445 into master Mar 19, 2026
41 of 42 checks passed
@viniciusferrao viniciusferrao deleted the fix/auto-clang-format-permissions branch March 19, 2026 00:53
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