fix: YAML syntax error in version_branch.yml line 54 #21

Merged
Copilot merged 2 commits from copilot/fix-yaml-syntax-error into main 2026-01-03 22:30:28 +00:00
Copilot commented 2026-01-03 22:26:27 +00:00 (Migrated from github.com)

Pull Request

Purpose

GitHub Actions workflow parser rejected .github/workflows/version_branch.yml due to invalid YAML syntax on line 54.

Change Summary

Replaced backticks with single quotes for BRANCH_PREFIX environment variable value:

-      BRANCH_PREFIX: `dev/`
+      BRANCH_PREFIX: 'dev/'

Backticks are not valid YAML string delimiters. Single quotes are the correct syntax.

Testing Evidence

  • Python YAML parser validates file successfully
  • yamllint confirms syntax error resolved
  • CodeQL security scan: 0 alerts

Risk and Rollback

Zero risk. Purely syntactic fix with no semantic change—'dev/' is functionally identical to the intended value.

Checklist

  • Follows Conventional Commits
  • Tests added or updated (N/A - syntax fix)
  • Documentation updated if required (N/A)
  • License header present where applicable (N/A)
  • Linked issue(s) referenced

Reviewer Notes

Single character type change (backtick → single quote). Workflow was unparseable before, parseable after.

Review and Approval

Original prompt

Invalid workflow file: .github/workflows/version_branch.yml#L54
You have an error in your yaml syntax on line 54


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

# Pull Request ## Purpose GitHub Actions workflow parser rejected `.github/workflows/version_branch.yml` due to invalid YAML syntax on line 54. ## Change Summary Replaced backticks with single quotes for `BRANCH_PREFIX` environment variable value: ```diff - BRANCH_PREFIX: `dev/` + BRANCH_PREFIX: 'dev/' ``` Backticks are not valid YAML string delimiters. Single quotes are the correct syntax. ## Testing Evidence - Python YAML parser validates file successfully - yamllint confirms syntax error resolved - CodeQL security scan: 0 alerts ## Risk and Rollback Zero risk. Purely syntactic fix with no semantic change—`'dev/'` is functionally identical to the intended value. ## Checklist - [x] Follows Conventional Commits - [x] Tests added or updated (N/A - syntax fix) - [x] Documentation updated if required (N/A) - [x] License header present where applicable (N/A) - [x] Linked issue(s) referenced ## Reviewer Notes Single character type change (backtick → single quote). Workflow was unparseable before, parseable after. ## Review and Approval <!-- START COPILOT CODING AGENT SUFFIX --> <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > Invalid workflow file: .github/workflows/version_branch.yml#L54 > You have an error in your yaml syntax on line 54 </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
jmiller-moko (Migrated from github.com) reviewed 2026-01-03 22:26:27 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCassiopeia#21