CI: pin claude-code-action to last working version (#32026)

This commit is contained in:
andig 2026-07-21 18:28:51 +02:00 • committed by GitHub
parent 36227559c0
commit 459f5f1007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View file

@ -100,7 +100,9 @@ jobs:
- name: Run Claude Code Review
id: review
continue-on-error: true # always report status below, even on failure
uses: anthropics/claude-code-action@v1
# pinned: v1 (Claude Code 2.1.216) fails every Bash call with
# "bwrap: Can't create file at /home/.mcp.json: Permission denied"
uses: anthropics/claude-code-action@af0559ee4f514d1ef21826982bed13f7edc3c35e # v1 @ 2.1.215
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Provided explicitly so the review can post on fork PRs; also required

View file

@ -49,7 +49,9 @@ jobs:
fetch-depth: 0
- name: Run Claude
uses: anthropics/claude-code-action@v1
# pinned: v1 (Claude Code 2.1.216) fails every Bash call with
# "bwrap: Can't create file at /home/.mcp.json: Permission denied"
uses: anthropics/claude-code-action@af0559ee4f514d1ef21826982bed13f7edc3c35e # v1 @ 2.1.215
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -45,7 +45,9 @@ jobs:
fetch-depth: 0
- name: Run Claude PR Labeler
uses: anthropics/claude-code-action@v1
# pinned: v1 (Claude Code 2.1.216) fails every Bash call with
# "bwrap: Can't create file at /home/.mcp.json: Permission denied"
uses: anthropics/claude-code-action@af0559ee4f514d1ef21826982bed13f7edc3c35e # v1 @ 2.1.215
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}