Skip to content

ci(format): use repository .clang-format in PR formatting workflow#267

Merged
plexoos merged 1 commit into
mainfrom
fix-style-policy
Apr 3, 2026
Merged

ci(format): use repository .clang-format in PR formatting workflow#267
plexoos merged 1 commit into
mainfrom
fix-style-policy

Conversation

@plexoos
Copy link
Copy Markdown
Member

@plexoos plexoos commented Apr 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 15:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PR formatting/linting workflow to use the repository’s own clang-format configuration, ensuring CI formatting matches the project’s preferred style.

Changes:

  • Switch cpp-linter-action formatting style from microsoft to file so it reads .clang-format.
  • Add a root .clang-format file (Microsoft-based) with project-specific overrides.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/build-pull-request.yaml Configures cpp-linter-action to use the repo’s .clang-format (style: file).
.clang-format Introduces the clang-format rules that CI will now apply for format review.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@plexoos plexoos merged commit 088346f into main Apr 3, 2026
7 checks passed
@plexoos plexoos deleted the fix-style-policy branch April 3, 2026 16:05
@plexoos plexoos mentioned this pull request Apr 3, 2026
plexoos added a commit that referenced this pull request Apr 7, 2026
plexoos added a commit that referenced this pull request Apr 7, 2026
…kflow (#267)" (#278)

This reverts commit 088346f.

It was my mistake to change the default Microsoft style after seeing the
large number of unnecessary formatting changes in #262. The CI
`cpp-linter` job is correctly configured to check style only on modified
lines.
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.

2 participants