From ab2dd09ac666e03bdb8c02fff775b244ad22afe6 Mon Sep 17 00:00:00 2001 From: cte Date: Fri, 31 Jan 2025 22:06:25 -0800 Subject: [PATCH] Test what happens if the secret does not exist --- .github/workflows/code-qa.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-qa.yml b/.github/workflows/code-qa.yml index 614db61..67ef540 100644 --- a/.github/workflows/code-qa.yml +++ b/.github/workflows/code-qa.yml @@ -48,11 +48,11 @@ jobs: outputs: exists: ${{ steps.openrouter-api-key-check.outputs.defined }} steps: - - name: Check if OPENROUTER_API_KEY exists + - name: Check if OpenRouter API key exists id: openrouter-api-key-check shell: bash run: | - if [ "${{ secrets.OPENROUTER_API_KEY }}" != '' ]; then + if [ "${{ secrets.XOPENROUTER_API_KEY }}" != '' ]; then echo "defined=true" >> $GITHUB_OUTPUT; else echo "defined=false" >> $GITHUB_OUTPUT;