Skip to content

CI: remove redundant full-tree clang-format workflow - #121

Merged
vigri merged 1 commit into
ScanTailor-Advanced:masterfrom
pablogventura:ci/remove-redundant-clang-format-workflow
Apr 16, 2026
Merged

CI: remove redundant full-tree clang-format workflow#121
vigri merged 1 commit into
ScanTailor-Advanced:masterfrom
pablogventura:ci/remove-redundant-clang-format-workflow

Conversation

@pablogventura

Copy link
Copy Markdown

Problem

Two workflows enforced clang-format:

  • .github/workflows/lint.yml checks only .cpp / .h files under src/ that changed in the PR (sensible for contributors).
  • .github/workflows/clang-format.yml ran DoozyX/clang-format-lint-action over the entire tree on every push and PR.

The full-tree job fails whenever any tracked file is not perfectly formatted, so unrelated PRs stay red even when the diff is clean.

Change

Remove clang-format.yml and keep the incremental Lint workflow.

Note

If the project later wants a strict repo-wide format gate, it should follow a one-time mass-format commit (or .clang-format / style alignment) so the check is actionable.

Lint already checks formatting for changed files under src/ on PRs.
The DoozyX workflow scanned the entire tree and failed on any
pre-existing style drift unrelated to the PR.
@vigri
vigri merged commit e795eea into ScanTailor-Advanced:master Apr 16, 2026
1 of 3 checks passed
@pablogventura
pablogventura deleted the ci/remove-redundant-clang-format-workflow branch May 24, 2026 02:22
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