[BUG]
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: <!-- output of
claude --version-->
1.0.53 (Claude Code)
- Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
macOS 15.5
- Terminal: <!-- e.g. iTerm2, Terminal App -->
iTerm2
Bug Description
<!-- A clear and concise description of the bug -->
I followed the instructions in [https://docs.anthropic.com/en/docs/claude-code/github-actions#turn-issues-into-prs](url) to setuup Claude Code Github Actions. I followed the Quick Setup and ran /install-github-app locally in my Claude Code session. I completed the interactive flow where I install the Claude Github app, configure it, a PR with the claude-code-review.yml and claude.yml is opened and I merged it accordingly.
I tested it by using @claude in a PR and it successfully made the required changes and a new commit. However, the Claude Code Review fails. I've attached a screenshot showing what fails and the errors.
CLAUDE_CODE_OAUTH_TOKEN is setup in my repository secrets as well.
Steps to Reproduce
- Follow the Quick Setup actions in the attached link to setup Claude Code GitHub Actions
- Test it by seeing if the flow I explained succeeds..
Expected Behavior
<!-- What you expected to happen -->
I expect it to not fail and succeed.
Actual Behavior
<!-- What actually happened -->
It fails.
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
Screenshot
<img width="1422" height="802" alt="Image" src="https://github.com/user-attachments/assets/aabb80de-69aa-4aad-b003-c71f3e97718d" />
Run Claude Code Review Logs
+ @actions/github@6.0.1
+ @modelcontextprotocol/sdk@1.11.0
+ @octokit/graphql@8.2.2
+ @octokit/rest@21.1.1
+ @octokit/webhooks-types@7.6.1
+ node-fetch@3.3.2
+ zod@3.24.4
141 packages installed [477.00ms]
##[debug]Finished: run
##[debug]Evaluating: inputs.trigger_phrase
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'trigger_phrase'
##[debug]=> '@claude'
##[debug]Result: '@claude'
##[debug]Evaluating: inputs.assignee_trigger
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'assignee_trigger'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.label_trigger
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'label_trigger'
##[debug]=> 'claude'
##[debug]Result: 'claude'
##[debug]Evaluating: inputs.base_branch
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'base_branch'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.branch_prefix
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'branch_prefix'
##[debug]=> 'claude/'
##[debug]Result: 'claude/'
##[debug]Evaluating: inputs.allowed_tools
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'allowed_tools'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.disallowed_tools
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'disallowed_tools'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.custom_instructions
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'custom_instructions'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.direct_prompt
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'direct_prompt'
##[debug]=> 'Please review this pull request and provide feedback on:
##[debug]- Code quality and best practices
##[debug]- Potential bugs or issues
##[debug]- Performance considerations
##[debug]- Security concerns
##[debug]- Test coverage
##[debug]
##[debug]Be constructive and helpful in your feedback.
##[debug]'
##[debug]Result: 'Please review this pull request and provide feedback on:
##[debug]- Code quality and best practices
##[debug]- Potential bugs or issues
##[debug]- Performance considerations
##[debug]- Security concerns
##[debug]- Test coverage
##[debug]
##[debug]Be constructive and helpful in your feedback.
##[debug]'
##[debug]Evaluating: inputs.mcp_config
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'mcp_config'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.github_token
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'github_token'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: github.run_id
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'run_id'
##[debug]=> '[run-id]'
##[debug]Result: '[run-id]'
##[debug]Evaluating: inputs.use_sticky_comment
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'use_sticky_comment'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: inputs.additional_permissions
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'additional_permissions'
##[debug]=> ''
##[debug]Result: ''
##[debug]Evaluating: inputs.use_commit_signing
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'use_commit_signing'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: run
##[debug]Loading inputs
##[debug]Loading env
Run bun run ${GITHUB_ACTION_PATH}/src/entrypoints/prepare.ts
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/e364c260-464e-4af1-ab94-9bf6be18f955.sh
Requesting OIDC token...
Attempt 1 of 3...
##[debug]ID token url is [oidc-token-url]
::add-mask::***
OIDC token successfully obtained
Exchanging OIDC token for app token...
Attempt 1 of 3...
App token exchange failed: 401 Unauthorized - User does not have write access on this repository
Attempt 1 failed: User does not have write access on this repository
Retrying in 5 seconds...
Attempt 2 of 3...
App token exchange failed: 401 Unauthorized - User does not have write access on this repository
Retrying in 10 seconds...
Attempt 2 failed: User does not have write access on this repository
Attempt 3 of 3...
App token exchange failed: 401 Unauthorized - User does not have write access on this repository
Attempt 3 failed: User does not have write access on this repository
Operation failed after 3 attempts
Error: Failed to setup GitHub token: Error: User does not have write access on this repository.
If you instead wish to use this action with a custom GitHub token or custom GitHub app, provide a `github_token` in the `uses` section of the app in your workflow yml file.
Error: Process completed with exit code 1.
##[debug]Finished: run
##[debug]Evaluating: (inputs.model || inputs.anthropic_model)
##[debug]Evaluating Or:
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'model'
##[debug]..=> ''
##[debug]..Evaluating Index:
##[debug]....Evaluating inputs:
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'anthropic_model'
##[debug]..=> ''
##[debug]=> ''
##[debug]Expanded: ('' || '')
##[debug]Result: ''
##[debug]Evaluating: steps.prepare.outputs.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.NODE_VERSION
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'NODE_VERSION'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.ANTHROPIC_BASE_URL
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ANTHROPIC_BASE_URL'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.AWS_REGION
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_REGION'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.AWS_ACCESS_KEY_ID
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_ACCESS_KEY_ID'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.AWS_SECRET_ACCESS_KEY
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_SECRET_ACCESS_KEY'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.AWS_SESSION_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_SESSION_TOKEN'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.ANTHROPIC_BEDROCK_BASE_URL
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ANTHROPIC_BEDROCK_BASE_URL'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.ANTHROPIC_VERTEX_PROJECT_ID
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ANTHROPIC_VERTEX_PROJECT_ID'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.CLOUD_ML_REGION
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'CLOUD_ML_REGION'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.GOOGLE_APPLICATION_CREDENTIALS
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GOOGLE_APPLICATION_CREDENTIALS'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.ANTHROPIC_VERTEX_BASE_URL
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ANTHROPIC_VERTEX_BASE_URL'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.VERTEX_REGION_CLAUDE_3_5_HAIKU
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'VERTEX_REGION_CLAUDE_3_5_HAIKU'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.VERTEX_REGION_CLAUDE_3_5_SONNET
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'VERTEX_REGION_CLAUDE_3_5_SONNET'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: env.VERTEX_REGION_CLAUDE_3_7_SONNET
##[debug]Evaluating Index:
##[debug]..Evaluating env:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'VERTEX_REGION_CLAUDE_3_7_SONNET'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: (success() && (steps.prepare.outputs.contains_trigger == 'true'))
##[debug]Evaluating And:
##[debug]..Evaluating success:
##[debug]..=> false
##[debug]=> false
##[debug]Expanded: (false && (steps['prepare']['outputs']['contains_trigger'] == 'true'))
##[debug]Result: false
##[debug]Evaluating: github.repository
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'repository'
##[debug]=> '[username]/[repo-name]'
##[debug]Result: '[username]/[repo-name]'
##[debug]Evaluating: (github.event.issue.number || github.event.pull_request.number)
##[debug]Evaluating Or:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating github:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'event'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'issue'
##[debug]....=> null
##[debug]..=> null
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating github:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'event'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'pull_request'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'number'
##[debug]..=> 5
##[debug]=> 5
##[debug]Expanded: (null || 5)
##[debug]Result: 5
##[debug]Evaluating: steps.prepare.outputs.claude_comment_id
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'claude_comment_id'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: github.run_id
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'run_id'
##[debug]=> '[run-id]'
##[debug]Result: '[run-id]'
##[debug]Evaluating: steps.prepare.outputs.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: github.event_name
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'event_name'
##[debug]=> 'pull_request'
##[debug]Result: 'pull_request'
##[debug]Evaluating: github.event.comment.id
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating github:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'event'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'comment'
##[debug]..=> null
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: steps.prepare.outputs.CLAUDE_BRANCH
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'CLAUDE_BRANCH'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: ((github.event.issue.pull_request != null) || (github.event_name == 'pull_request_review_comment'))
##[debug]Evaluating Or:
##[debug]..Evaluating NotEqual:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating Index:
##[debug]..........Evaluating github:
##[debug]..........=> Object
##[debug]..........Evaluating String:
##[debug]..........=> 'event'
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'issue'
##[debug]......=> null
##[debug]....=> null
##[debug]....Evaluating Null:
##[debug]....=> null
##[debug]..=> false
##[debug]..Evaluating Equal:
##[debug]....Evaluating Index:
##[debug]......Evaluating github:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'event_name'
##[debug]....=> 'pull_request'
##[debug]....Evaluating String:
##[debug]....=> 'pull_request_review_comment'
##[debug]..=> false
##[debug]=> false
##[debug]Expanded: ((null != null) || ('pull_request' == 'pull_request_review_comment'))
##[debug]Result: false
##[debug]Evaluating: steps.prepare.outputs.BASE_BRANCH
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'BASE_BRANCH'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: (steps.claude-code.outputs.conclusion == 'success')
##[debug]Evaluating Equal:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'claude-code'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'conclusion'
##[debug]..=> null
##[debug]..Evaluating String:
##[debug]..=> 'success'
##[debug]=> false
##[debug]Expanded: (null == 'success')
##[debug]Result: false
##[debug]Evaluating: (steps.claude-code.outputs.execution_file || '')
##[debug]Evaluating Or:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'claude-code'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'execution_file'
##[debug]..=> null
##[debug]..Evaluating String:
##[debug]..=> ''
##[debug]=> ''
##[debug]Expanded: (null || '')
##[debug]Result: ''
##[debug]Evaluating: (github.event.comment.user.login || github.event.issue.user.login || github.event.pull_request.user.login || github.event.sender.login || github.triggering_actor || github.actor || '')
##[debug]Evaluating Or:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating Index:
##[debug]..........Evaluating github:
##[debug]..........=> Object
##[debug]..........Evaluating String:
##[debug]..........=> 'event'
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'comment'
##[debug]......=> null
##[debug]....=> null
##[debug]..=> null
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating Index:
##[debug]..........Evaluating github:
##[debug]..........=> Object
##[debug]..........Evaluating String:
##[debug]..........=> 'event'
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'issue'
##[debug]......=> null
##[debug]....=> null
##[debug]..=> null
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating Index:
##[debug]..........Evaluating github:
##[debug]..........=> Object
##[debug]..........Evaluating String:
##[debug]..........=> 'event'
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'pull_request'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'user'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'login'
##[debug]..=> '[username]'
##[debug]=> '[username]'
##[debug]Expanded: (null || null || '[username]' || github['event']['sender']['login'] || github['triggering_actor'] || github['actor'] || '')
##[debug]Result: '[username]'
##[debug]Evaluating: (steps.prepare.outcome == 'success')
##[debug]Evaluating Equal:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outcome'
##[debug]..=> 'failure'
##[debug]..Evaluating String:
##[debug]..=> 'success'
##[debug]=> false
##[debug]Expanded: ('failure' == 'success')
##[debug]Result: false
##[debug]Evaluating: (steps.prepare.outputs.prepare_error || '')
##[debug]Evaluating Or:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'prepare'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'prepare_error'
##[debug]..=> null
##[debug]..Evaluating String:
##[debug]..=> ''
##[debug]=> ''
##[debug]Expanded: (null || '')
##[debug]Result: ''
##[debug]Evaluating: inputs.use_sticky_comment
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'use_sticky_comment'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating: inputs.use_commit_signing
##[debug]Evaluating Index:
##[debug]..Evaluating inputs:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'use_commit_signing'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: ((steps.prepare.outputs.contains_trigger == 'true') && steps.prepare.outputs.claude_comment_id && always())
##[debug]Evaluating And:
##[debug]..Evaluating Equal:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating Index:
##[debug]..........Evaluating steps:
##[debug]..........=> Object
##[debug]..........Evaluating String:
##[debug]..........=> 'prepare'
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'outputs'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'contains_trigger'
##[debug]....=> null
##[debug]....Evaluating String:
##[debug]....=> 'true'
##[debug]..=> false
##[debug]=> false
##[debug]Expanded: ((null == 'true') && steps['prepare']['outputs']['claude_comment_id'] && always())
##[debug]Result: false
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: (success() && (steps.prepare.outputs.contains_trigger == 'true') && (steps.claude-code.outputs.execution_file != ''))
##[debug]Evaluating And:
##[debug]..Evaluating success:
##[debug]..=> false
##[debug]=> false
##[debug]Expanded: (false && (steps['prepare']['outputs']['contains_trigger'] == 'true') && (steps['claude-code']['outputs']['execution_file'] != ''))
##[debug]Result: false
##[debug]Evaluating condition for step: 'run'
##[debug]Evaluating: (always() && (inputs.github_token == ''))
##[debug]Evaluating And:
##[debug]..Evaluating always:
##[debug]..=> true
##[debug]..Evaluating Equal:
##[debug]....Evaluating Index:
##[debug]......Evaluating inputs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'github_token'
##[debug]....=> ''
##[debug]....Evaluating String:
##[debug]....=> ''
##[debug]..=> true
##[debug]=> true
##[debug]Expanded: (true && ('' == ''))
##[debug]Result: true
##[debug]Starting: run
##[debug]Loading inputs
##[debug]Evaluating: format('curl -L \
##[debug] -X DELETE \
##[debug] -H "Accept: application/vnd.github+json" \
##[debug] -H "Authorization: ***" \
##[debug] -H "X-GitHub-Api-Version: 2022-11-28" \
##[debug] ${{GITHUB_API_URL:-https://api.github.com}}/installation/token
##[debug]', steps.prepare.outputs.GITHUB_TOKEN)
##[debug]Evaluating format:
##[debug]..Evaluating String:
##[debug]..=> 'curl -L \
##[debug] -X DELETE \
##[debug] -H "Accept: application/vnd.github+json" \
##[debug] -H "Authorization: ***" \
##[debug] -H "X-GitHub-Api-Version: 2022-11-28" \
##[debug] ${{GITHUB_API_URL:-https://api.github.com}}/installation/token
##[debug]'
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating Index:
##[debug]........Evaluating steps:
##[debug]........=> Object
##[debug]........Evaluating String:
##[debug]........=> 'prepare'
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'outputs'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'GITHUB_TOKEN'
##[debug]..=> null
##[debug]=> 'curl -L \
##[debug] -X DELETE \
##[debug] -H "Accept: application/vnd.github+json" \
##[debug] -H "Authorization: Bearer " \
##[debug] -H "X-GitHub-Api-Version: 2022-11-28" \
##[debug] ${GITHUB_API_URL:-https://api.github.com}/installation/token
##[debug]'
##[debug]Result: 'curl -L \
##[debug] -X DELETE \
##[debug] -H "Accept: application/vnd.github+json" \
##[debug] -H "Authorization: Bearer " \
##[debug] -H "X-GitHub-Api-Version: 2022-11-28" \
##[debug] ${GITHUB_API_URL:-https://api.github.com}/installation/token
##[debug]'
##[debug]Loading env
Run curl -L \
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/8c97154c-63b3-4894-808d-09692055f3cf.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
{
100 109 100 109 0 0 1118 0 --:--:-- --:--:-- --:--:-- 1123
"message": "Bad credentials",
"documentation_url": "https://docs.github.com/rest",
"status": "401"
}
##[debug]Finished: run
##[debug]Evaluating: steps.claude-code.outputs.execution_file
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'claude-code'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'execution_file'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: steps.prepare.outputs.CLAUDE_BRANCH
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'prepare'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'CLAUDE_BRANCH'
##[debug]=> null
##[debug]Result: null
##[debug]Finishing: Run Claude Code ReviewThis issue has 2 comments on GitHub. Read the full discussion on GitHub ↗