Commit b15dfc2
swiftlint: run on every PR (drop paths filter) (#70)
The previous `paths:` filter only triggered SwiftLint on changes to
.swiftlint.yml, the workflow itself, or *.swift files. But the branch-
protection rule on main marks SwiftLint as a required check — when a
PR doesn't touch any of those paths (e.g. a .xcscheme move,
gitignore tweak, README edit), SwiftLint never runs and the PR is
stuck in BLOCKED state because the required check has no status.
Standard pattern for required checks is to run on every PR. The cost
is ~30s per PR for an action that early-exits on no-Swift-changed.
Worth it to avoid silent merge-blockage on infrastructure PRs.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 31c7d4f commit b15dfc2
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
| |||
0 commit comments