Skip to content

Commit f52156d

Browse files
committed
fix: pr draft condition for ci
Signed-off-by: Sam Gammon <[email protected]>
1 parent 1c05403 commit f52156d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jobs:
216216
test-no-token:
217217
name: "Test: No Token"
218218
runs-on: ubuntu-latest
219-
if: github.event.pull_request.draft == 'false'
219+
if: github.event.pull_request.draft == false
220220
permissions:
221221
id-token: none
222222
steps:
@@ -240,7 +240,7 @@ jobs:
240240
test-action:
241241
name: "Test: Install (${{ matrix.label }})"
242242
runs-on: ${{ matrix.os }}
243-
if: github.event.pull_request.draft == 'false'
243+
if: github.event.pull_request.draft == false
244244
permissions:
245245
id-token: write
246246
strategy:
@@ -278,7 +278,7 @@ jobs:
278278
test-path:
279279
name: "Test: Path (${{ matrix.label }})"
280280
runs-on: ${{ matrix.os }}
281-
if: github.event.pull_request.draft == 'false'
281+
if: github.event.pull_request.draft == false
282282
strategy:
283283
fail-fast: false
284284
matrix:
@@ -317,7 +317,7 @@ jobs:
317317
test-smoketest:
318318
name: "Test: Smoke Test (${{ matrix.label }})"
319319
runs-on: ${{ matrix.os }}
320-
if: github.event.pull_request.draft == 'false'
320+
if: github.event.pull_request.draft == false
321321
strategy:
322322
fail-fast: false
323323
matrix:
@@ -373,7 +373,7 @@ jobs:
373373
test-noagent:
374374
name: "Test: No Agent (${{ matrix.label }})"
375375
runs-on: ${{ matrix.os }}
376-
if: github.event.pull_request.draft == 'false'
376+
if: github.event.pull_request.draft == false
377377
strategy:
378378
fail-fast: false
379379
matrix:
@@ -414,7 +414,7 @@ jobs:
414414
test-agent:
415415
name: "Test: Agent (${{ matrix.label }})"
416416
runs-on: ${{ matrix.os }}
417-
if: github.event.pull_request.draft == 'false'
417+
if: github.event.pull_request.draft == false
418418
timeout-minutes: 5
419419
strategy:
420420
fail-fast: false

0 commit comments

Comments
 (0)