Skip to content

ci(trunk): refresh caller workflow#6

Merged
ss-o merged 1 commit into
mainfrom
issue-408-trunk-caller
Jun 1, 2026
Merged

ci(trunk): refresh caller workflow#6
ss-o merged 1 commit into
mainfrom
issue-408-trunk-caller

Conversation

@ss-o
Copy link
Copy Markdown
Member

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

Refresh the Trunk caller workflow to the standardized org shape (Batch A: deprecated token wiring), per z-shell/.github#408.

Changes

  • Remove the deprecated scheduled upload job and its trunk-token: ${{ secrets.TRUNK_TOKEN }} wiring (Trunk Code Quality web-app uploads are retired).
  • Plain-text workflow name Trunk Code Quality (drops emoji name).
  • Add top-level permissions: contents: read and explicit job permissions (actions: read, checks: write).
  • Add concurrency to cancel stale push/PR runs.
  • Pass arguments: --no-progress for readable logs.
  • Preserve the existing weekly schedule (0 05 * * 5); the single check job now also covers scheduled runs.

Matches the established rollout shape (e.g. z-shell/zbrowse#43, z-shell/H-S-MW#4).

Refs z-shell/.github#408

Copilot AI review requested due to automatic review settings May 23, 2026 09:45
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

Updates the repository’s Trunk Code Quality GitHub Actions caller workflow to match the standardized z-shell org rollout shape by removing deprecated upload/token wiring and tightening permissions/concurrency for more predictable CI runs.

Changes:

  • Removes the deprecated scheduled “upload” job and TRUNK_TOKEN secret wiring; the remaining check job now runs for push/PR/schedule/dispatch.
  • Standardizes workflow/job naming and adds --no-progress arguments for clearer logs.
  • Adds explicit permissions and concurrency to reduce privilege and cancel stale runs.

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

@ss-o ss-o merged commit 7c0a039 into main Jun 1, 2026
4 checks passed
@ss-o ss-o deleted the issue-408-trunk-caller branch June 1, 2026 21:22
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