Repository navigation
ci(github-actions): Phase 1 advisory workflows (PR title lint / SwiftLint+SwiftFormat / docs link check) - #147
Merged
Merged
Conversation
Adds three GitHub Actions workflows that run on PRs as advisory status checks (not yet required) to cover gaps that Xcode Cloud single-track CI does not address: - pr-metadata.yml: PR title lint (Conventional Commits) via amannn/action-semantic-pull-request@v5. - lint.yml: SwiftLint (strict) + SwiftFormat (advisory) on changed Swift files, using mise-pinned tool versions for parity with lefthook and Xcode Cloud ci_post_clone.sh. SwiftFormat is continue-on-error until the format baseline lands. - docs-link-check.yml: lychee broken-link scan over docs/ and meetings/. Phase 2 items (review agents, meetings index auto-update, required status checks, branch protection) deferred — those need a bot identity plus user-owned repo settings. See meetings/2026-05-26_gh-actions-phase1.impl-notes.md for design decisions, pin rationale, and open questions. Refs foundations.md §Backlog "GitHub Actions(v1 暫不採用)" / "GitHub Action agents on PR" entries.
Cross-reference for §4 CI readers: 3 advisory workflows landed in commit 886489c covering PR metadata, swift lint mirror, and docs link check. Branch protection / required-status promotion deferred to Phase 3 (user-owned).
Merged
3 tasks
1 task
wei18
added a commit
that referenced
this pull request
May 26, 2026
…ollow-up) (#151) 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
First slice of merged backlog 「GitHub Actions adoption + GH Actions review agents on PR」(foundations §Backlog, 2026-05-26).
Phase 1 = no GitHub App bot identity needed. Phase 2 (review agents + meetings/ index auto-update) blocked on bot identity entry (methodology §Backlog).
3 new workflows
pr-metadata.ymlpull_requesttypeslint.ymlpull_requeston `**.swift`docs-link-check.ymlpull_requeston `docs/` + `meetings/`5 files, +200 LOC. All YAML lint-clean. Actions pinned to current majors.
swiftformat baseline note
Repo currently has ~204/244 files non-compliant. `lint.yml` SwiftFormat step is `continue-on-error: true` until either (a) mass-format baseline lands OR (b) `.swiftformat` config relaxes rules. Parallel PR in flight implementing option (b) — will flip this to hard-fail in a follow-up commit.
Advisory mode
Not required-status-checks. Workflows surface results but don't block merge until user enables branch protection (separate user-owned backlog entry).
Closes
Test plan
🤖 Generated with Claude Code