Repository navigation
ci(github-actions): flip lint.yml SwiftFormat to hard-fail (PR #149 follow-up) - #151
Merged
Merged
Conversation
…ollow-up) PR #149 landed `.swiftformat` option (b) relaxed-baseline config. 244/244 files now compliant with the pinned ruleset, so the advisory `continue-on-error: true` guard from PR #147 is no longer needed. Removes the guard + updates the inline comment to reference the new state + escape hatch for future broad-violations regressions. Co-Authored-By: Claude Opus 4.7 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #149 (now merged at `0c699fd`) landed `.swiftformat` option (b) relaxed-baseline config — 244/244 files compliant. This PR flips `.github/workflows/lint.yml` SwiftFormat step from `continue-on-error: true` (the PR #147 advisory mode) to hard-fail.
Future Swift drift in PRs now blocks merge if the new `.swiftformat` rules are violated. Matches lefthook local enforcement.
Closes the N3 post-merge follow-up from PR #149 CR.
Single-line config flip + inline comment update explaining the escape hatch (if a future PR genuinely needs broader violations, update
.swiftformatin the same PR or flip back to advisory temporarily).Test plan
🤖 Generated with Claude Code