build(deps): bump anthropics/claude-code-action from 1.0.82 to 1.0.83 #5
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: Kyosei | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| model: | ||
| description: Claude model to use | ||
| type: string | ||
| required: false | ||
| default: "opus[1m]" | ||
| allowed_bots: | ||
| description: >- | ||
| Comma-separated list of allowed bot usernames, or '*' to allow all bots. | ||
| Defaults to '*' because bots are not inherently more dangerous than humans. | ||
| type: string | ||
| required: false | ||
| default: "*" | ||
| allowed_tools: | ||
| description: >- | ||
| Allowed tools for Claude Code (newline-separated, replaces default set). | ||
| The defaults broadly allow tools the review agent is likely to need. | ||
| gh api is included because MCP sometimes fails to fetch inline comments. | ||
| type: string | ||
| required: false | ||
| default: | | ||
| Bash(gh api *issues/*/comments*) | ||
| Bash(gh api *pulls/*/comments*) | ||
| Bash(gh api *pulls/*/reviews*) | ||
| Bash(gh issue:*) | ||
| Bash(gh pr:*) | ||
| Bash(gh search:*) | ||
| Glob | ||
| Grep | ||
| Read | ||
| WebFetch | ||
| WebSearch | ||
| mcp__github | ||
| mcp__github_inline_comment__create_inline_comment | ||
| additional_allowed_tools: | ||
| description: Additional allowed tools to append to allowed_tools (newline-separated) | ||
| type: string | ||
| required: false | ||
| default: "" | ||
| claude_args: | ||
| description: Additional arguments to pass to Claude CLI | ||
| type: string | ||
| required: false | ||
| default: "" | ||
| use_bedrock: | ||
| description: Use Amazon Bedrock with OIDC authentication | ||
| type: boolean | ||
| required: false | ||
| default: false | ||
| use_vertex: | ||
| description: Use Google Vertex AI with OIDC authentication | ||
| type: boolean | ||
| required: false | ||
| default: false | ||
| use_foundry: | ||
| description: Use Microsoft Foundry with OIDC authentication | ||
| type: boolean | ||
| required: false | ||
| default: false | ||
| konoka_marketplace_url: | ||
| description: Git URL of the Konoka marketplace | ||
| type: string | ||
| required: false | ||
| default: "https://github.com/ncaq/konoka.git" | ||
| plugin_name: | ||
| description: Plugin identifier within the marketplace | ||
| type: string | ||
| required: false | ||
| default: "kyosei@konoka" | ||
| fetch-depth: | ||
| description: >- | ||
| Number of commits to fetch. | ||
| Fetches some history so git log can provide past context for reviews. | ||
| type: number | ||
| required: false | ||
| default: 50 | ||
| timeout-minutes: | ||
| description: Job timeout in minutes. Set as a safeguard against hangs. | ||
| type: number | ||
| required: false | ||
| default: 30 | ||
| # At least one secret is required. | ||
| # Typically only one is needed. | ||
| # If multiple are provided they are passed through to claude-code-action as-is. | ||
| secrets: | ||
| claude_code_oauth_token: | ||
| description: Claude Code OAuth token | ||
| required: false | ||
| anthropic_api_key: | ||
| description: Anthropic API key (alternative to OAuth token) | ||
| required: false | ||
| github_token: | ||
| description: >- | ||
| GitHub token for API access. | ||
| If omitted, claude-code-action uses Claude GitHub App token (claude[bot]). | ||
| required: false | ||
| # Claude GitHub App manages its own token, so only minimal permissions are needed. | ||
| # If the caller passes github_token explicitly, additional permissions | ||
| # (e.g. pull-requests: write) must be granted by the caller. | ||
| permissions: | ||
| contents: read # Read repository contents for checkout | ||
| id-token: write # Required for Claude Code Action OIDC authentication | ||
| jobs: | ||
| kyosei: | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: ${{ inputs['timeout-minutes'] }} | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: ${{ inputs['fetch-depth'] }} | ||
| - uses: ncaq/kyosei-action@2c9737dca963d78c7307db1967e52875621b29e1 # v0.1.0 | ||
| with: | ||
| claude_code_oauth_token: ${{ secrets.claude_code_oauth_token }} | ||
| anthropic_api_key: ${{ secrets.anthropic_api_key }} | ||
| github_token: ${{ secrets.github_token }} | ||
| model: ${{ inputs.model }} | ||
| allowed_bots: ${{ inputs.allowed_bots }} | ||
| allowed_tools: ${{ inputs.allowed_tools }} | ||
| additional_allowed_tools: ${{ inputs.additional_allowed_tools }} | ||
| claude_args: ${{ inputs.claude_args }} | ||
| use_bedrock: ${{ inputs.use_bedrock && 'true' || 'false' }} | ||
| use_vertex: ${{ inputs.use_vertex && 'true' || 'false' }} | ||
| use_foundry: ${{ inputs.use_foundry && 'true' || 'false' }} | ||
| konoka_marketplace_url: ${{ inputs.konoka_marketplace_url }} | ||
| plugin_name: ${{ inputs.plugin_name }} | ||