fix(ci): fix publish workflow YAML parse error by carlos-alm · Pull Request #27 · optave/ops-codegraph-tool · GitHub
Skip to content

fix(ci): fix publish workflow YAML parse error#27

Merged
carlos-alm merged 1 commit into
mainfrom
fix/publish-yaml-syntax
Feb 23, 2026
Merged

fix(ci): fix publish workflow YAML parse error#27
carlos-alm merged 1 commit into
mainfrom
fix/publish-yaml-syntax

Conversation

@carlos-alm

Copy link
Copy Markdown
Contributor

Summary

  • Line 20 of publish.yml uses !startsWith(...) in a bare if: expression — YAML interprets the ! as a tag prefix, causing a parse error before any jobs run
  • Wraps the expression in ${{ }} so YAML sees it as a plain string

Every push to main since PR #26 was merged has been failing instantly with "You have an error in your yaml syntax on line 20".

Test plan

  • Merge and verify the next push-triggered Publish run starts jobs successfully

…rror

YAML interprets bare `!startsWith(...)` as a tag, causing the entire
workflow to fail with "error in your yaml syntax on line 20" before
any jobs run.
@greptile-apps

greptile-apps Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@carlos-alm carlos-alm merged commit 7cf5da8 into main Feb 23, 2026
16 checks passed
@carlos-alm carlos-alm deleted the fix/publish-yaml-syntax branch February 23, 2026 00:59
Zeeeepa pushed a commit to Zeeeepa/codegraph that referenced this pull request Jun 22, 2026
fix(ci): fix publish workflow YAML parse error
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.

1 participant