Skip to content

ci(trunk): pin pinact to 4.1.1 - #272

Merged
dermatz merged 1 commit into
mainfrom
ci/pin-pinact-4
Nov 6, 2026
Merged

dermatz merged 1 commit into
mainfrom
ci/pin-pinact-4

Conversation

@dermatz

@dermatz dermatz commented Nov 6, 2026

Copy link
Copy Markdown
Member

Summary

The Trunk Check job fails with pinact/config-error: unknown flag: -format for every pull request that modifies a workflow file (seen on #269).

pinact@5.0.2 (introduced by the automatic trunk upgrade) is not supported by the trunk plugins: trunk-io/plugins v1.11.0 still calls pinact with single-dash long flags, which pinact v5 rejects. The plugin declares 4.0.0 as its known good version. Upstream issue: trunk-io/plugins#1177

Changes

  • Pin pinact to 4.1.1 in .trunk/trunk.yaml and document why in a comment.

Testing

Follow-up

The weekly trunk upgrade may propose pinact@5.x again. Keep it on 4.x until the plugin issue is fixed.

pinact 5.0.2 fails with pinact/config-error on every workflow change
because the trunk plugins still pass single-dash flags.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 6, 2026 11:45
@github-actions github-actions Bot added the CI/CD label Nov 6, 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.

🟢 Approval recommended

There are no active review issues for the pinact compatibility pin and accompanying explanatory comment.

No open issues 🎉

What changed in this PR

Pins pinact to 4.1.1 to avoid the Trunk plugin flag incompatibility that causes checks to fail on workflow changes, including PR #269.

Changes:

  • Downgrades pinact from 5.0.2 to 4.1.1.
  • Adds a comment explaining the compatibility constraint and linking the upstream issue.
File Description
.trunk/​trunk.yaml Pins pinact to 4.1.1 and documents why it must remain on 4.x.

Review effort: Balanced

@dermatz
dermatz merged commit f76913a into main Nov 6, 2026
21 checks passed
@dermatz
dermatz deleted the ci/pin-pinact-4 branch November 6, 2026 11:53
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.

2 participants