Skip to content

fix(ci): wrap if condition in expression syntax for YAML parsing#16

Merged
chaliy merged 1 commit intomainfrom
claude/fix-release-workflow-yaml-n3IBW
Jan 18, 2026
Merged

fix(ci): wrap if condition in expression syntax for YAML parsing#16
chaliy merged 1 commit intomainfrom
claude/fix-release-workflow-yaml-n3IBW

Conversation

@chaliy
Copy link
Copy Markdown
Owner

@chaliy chaliy commented Jan 18, 2026

What

Fix YAML syntax error in release workflow on line 12.

Why

The release workflow was failing with "Invalid workflow file" due to the if condition not being wrapped in ${{ }} expression syntax.

How

Wrapped the startsWith() function call in ${{ }} to ensure proper YAML parsing.

Risk

  • Low
  • This is a minimal fix to the workflow syntax

Checklist

  • Tests added or updated (N/A - workflow fix)
  • Backward compatibility considered (N/A)

The startsWith() function call on line 12 needs to be wrapped in
${{ }} expression syntax to avoid YAML parsing errors with the
parentheses and special characters.
@chaliy chaliy merged commit e0e6162 into main Jan 18, 2026
8 checks passed
@chaliy chaliy deleted the claude/fix-release-workflow-yaml-n3IBW branch January 18, 2026 00:31
@chaliy chaliy mentioned this pull request Feb 8, 2026
5 tasks
chaliy added a commit that referenced this pull request Feb 8, 2026
## What

Prepare patch release v0.2.1 — bumps version in Cargo.toml and updates
CHANGELOG.md.

## Why

New changes since v0.2.0 are ready for release:
- New model profiles (Claude Opus 4.6, GPT-5.3 Codex)
- CI fix for YAML parsing

## How

- Bumped `Cargo.toml` version from `0.2.0` to `0.2.1`
- Added `[0.2.1]` section to `CHANGELOG.md` with commits since v0.2.0
- Updated comparison links

## Changelog

### What's Changed

- feat(models): add Claude Opus 4.6, GPT-5.3 Codex, and update model
profiles ([#17](#17)) by @chaliy
- fix(ci): wrap if condition in expression syntax for YAML parsing
([#16](#16)) by @chaliy

## Risk

- Low — version bump and changelog only

## Checklist

- [x] `cargo fmt --check` passes
- [x] `cargo clippy -- -D warnings` passes
- [x] `cargo test` passes (97 unit + 22 integration + 1 doc test)
- [x] `cargo publish --dry-run` succeeds
- [x] CHANGELOG.md updated

https://claude.ai/code/session_01Q2qGPGF2L1NhQ1LxVQF5Pn

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants