Skip to content

Commit b15dfc2

Browse files
dadachiclaude
andauthored
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

File tree

.github/workflows/swiftlint.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: SwiftLint
22

33
on:
44
pull_request:
5-
paths:
6-
- '.github/workflows/swiftlint.yml'
7-
- '.swiftlint.yml'
8-
- 'NativeAppTemplate/**/*.swift'
95

106
jobs:
117
SwiftLint:

0 commit comments

Comments
 (0)