Conversation
- Renovate PR #27161 attempted to bump @actions/core to v3, which broke the Ghost-CLI CI job because v3 dropped the CJS entry point that our scripts rely on via `require()` - the package was only used in two places (bump-version.js for setOutput and mocha-retry-reporter.js for warning annotations), both of which are trivial to replace with direct workflow command output - removing the dependency entirely is simpler than pinning or migrating to ESM, and avoids future breakage from upstream changes
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
WalkthroughThe 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27265 +/- ##
=======================================
Coverage 73.45% 73.45%
=======================================
Files 1545 1545
Lines 123645 123663 +18
Branches 14956 14959 +3
=======================================
+ Hits 90822 90841 +19
+ Misses 31824 31803 -21
- Partials 999 1019 +20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
More copy-pasta than anticipated. Closing in favour of #27272 |



Summary
@actions/coredevDependency from bothpackage.jsonandghost/core/package.jsoncore.setOutputin.github/scripts/bump-version.jswith a minimal helper that writes directly to$GITHUB_OUTPUTcore.warninginghost/core/test/utils/mocha-retry-reporter.jswith a helper that prints the::warning file=,line=,col=::messageworkflow command (with proper escaping)Why
Renovate PR #27161 attempted to bump
@actions/coreto v3, which broke the Ghost-CLI CI job:v3 dropped the CJS entry point that our two usages rely on via
require(). Since both usages are trivial — onesetOutputcall and onewarningcall — it's simpler to emit the workflow commands directly and drop the dependency entirely than to pin the version or migrate to ESM. This also closes #27161.Testing
node .github/scripts/bump-version.js canaryemits the expectedBUILD_VERSION/GIT_COMMIT_HASHoutputsmocha-retry-reporter.jsloads cleanlyyarn installruns clean and@actions/coreis no longer present inyarn.lock