fix(reusable): correct preflight script path to .openci/.github/scripts/#149
Conversation
Scripts live in OpenCI and are vendored to .openci/ by resolve-openci.
All four callers were referencing .github/scripts/ (the caller repo's own
tree, where the scripts don't exist), causing exit 127 on Probe secrets.
- reusable-ci.yml: resolve-openci already ran; just fix the path
- reusable-stg.yml: resolve-openci already ran; just fix the path (2 calls)
- reusable-prd.yml: resolve-openci already ran; just fix the path (2 calls)
- reusable-pr.yml: preflight had no OpenCI vendor at all; add
resolve-openci step before Probe secrets and fix path.
Same fix applied to verify-sha job.
Fixes #148
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR redirects script invocations across four reusable GitHub Actions workflows to use a vendored OpenCI repository checkout at ChangesWorkflow Script Path Migration to Vendored OpenCI
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|



Fixes #148
Root Cause
All reusable workflows vendor OpenCI into
.openci/viaresolve-openci, so scripts land at.openci/.github/scripts/. But four workflows were callingbash .github/scripts/preflight-secrets.sh— referencing the caller repo's own tree where the scripts don't exist — causing exit 127 on the Probe secrets step.reusable-pr.ymlhad an additional issue: thepreflightjob had no OpenCI vendor step at all, so there was nothing to call.Changes
reusable-ci.yml.github/→.openci/.github/reusable-stg.yml.github/→.openci/.github/(2 calls)reusable-prd.yml.github/→.openci/.github/(2 calls)reusable-pr.ymlpreflightresolve-opencistep + fix pathreusable-pr.ymlverify-sharesolve-opencistep + fix pathTest plan
Need help on this PR? Tag
@codesmithwith what you need.Summary by CodeRabbit