diff --git a/.github/workflows/claude.yaml b/.github/workflows/claude.yaml index 461fda2e..cd31ef69 100644 --- a/.github/workflows/claude.yaml +++ b/.github/workflows/claude.yaml @@ -22,10 +22,22 @@ jobs: with: fetch-depth: 0 + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "24" + cache: "pnpm" + + - run: pnpm install --frozen-lockfile + - uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} + show_full_output: true + claude_args: | + --allowedTools "Bash(pnpm:*),Bash(gh:*)" prompt: | You are acting on the Dojo documentation repo. The project-level CLAUDE.md and the files in `spec/` (style-guide.md, page-types.md, best-practices.md) are the source of truth for writing conventions — read them before drafting changes.