Skip to content

Commit 56c3ef7

Browse files
gjtorikianclaude
andcommitted
Fix YAML syntax error in ci.yml smoke-test job
Wrap labels.*.name in toJSON() so contains() receives a valid string argument in the GitHub Actions if conditional. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cf0942f commit 56c3ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
smoke-test:
4444
name: Smoke test (Python ${{ matrix.python }})
45-
if: github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'autorelease: pending')
45+
if: github.event_name == 'pull_request' && contains(toJSON(github.event.pull_request.labels.*.name), 'autorelease: pending')
4646
runs-on: ubuntu-latest
4747
strategy:
4848
fail-fast: false

0 commit comments

Comments
 (0)