Skip to content

Fix invalid YAML block indentation in scheduled-build workflow dispatch#664

Merged
Theaxiom merged 1 commit into
masterfrom
copilot/scheduled-build-manual-execution
Jun 2, 2026
Merged

Fix invalid YAML block indentation in scheduled-build workflow dispatch#664
Theaxiom merged 1 commit into
masterfrom
copilot/scheduled-build-manual-execution

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

scheduled-build.yml could not be manually triggered because the workflow file was syntactically invalid. A shell line inside the run: | block was outdented, breaking workflow parsing and preventing workflow_dispatch from being usable.

  • Workflow parsing fix

    • Realigned the if [ -z "${LATEST_TAG}" ]; then line to the correct indentation level within the Get latest release tag and compute next patch version step’s multiline shell block.
    • Kept workflow behavior unchanged; this is a structural YAML/script block correction so GitHub can load the workflow definition.
  • Manual dispatch impact

    • Restores availability of the existing workflow_dispatch trigger in .github/workflows/scheduled-build.yml by making the workflow definition valid.
run: |
  LATEST_TAG=$(gh release list ...)

  if [ -z "${LATEST_TAG}" ]; then
    echo "No release found for ${{ matrix.ubuntu_codename }} track. Skipping."
    echo "should_build=false" >> $GITHUB_OUTPUT
    exit 0
  fi

@Theaxiom Theaxiom marked this pull request as ready for review June 2, 2026 16:40
Copilot AI review requested due to automatic review settings June 2, 2026 16:40
@Theaxiom Theaxiom merged commit dd4a993 into master Jun 2, 2026
@Theaxiom Theaxiom deleted the copilot/scheduled-build-manual-execution branch June 2, 2026 16:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants