Skip to content

Commit 6be82e8

Browse files
committed
ci: point mock-api checkout at devicecloud-dev/dcd; docs: update CLAUDE.md
Update the cli-ci mock-api checkout from moropo-com/dcd to devicecloud-dev/dcd (org rename) so it no longer relies on the redirect, and refresh CLAUDE.md.
1 parent 97f8482 commit 6be82e8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/cli-ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
lint-and-test:
3737
runs-on: ubuntu-latest
3838

39-
# The mock-api lives in the private moropo-com/dcd repo, checked out via an
39+
# The mock-api lives in the private devicecloud-dev/dcd repo, checked out via an
4040
# SSH deploy key. GitHub does NOT expose secrets to pull_request workflows
4141
# triggered from forks, so that checkout (and the integration tests that need
4242
# it) can only run for same-repo events. Fork PRs still run lint/typecheck/build.
@@ -57,7 +57,7 @@ jobs:
5757
if: env.HAS_PRIVATE_ACCESS == 'true'
5858
uses: actions/checkout@v7
5959
with:
60-
repository: moropo-com/dcd
60+
repository: devicecloud-dev/dcd
6161
path: dcd
6262
ssh-key: ${{ secrets.DCD_SSH_DEPLOY_KEY }}
6363
# api/swagger.json is a file, which cone-mode sparse checkout rejects
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Skip integration tests (fork PR — no mock-api access)
108108
if: env.HAS_PRIVATE_ACCESS != 'true'
109-
run: echo "::notice::Integration tests skipped — the mock-api (private moropo-com/dcd) is not accessible from fork PRs. Lint, typecheck, and build still ran."
109+
run: echo "::notice::Integration tests skipped — the mock-api (private devicecloud-dev/dcd) is not accessible from fork PRs. Lint, typecheck, and build still ran."
110110

111111
- name: Build CLI
112112
working-directory: ./cli

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Full guide in `CONTRIBUTING.md`; the operationally important parts (the ones tha
5656
- Type → bump (pre-1.0, so `feat` and breaking `!` both bump **minor**): `feat` minor; `fix`/`perf`/`deps`/`revert`/`refactor` patch; `docs`/`chore`/`test`/`ci`/`build`/`style` are hidden and bump nothing. Allowed scopes are free-form.
5757
- **Never hand-edit `package.json` version, `CHANGELOG.md`, or the `.release-please-manifest*.json` files** — release-please owns all of them. `src/types/generated/schema.types.ts` is likewise generated (openapi-typescript).
5858
- A first-time contributor must sign the CLA (the CLA Assistant bot comments on the first PR); the CLA check must be green to merge.
59-
- **CI (`.github/workflows/cli-ci.yml`) runs on every PR** including forks: gitleaks secret scan, `pnpm lint`, `pnpm typecheck`, `pnpm build`, `pnpm audit --audit-level moderate`. The **integration tests need the private `moropo-com/dcd` mock-api** (cloned via the `DCD_SSH_DEPLOY_KEY` secret), and GitHub withholds secrets from fork and Dependabot PRs — so `pnpm test` is **skipped there** and a maintainer runs the full suite before merge. gitleaks also runs as a pre-commit hook (allowlist in `.gitleaks.toml`); without the binary installed the hook self-skips and CI is the backstop.
59+
- **CI (`.github/workflows/cli-ci.yml`) runs on every PR** including forks: gitleaks secret scan, `pnpm lint`, `pnpm typecheck`, `pnpm build`, `pnpm audit --audit-level moderate`. The **integration tests need the private `devicecloud-dev/dcd` mock-api** (cloned via the `DCD_SSH_DEPLOY_KEY` secret), and GitHub withholds secrets from fork and Dependabot PRs — so `pnpm test` is **skipped there** and a maintainer runs the full suite before merge. gitleaks also runs as a pre-commit hook (allowlist in `.gitleaks.toml`); without the binary installed the hook self-skips and CI is the backstop.
6060

6161
## Releases
6262

0 commit comments

Comments
 (0)