Skip to content

Commit 957b650

Browse files
committed
Fix (3)Workflow to be skipped that fail if secrets are missing
Signed-off-by: rafaeljohn9 <[email protected]>
1 parent d60a936 commit 957b650

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
if: >-
13-
${{
14-
secrets.YOUTUBE_DATA_API_KEY != '' &&
15-
secrets.SERPER_API_KEY != '' &&
16-
secrets.GROQ_API_KEY != ''
17-
}}
12+
if: ${{ secrets.YOUTUBE_DATA_API_KEY != '' && secrets.SERPER_API_KEY != '' && secrets.GROQ_API_KEY != '' }}
1813

1914
steps:
2015
- name: Checkout code

0 commit comments

Comments
 (0)