Skip to content

ci(trunk): refresh caller workflow#10

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

ci(trunk): refresh caller workflow#10
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 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 Trunk upload job/token path.
  • Add explicit permissions, concurrency, and arguments: --no-progress.
  • Remove deprecated actions/labeler and sync-labels workflows that were failing/obsolete under current org policy.

Part of z-shell/.github#408.
Closes #9.

Verification

  • YAML parse for .github/workflows/trunk-check.yml
  • git diff --check
  • trunk check --all --no-fix --no-progress✔ No issues

Note

The previous triage failure on this PR came from the existing base-branch pull_request_target labeler workflow requiring an unavailable GH_PAT; this PR removes that obsolete workflow.

Copy link
Copy Markdown
Member Author

ss-o commented May 19, 2026

Agent handoff

Status: Blocked
Repository: z-shell/zsh
Branch/PR: issue-408-trunk-caller, #10
Tracker/Issue: z-shell/.github#408; closes #9

Current state

  • This PR updates .github/workflows/trunk-check.yml to the refreshed org reusable workflow caller shape.
  • It removes the deprecated Trunk upload job/token path.
  • It removes obsolete actions/labeler and sync-labels workflows.
  • The PR is intentionally still draft.

Verification

  • YAML parse for .github/workflows/trunk-check.yml: passed.
  • git diff --check: passed.
  • trunk check --all --no-fix --no-progress: passed locally.

Blockers

  • The current base-branch pull_request_target labeler workflow fails with missing auth before this PR can remove that workflow from main.

Next steps

  1. Disable, repair, or otherwise bypass the failing base-branch labeler workflow.
  2. Re-run ci(trunk): refresh caller workflow #10 checks after the base workflow no longer blocks the PR.
  3. Mark this PR ready for review if the branch checks stay green.

@ss-o ss-o marked this pull request as ready for review May 19, 2026 03:57
Copilot AI review requested due to automatic review settings May 19, 2026 03:57
@ss-o ss-o merged commit a852ab6 into main May 19, 2026
5 of 6 checks passed
@ss-o ss-o deleted the issue-408-trunk-caller branch May 19, 2026 03:57
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 the Trunk caller workflow to match the new org-level shape and removes two deprecated label-management workflows that were obsolete/failing under current org policy.

Changes:

  • Update trunk-check.yml to a single-job caller with explicit permissions, concurrency, reopened trigger, and arguments: --no-progress; drop the schedule-gated upload job and TRUNK_TOKEN secret.
  • Delete the obsolete sync-labels.yml scheduled workflow.
  • Delete the labeler.yml pull_request_target workflow that depended on an unavailable GH_PAT.

Reviewed changes

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

File Description
.github/workflows/trunk-check.yml Refreshed to org-level single-job caller shape with permissions, concurrency, and --no-progress.
.github/workflows/sync-labels.yml Removed deprecated scheduled label-sync workflow.
.github/workflows/labeler.yml Removed deprecated PR labeler workflow requiring unavailable GH_PAT.

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

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.

Review legacy issue-management workflows against org policy

2 participants