ci: add Dependabot for GitHub Actions and Swift deps#32
Conversation
Adds .github/dependabot.yml covering both dependency surfaces: the GitHub Actions pinned in the workflows and the Swift packages (Sparkle, KeyboardShortcuts, PermissionFlow). Dependabot's xcodeproj support finds the pins in the Xcode project bundle even though this project has no top-level Package.swift. Updates are checked daily, grouped into one PR per ecosystem to cut noise, and held for a 3-day cooldown so a malicious or broken release has time to be caught before it lands. Cooldown delays version updates only — security (CVE) patches still open immediately. Commit prefixes follow the repo's Conventional Commits convention (ci(deps) for Actions, build(deps) for Swift). Signed-off-by: Kevin Cui <bh@bugs.cc>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughA new 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Comment |
What
Adds
.github/dependabot.ymlto automate dependency updates across the project's two dependency surfaces:ci/nightly/release/build-publishworkflows.LockIME.xcodeproj/.../Package.resolved); no top-levelPackage.swiftis required.Config choices
cooldown.default-days: 3) so a malicious or broken release has time to be caught/yanked before it lands. Cooldown delays version updates only — security (CVE) updates still open immediately. (Swift supports per-semver-tier cooldown too; Actions supports only the flatdefault-days.)ci(deps)for Actions,build(deps)for Swift).Note
Dependabot loads this config only after it is merged into the default branch (
main).