Skip to content

ci(trunk): refresh caller workflow#12

Open
ss-o wants to merge 1 commit into
mainfrom
issue-408-trunk-caller
Open

ci(trunk): refresh caller workflow#12
ss-o wants to merge 1 commit into
mainfrom
issue-408-trunk-caller

Conversation

@ss-o
Copy link
Copy Markdown
Member

@ss-o ss-o commented May 19, 2026

Summary

  • Update the Trunk caller workflow to the refreshed org-level single-job shape from ci(trunk): refresh reusable workflow .github#404.
  • Remove the deprecated scheduled upload job and TRUNK_TOKEN path.
  • Add explicit permissions, concurrency, and arguments: --no-progress.

Part of z-shell/.github#408.

Verification

  • Workflow-only change to .github/workflows/trunk-check.yml.
  • YAML shape reviewed after writing the workflow.

Agent handoff

Status: Ready for review
Current state: PR contains only the Trunk caller refresh.
Blockers: None known.
Next steps: Wait for PR CI; merge if green.

Copilot AI review requested due to automatic review settings May 19, 2026 04:19
Copy link
Copy Markdown

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.

Pull request overview

Refreshes this repo’s Trunk GitHub Actions “caller” workflow to match the newer org-level single-job reusable-workflow pattern, removing the old scheduled upload/token wiring and tightening execution controls.

Changes:

  • Convert to a single check job calling z-shell/.github/.github/workflows/trunk.yml@main and remove the separate scheduled upload job / TRUNK_TOKEN secret mapping.
  • Add explicit workflow/job permissions and a workflow-level concurrency policy.
  • Pass arguments: --no-progress into the reusable Trunk workflow.
Comments suppressed due to low confidence (1)

.github/workflows/trunk-check.yml:19

  • With concurrency.cancel-in-progress: true and group: ${{ github.workflow }}-${{ github.ref }}, the scheduled run (ref = refs/heads/main) can cancel an in-progress push/manual run on main (and vice-versa). If you want scheduled runs to be independent, include ${{ github.event_name }} in the group or otherwise differentiate schedule runs from push/dispatch runs.
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

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

Comment on lines 8 to 12
pull_request:
types: [opened, synchronize]
types: [opened, synchronize, reopened]
schedule:
- cron: "0 05 * * 5"
workflow_dispatch: {}
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.

2 participants