Removed default values from action file

This commit is contained in:
2026-03-31 16:53:11 +07:00
parent 5e012d318b
commit ba4785603e

View File

@@ -10,23 +10,23 @@ inputs:
model: model:
description: 'Claude model to use' description: 'Claude model to use'
required: false required: false
default: '/int/reviewer/default' default: ''
cc_bgmodel: cc_bgmodel:
description: 'Background Claude model to use' description: 'Background Claude model to use'
required: false required: false
default: '/int/reviewer/background' default: ''
cc_metric_url: cc_metric_url:
description: 'Base URL for the metrics API endpoint' description: 'Base URL for the metrics API endpoint'
required: false required: false
default: 'http://172.16.2.6:4317' default: ''
cc_base_url: cc_base_url:
description: 'Base URL for the Claude API endpoint' description: 'Base URL for the Claude API endpoint'
required: false required: false
default: 'https://llm.developertools.pro' default: ''
enable_reviewer_verification: enable_reviewer_verification:
description: 'Whether to verify that the bot is assigned as a reviewer before running' description: 'Whether to verify that the bot is assigned as a reviewer before running'
required: false required: false
default: 'true' default: ''
team_name: team_name:
description: 'Team name for telemetry/metrics attribution' description: 'Team name for telemetry/metrics attribution'
required: false required: false
@@ -54,7 +54,7 @@ inputs:
server: server:
description: 'Gitea server URL' description: 'Gitea server URL'
required: false required: false
default: 'https://code.wynenterprise.io' default: ''
repo_owner: repo_owner:
description: 'Repository owner (defaults to GITHUB_REPOSITORY owner)' description: 'Repository owner (defaults to GITHUB_REPOSITORY owner)'
required: false required: false
@@ -105,27 +105,27 @@ runs:
if: steps.check.outputs.run == 'true' if: steps.check.outputs.run == 'true'
shell: bash shell: bash
env: env:
CC_BASE_URL: ${{ inputs.cc_base_url }} CC_BASE_URL: ${{ inputs.cc_base_url || env.CC_BASE_URL }}
CC_API_KEY: ${{ inputs.anthropic_api_key }} CC_API_KEY: ${{ inputs.anthropic_api_key || env.CC_API_KEY }}
CC_MODEL: ${{ inputs.model }} CC_MODEL: ${{ inputs.model || env.CC_MODEL }}
CC_BGMODEL: ${{ inputs.cc_bgmodel }} CC_BGMODEL: ${{ inputs.cc_bgmodel || env.CC_BGMODEL }}
CC_METRIC_URL: ${{ inputs.cc_metric_url }} CC_METRIC_URL: ${{ inputs.cc_metric_url || env.CC_METRIC_URL }}
VCS_ACCESS_TOKEN: ${{ inputs.gitea_token }} VCS_ACCESS_TOKEN: ${{ inputs.gitea_token || env.VCS_ACCESS_TOKEN }}
TEAM_NAME: ${{ inputs.team_name || github.repository_owner }} TEAM_NAME: ${{ inputs.team_name || env.TEAM_NAME || github.repository_owner }}
SERVER: ${{ inputs.server }} SERVER: ${{ inputs.server || env.SERVER }}
ENABLE_REVIEWER_VERIFICATION: ${{ inputs.enable_reviewer_verification }} ENABLE_REVIEWER_VERIFICATION: ${{ inputs.enable_reviewer_verification || env.ENABLE_REVIEWER_VERIFICATION }}
LOG_LEVEL: ${{ inputs.log_level }} LOG_LEVEL: ${{ inputs.log_level || env.LOG_LEVEL }}
OPTIONS_TYPE: ${{ inputs.options_type }} OPTIONS_TYPE: ${{ inputs.options_type || env.OPTIONS_TYPE }}
CC_PROMPT: ${{ inputs.cc_prompt }} CC_PROMPT: ${{ inputs.cc_prompt || env.CC_PROMPT }}
CC_ALLOWED_TOOL: ${{ inputs.cc_allowed_tool }} CC_ALLOWED_TOOL: ${{ inputs.cc_allowed_tool || env.CC_ALLOWED_TOOL }}
CC_DISALLOWED_TOOL: ${{ inputs.cc_disallowed_tool }} CC_DISALLOWED_TOOL: ${{ inputs.cc_disallowed_tool || env.CC_DISALLOWED_TOOL }}
REPO_OWNER: ${{ inputs.repo_owner }} REPO_OWNER: ${{ inputs.repo_owner || env.REPO_OWNER }}
REPO_SLUG: ${{ inputs.repo_slug }} REPO_SLUG: ${{ inputs.repo_slug || env.REPO_SLUG }}
SOURCE_BRANCH: ${{ inputs.source_branch }} SOURCE_BRANCH: ${{ inputs.source_branch || env.SOURCE_BRANCH }}
SOURCE_COMMIT: ${{ inputs.source_commit }} SOURCE_COMMIT: ${{ inputs.source_commit || env.SOURCE_COMMIT }}
PR_ID: ${{ inputs.pr_id }} PR_ID: ${{ inputs.pr_id || env.PR_ID }}
PR_DESTINATION_BRANCH: ${{ inputs.pr_destination_branch }} PR_DESTINATION_BRANCH: ${{ inputs.pr_destination_branch || env.PR_DESTINATION_BRANCH }}
PR_DESTINATION_COMMIT: ${{ inputs.pr_destination_commit }} PR_DESTINATION_COMMIT: ${{ inputs.pr_destination_commit || env.PR_DESTINATION_COMMIT }}
run: /pipe.sh run: /pipe.sh
branding: branding: