ci: run quality-gate checks on Cursor Origin Codebase - #223
Conversation
Origin-hosted repos do not execute GitHub Actions. Add Depot CI copies of the quality-gate workflows under .depot/ and allow autofix/report/review on nikoemme/nikcli so checks run from cursor.com/codebase. Publish, desktop, Railway, and Windows jobs stay GitHub-only. Co-authored-by: nicola.mattioli.95 <nicola.mattioli.95@gmail.com>
Dependency ReviewThe following issues were found:
License Issues.github/workflows/security.yml
OpenSSF Scorecard
Scanned Files
|
The workflow already started autofix for nikoemme/nikcli, but the script hard-skipped any repository other than nikomatt69/nikcli.
| run: ${{ matrix.settings.playwright }} | ||
|
|
||
| - name: Set OS-specific paths | ||
| run: | |
There was a problem hiding this comment.
This Depot test workflow is Linux-only (the matrix has a single linux entry and runs on depot-ubuntu-24.04-8), but the Set OS-specific paths step still carries the full Windows branch copied from .github/workflows/test.yml (backslashes, ${{ runner.temp }}\\nikcli-e2e, etc.). That branch is dead code on Depot runners and adds ~35 lines of noise. Since the goal stated in the PR is to keep Depot Linux-only, this whole if/else can collapse to just the else branch. Suggestion: remove lines 42-58 (the Windows if block) and unindent the Linux branch to sit directly under run: |. Only an actual suggestion — feel free to leave it as-is if you intentionally want byte-for-byte parity with the GitHub copy for diffability.
Issue for this PR
N/A — Origin-hosted CI for Cursor Codebase.
Type of change
What does this PR do?
This repo is currently a GitHub inbound mirror, so GitHub Actions stay the runner and Origin PRs are unavailable until the repo is detached.
Cursor Codebase CI (Depot/Buildkite) only runs on Origin-hosted repos. This change:
.depot/(validate, typecheck, test, generate, nix-eval, storybook, security)/autofixrun onnikoemme/nikclias well asnikomatt69/nikcliscript/ci-autofix.tsso Origin is not treated as the wrong repositoryAfter merge, to actually run CI on cursor.com/codebase:
How did you verify your code works?
bun test test/release/ci-coherence.test.ts test/release/ci-integration.test.ts test/release/ci-targeted.test.ts test/release/automation.test.ts— all passing.Checklist