Skip to content

Commit

Permalink
Fix config writing
Browse files Browse the repository at this point in the history
  • Loading branch information
whoisarpit committed Dec 4, 2024
1 parent 32b3c24 commit 020ad39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ runs:
cat > config.yml << EOF
github_api_key: "${{ inputs.github_token }}"
$([ -n "${{ inputs.openai_api_key }}" ] && echo "openai_api_key: \"${{ inputs.openai_api_key }}\"")
$([ -n "${{ inputs.patched_api_key }}" ] && echo "patched_api_key: \"${{ inputs.patched_api_key }}\"")
$([ -n "${{ inputs.base_path }}" ] && echo "base_path: \"${{ inputs.base_path }}\"")
$([ -n "${{ inputs.model }}" ] && echo "model: \"${{ inputs.model }}\"")
$([ -n "${{ inputs.client_base_url }}" ] && echo "client_base_url: \"${{ inputs.client_base_url }}\"")
Expand Down

0 comments on commit 020ad39

Please sign in to comment.