From ba4785603eb59a4049a1273cb50f1bc7b50dac5e Mon Sep 17 00:00:00 2001 From: Alexey Efimchik Date: Tue, 31 Mar 2026 16:53:11 +0700 Subject: [PATCH] Removed default values from action file --- action.yml | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/action.yml b/action.yml index ec4d27b..2a22ae8 100644 --- a/action.yml +++ b/action.yml @@ -10,23 +10,23 @@ inputs: model: description: 'Claude model to use' required: false - default: '/int/reviewer/default' + default: '' cc_bgmodel: description: 'Background Claude model to use' required: false - default: '/int/reviewer/background' + default: '' cc_metric_url: description: 'Base URL for the metrics API endpoint' required: false - default: 'http://172.16.2.6:4317' + default: '' cc_base_url: description: 'Base URL for the Claude API endpoint' required: false - default: 'https://llm.developertools.pro' + default: '' enable_reviewer_verification: description: 'Whether to verify that the bot is assigned as a reviewer before running' required: false - default: 'true' + default: '' team_name: description: 'Team name for telemetry/metrics attribution' required: false @@ -54,7 +54,7 @@ inputs: server: description: 'Gitea server URL' required: false - default: 'https://code.wynenterprise.io' + default: '' repo_owner: description: 'Repository owner (defaults to GITHUB_REPOSITORY owner)' required: false @@ -105,27 +105,27 @@ runs: if: steps.check.outputs.run == 'true' shell: bash env: - CC_BASE_URL: ${{ inputs.cc_base_url }} - CC_API_KEY: ${{ inputs.anthropic_api_key }} - CC_MODEL: ${{ inputs.model }} - CC_BGMODEL: ${{ inputs.cc_bgmodel }} - CC_METRIC_URL: ${{ inputs.cc_metric_url }} - VCS_ACCESS_TOKEN: ${{ inputs.gitea_token }} - TEAM_NAME: ${{ inputs.team_name || github.repository_owner }} - SERVER: ${{ inputs.server }} - ENABLE_REVIEWER_VERIFICATION: ${{ inputs.enable_reviewer_verification }} - LOG_LEVEL: ${{ inputs.log_level }} - OPTIONS_TYPE: ${{ inputs.options_type }} - CC_PROMPT: ${{ inputs.cc_prompt }} - CC_ALLOWED_TOOL: ${{ inputs.cc_allowed_tool }} - CC_DISALLOWED_TOOL: ${{ inputs.cc_disallowed_tool }} - REPO_OWNER: ${{ inputs.repo_owner }} - REPO_SLUG: ${{ inputs.repo_slug }} - SOURCE_BRANCH: ${{ inputs.source_branch }} - SOURCE_COMMIT: ${{ inputs.source_commit }} - PR_ID: ${{ inputs.pr_id }} - PR_DESTINATION_BRANCH: ${{ inputs.pr_destination_branch }} - PR_DESTINATION_COMMIT: ${{ inputs.pr_destination_commit }} + CC_BASE_URL: ${{ inputs.cc_base_url || env.CC_BASE_URL }} + CC_API_KEY: ${{ inputs.anthropic_api_key || env.CC_API_KEY }} + CC_MODEL: ${{ inputs.model || env.CC_MODEL }} + CC_BGMODEL: ${{ inputs.cc_bgmodel || env.CC_BGMODEL }} + CC_METRIC_URL: ${{ inputs.cc_metric_url || env.CC_METRIC_URL }} + VCS_ACCESS_TOKEN: ${{ inputs.gitea_token || env.VCS_ACCESS_TOKEN }} + TEAM_NAME: ${{ inputs.team_name || env.TEAM_NAME || github.repository_owner }} + SERVER: ${{ inputs.server || env.SERVER }} + ENABLE_REVIEWER_VERIFICATION: ${{ inputs.enable_reviewer_verification || env.ENABLE_REVIEWER_VERIFICATION }} + LOG_LEVEL: ${{ inputs.log_level || env.LOG_LEVEL }} + OPTIONS_TYPE: ${{ inputs.options_type || env.OPTIONS_TYPE }} + CC_PROMPT: ${{ inputs.cc_prompt || env.CC_PROMPT }} + CC_ALLOWED_TOOL: ${{ inputs.cc_allowed_tool || env.CC_ALLOWED_TOOL }} + CC_DISALLOWED_TOOL: ${{ inputs.cc_disallowed_tool || env.CC_DISALLOWED_TOOL }} + REPO_OWNER: ${{ inputs.repo_owner || env.REPO_OWNER }} + REPO_SLUG: ${{ inputs.repo_slug || env.REPO_SLUG }} + SOURCE_BRANCH: ${{ inputs.source_branch || env.SOURCE_BRANCH }} + SOURCE_COMMIT: ${{ inputs.source_commit || env.SOURCE_COMMIT }} + PR_ID: ${{ inputs.pr_id || env.PR_ID }} + PR_DESTINATION_BRANCH: ${{ inputs.pr_destination_branch || env.PR_DESTINATION_BRANCH }} + PR_DESTINATION_COMMIT: ${{ inputs.pr_destination_commit || env.PR_DESTINATION_COMMIT }} run: /pipe.sh branding: