ci: enable dependabot auto-merge for StartOS companion dependencies - #72
Conversation
- Support git commit SHA bumps for cln-startos and lnd-startos in dependabot-auto-merge workflow - Group cln-startos and lnd-startos into startos-packages group in dependabot.yml to prevent PR fragmentation - Add unit tests validating dependabot configuration and auto-merge workflow filters - Retain fail-closed gates requiring 100% build and test suite pass before squash merge
Greptile SummaryThe PR enables grouped Dependabot updates and auto-merge eligibility for the StartOS companion packages while retaining the existing build gate.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .github/dependabot.yml | Adds the companion dependencies to a dedicated Dependabot update group. |
| .github/workflows/dependabot-auto-merge.yml | Expands identical approval and merge predicates to the intended companion and GitHub Actions updates. |
| tests/ci_auto_merge.test.ts | Parses both YAML configurations structurally and evaluates the workflow predicate from the parsed condition. |
| package.json | Declares the YAML parser needed by the new CI-policy test. |
| package-lock.json | Locks the newly declared YAML development dependency consistently. |
Reviews (3): Last reviewed commit: "build(deps): add yaml devDependency and ..." | Re-trigger Greptile
…boolean evaluation
|
@greptile-apps All feedback has been resolved in commit 5b2b7d7: replaced text-only assertions with full YAML AST parsing and boolean semantic evaluation. Please perform a targeted re-review on the latest commit. |
|
@greptile-apps All feedback has been resolved in commit 14cd266: added yaml to devDependencies in package.json, regenerated lockfile, and refactored test to evaluate parsed condition expression directly. Please perform a targeted re-review on the latest commit. |
Summary of Changes
This PR resolves the issue where Dependabot PRs for StartOS companion packages (
cln-startos,lnd-startos) were not auto-merging:Auto-Merge Workflow Alignment:
.github/workflows/dependabot-auto-merge.ymlto explicitly match git commit updates forcln-startosandlnd-startosalongside SemVer minor/patch and GitHub Actions updates.Dependabot Grouping:
startos-packagesgrouping in.github/dependabot.ymlto bundlecln-startosandlnd-startosupdates into a single consolidated PR instead of multiple separate PRs.Automated Verification:
tests/ci_auto_merge.test.tsverifying dependabot configuration, eligibility guards, and approval/merge condition equivalence.