Skip to content

Commit

Permalink
Don't use GH action's args option and just pass params as env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrajabi committed Aug 18, 2024
1 parent e0e7549 commit c69e105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ runs:
OPENROUTER_API_KEY: ${{ inputs.openrouter_api_key }}
FEATURE_REF: ${{ inputs.branch }}
MODEL: ${{ inputs.model }}
args:
- ${{ inputs.aider_args }}
AIDER_ARGS: ${{ inputs.aider_args }}

branding:
icon: "cpu"
color: "white"
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# Set constants
WORKDIR="/tmp/repo"

# Get args
AIDER_ARGS=$1

# Get env vars
BRANCH_NAME=$(echo $FEATURE_REF | sed 's/refs\/heads\///g')

Expand Down

0 comments on commit c69e105

Please sign in to comment.