Skip to content

Commit ab2dd09

Browse files
committed
Test what happens if the secret does not exist
1 parent de7f67f commit ab2dd09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/code-qa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
outputs:
4949
exists: ${{ steps.openrouter-api-key-check.outputs.defined }}
5050
steps:
51-
- name: Check if OPENROUTER_API_KEY exists
51+
- name: Check if OpenRouter API key exists
5252
id: openrouter-api-key-check
5353
shell: bash
5454
run: |
55-
if [ "${{ secrets.OPENROUTER_API_KEY }}" != '' ]; then
55+
if [ "${{ secrets.XOPENROUTER_API_KEY }}" != '' ]; then
5656
echo "defined=true" >> $GITHUB_OUTPUT;
5757
else
5858
echo "defined=false" >> $GITHUB_OUTPUT;

0 commit comments

Comments
 (0)