Skip to content

fix(ci): pin trunk-action to valid v1.3.1 SHA - #623

Merged
KooshaPari merged 1 commit into
mainfrom
fix/trunk-pin-2026-08-08
Aug 9, 2026
Merged

fix(ci): pin trunk-action to valid v1.3.1 SHA#623
KooshaPari merged 1 commit into
mainfrom
fix/trunk-pin-2026-08-08

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Aug 9, 2026

Copy link
Copy Markdown
Owner

User description

The trunk-check.yml workflow pinned trunk-io/trunk-action@d90b916, which does not exist upstream (GitHub API: 422, verified against trunk-io/trunk-action refs) — the same invalid SHA that previously broke Apisync's Trunk Check until #48 pinned v1.3.1.

This pins both uses to the verified v1.3.1 commit 04ba50e7658c81db7356da96657e6e77f220bfa3 (confirmed via ls-remote + GitHub API).

Scope: one file, pin-only. Required checks (ci / lint, ci / test) are unaffected by this workflow.


CodeAnt-AI Description

Restore reliable Trunk checks in CI

What Changed

  • CI now uses the valid Trunk Action v1.3.1 release for lint and formatting checks
  • Scheduled Trunk upgrades use the same valid action version

Impact

✅ Fewer CI workflow failures
✅ Reliable lint and format checks
✅ Working scheduled Trunk upgrades

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Copilot AI lite review requested due to automatic review settings August 9, 2026 06:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codeant-ai

codeant-ai Bot commented Aug 9, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR ada7a98 Aug 09, 2026 · 06:04 06:05

@codeant-ai

codeant-ai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Aug 9, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 9, 2026

Copy link
Copy Markdown

@KooshaPari
KooshaPari merged commit a329fff into main Aug 9, 2026
29 of 33 checks passed
@KooshaPari
KooshaPari deleted the fix/trunk-pin-2026-08-08 branch August 9, 2026 06:06

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ada7a98018

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- name: Trunk Upgrade (on schedule only)
if: github.event_name == 'schedule'
uses: trunk-io/trunk-action@d90b9166660d5e5afae248a58172a3a0e99d56d5 # v1.0.4
uses: trunk-io/trunk-action@04ba50e7658c81db7356da96657e6e77f220bfa3 # v1.3.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use Trunk's upgrade subaction for scheduled upgrades

On scheduled runs this updated uses still resolves the root Trunk Check action, not the upgrade action; upstream v1.3.1 documents automatic upgrades with trunk-io/trunk-action/upgrade@v1, and its upgrade/action.yaml input is arguments for “trunk upgrade”, while the root action only defines arguments for checks. In this workflow the following trunk-args: --upgrade input is ignored, so the Monday job runs another check instead of creating an upgrade PR; point this line at /upgrade@04ba50e... and pass arguments if needed.

Useful? React with 👍 / 👎.

@kilo-code-bot

kilo-code-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • .github/workflows/trunk-check.yml

Reviewed by step-3.7-flash · Input: 41.7K · Output: 4.9K · Cached: 141.4K

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

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants