Skip to content

Commit 144ea9e

Browse files
committed
ci: use ephemeral pro submodule auth [Story PRO-13.5]
1 parent eb35565 commit 144ea9e

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/pro-integration.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ jobs:
8888
PRO_SUBMODULE_TOKEN: ${{ secrets.PRO_SUBMODULE_TOKEN }}
8989
run: |
9090
echo "::add-mask::$PRO_SUBMODULE_TOKEN"
91-
cleanup_pro_submodule_token() {
92-
git config --local --unset-all url."https://x-access-token:${PRO_SUBMODULE_TOKEN}@github.com/SynkraAI/".insteadOf || true
93-
}
94-
trap cleanup_pro_submodule_token EXIT
95-
git config --local url."https://x-access-token:${PRO_SUBMODULE_TOKEN}@github.com/SynkraAI/".insteadOf "https://github.com/SynkraAI/"
91+
export GIT_CONFIG_COUNT=1
92+
export GIT_CONFIG_KEY_0="url.https://x-access-token:${PRO_SUBMODULE_TOKEN}@github.com/SynkraAI/.insteadOf"
93+
export GIT_CONFIG_VALUE_0="https://github.com/SynkraAI/"
9694
git submodule sync --recursive
9795
git submodule update --init --recursive
9896

docs/stories/epic-pro-13/STORY-PRO-13.5-PRIVATE-PRO-DISTRIBUTION-HARDENING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Expected implementation touchpoints:
466466
- 2026-05-12: Student install incident triage confirmed the unscoped `npx aiox-pro recover/install/setup` path is invalid for fresh machines; installer and docs now point recovery to `npx -y @aiox-squads/aiox-pro-cli@latest recover` and setup to `npx -y -p @aiox-squads/core@latest aiox pro setup`.
467467
- 2026-05-12: `@aiox-squads/installer` bumped to `3.3.2` and `@aiox-squads/aiox-pro-cli` bumped to `0.2.1` so @devops can publish the signed-artifact installer and scoped CLI command fix.
468468
- 2026-05-12: GitHub Pro Integration checkout fixed to use `GITHUB_TOKEN` for the `aiox-core` PR merge ref and reserve `PRO_SUBMODULE_TOKEN` for private Pro submodule initialization only.
469-
- 2026-05-12: CodeRabbit PR follow-up applied: Pro Integration now stores the credentialized submodule URL in repo-local git config with `trap` cleanup, and Pro wizard tests use repository-absolute package imports.
469+
- 2026-05-12: CodeRabbit PR follow-up applied: Pro Integration now injects the credentialized submodule URL through process-scoped `GIT_CONFIG_*` environment variables, and Pro wizard tests use repository-absolute package imports.
470470
- Validation evidence:
471471
- `node -c packages/installer/src/wizard/pro-setup.js && node -c packages/aiox-pro-cli/bin/aiox-pro.js && node -c bin/utils/validate-publish.js`
472472
- `node -c packages/installer/src/pro/pro-scaffolder.js && node -c pro/license/license-api.js && node -c .aiox-core/cli/commands/pro/index.js`

0 commit comments

Comments
 (0)