Skip to content

Commit 3874062

Browse files
authored
Update action.yml
1 parent f54e380 commit 3874062

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
openai_key:
1414
description: 'OpenAI key'
1515
required: false
16-
default: '<empty>'
16+
default: ''
1717

1818
runs:
1919
using: composite
@@ -25,11 +25,11 @@ runs:
2525

2626
- name: Run reviewer
2727
uses: addnab/docker-run-action@v3
28+
env:
29+
OPENAI_KEY: ${{ inputs.openai_key }}
2830
with:
2931
image: callstackai/cal:latest
3032
options: -v ${{ github.workspace }}:/code
31-
env:
32-
OPENAI_KEY: ${{ inputs.openai_key != '<empty>' || '' }}
3333
run: |
3434
/reviewer \
3535
--dir /code \

0 commit comments

Comments
 (0)