[CI] clang-format job shouldn't block reverts
Open
Beginner friendly
infrastructure
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
When reverting a patch and the previous code wasn't clang-format-clean, the git-clang-format CI job fails, preventing auto merges. The CI job shouldn't run/fail when the PR is a revert (e.g., as indicated by a title starting with "Revert ").
Contributor guide
Research direction
Start by locating the CI configuration that defines the git-clang-format job and read how pull-request titles are exposed to it. Verify the job is skipped for titles beginning with "Revert " while still running for ordinary pull requests, so reverts no longer block auto merges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100