Repository navigation
jiachen: add MCode Review, PR review that has to prove its findings #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: validate | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Full history, so the version bump check can find the merge base. | |
| fetch-depth: 0 | |
| - name: Fetch the official plugin validator from MiniMax Code | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: MiniMax-AI/minimax-code | |
| path: .minimax-code | |
| sparse-checkout: | | |
| tools/plugins | |
| schemas/plugins | |
| sparse-checkout-cone-mode: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Test the MCode Review code in stacks/jiachen | |
| working-directory: stacks/jiachen | |
| run: node --test ci/test/*.test.mjs skills/pr-review-tuning/scripts/test/*.test.mjs | |
| - name: Check all stacks | |
| env: | |
| MINIMAX_CODE_DIR: .minimax-code | |
| # Empty on pushes to main, which skips the version bump check. | |
| CHECK_BASE: ${{ github.event.pull_request.base.sha }} | |
| run: node scripts/check.mjs |