Skip to content

Fix trunk-upgrade workflow failure from unsupported CLI flag - #253

Merged
Morgy93 merged 3 commits into
mainfrom
copilot/fix-upgrade-actions-job
Aug 31, 2026
Merged

Fix trunk-upgrade workflow failure from unsupported CLI flag#253
Morgy93 merged 3 commits into
mainfrom
copilot/fix-upgrade-actions-job

Conversation

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The upgrade Actions job failed because the trunk invocation used an unsupported argument, causing the workflow to terminate before dependency upgrade PR creation. This change aligns the workflow command with current trunk CLI behavior.

  • Workflow command correction

    • Removed the unsupported --include-cli flag from the Trunk upgrade command in .github/workflows/trunk-upgrade.yml.
    • Keeps execution on the trunk-action-provided binary path (${TRUNK_PATH}) and preserves existing workflow structure.
  • Workflow-generated PR text alignment

    • Updated the automated PR body string so it reflects the actual command now executed.
with:
  check-mode: none
  post-init: '"${TRUNK_PATH}" upgrade -y'

Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'upgrade' Fix trunk-upgrade workflow failure from unsupported CLI flag Aug 31, 2026
Copilot AI requested a review from Morgy93 August 31, 2026 12:51
@Morgy93
Morgy93 marked this pull request as ready for review August 31, 2026 12:52
Copilot AI lite review requested due to automatic review settings August 31, 2026 12:52
@github-actions github-actions Bot added the CI/CD label Aug 31, 2026

Copilot AI 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.

Pull request overview

This PR fixes the scheduled Trunk upgrade GitHub Actions workflow by removing an unsupported Trunk CLI flag so the upgrade step completes and the dependency-upgrade PR can be created successfully.

Changes:

  • Removed unsupported --include-cli from the trunk upgrade invocation in the workflow.
  • Updated the workflow-generated PR body text to reflect the updated upgrade command.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/trunk-upgrade.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 31, 2026 12:57

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@Morgy93
Morgy93 merged commit 8285e00 into main Aug 31, 2026
21 checks passed
@Morgy93
Morgy93 deleted the copilot/fix-upgrade-actions-job branch August 31, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants