Skip to content

Commit d4e0384

Browse files
committed
Invalid workflow file: .github/workflows/TLAi.yml#L23
The workflow is not valid. .github/workflows/TLAi.yml (Line: 23, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.OPENAI_API_KEY != '' .github/workflows/TLAi.yml (Line: 30, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.OPENAI_API_KEY != '' [Build]
1 parent 2fcda37 commit d4e0384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/TLAi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020

2121
steps:
2222
- name: Clone repo
23-
if: ${{ secrets.OPENAI_API_KEY != '' }}
23+
if: env.OPENAI_API_KEY != ''
2424
uses: actions/checkout@v4
2525
with:
2626
## All history for git diff below to succeed.
2727
fetch-depth: 0
2828

2929
- name: Check if HEAD commit contains TLA changes.
30-
if: ${{ secrets.OPENAI_API_KEY != '' }}
30+
if: env.OPENAI_API_KEY != ''
3131
id: git_commit
3232
run: echo "::set-output name=contains_tla::$(git diff --name-only HEAD^ | grep -q '\.tla' && echo 'true' || echo 'false')"
3333

0 commit comments

Comments
 (0)