Skip to content

Fix Dependency Submission workflow YAML syntax error #14

Description

@natechadwick-intsof

Problem

The .github/workflows/dependency-submission.yml workflow fails immediately with a workflow file issue. GitHub Actions UI reports a syntax error on line 17.

Cause

The job if: condition was an unquoted YAML plain scalar containing chore: update build number. The colon-space sequence is invalid in plain YAML scalars, so the workflow never starts any jobs.

Fix

Quote the condition as a YAML block scalar (if: |) so the colon is treated as literal text.

Acceptance

  • Workflow file validates / no syntax error in Actions UI
  • Dependency Submission runs on push to main / workflow_dispatch instead of failing in ~10s with no jobs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions