From b24d482d4ac8710f184a7df65277da47973ab17e Mon Sep 17 00:00:00 2001 From: Sall <59910950+ss-o@users.noreply.github.com> Date: Tue, 19 May 2026 05:07:11 +0100 Subject: [PATCH] ci(trunk): refresh caller workflow --- .github/workflows/trunk-check.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/trunk-check.yml b/.github/workflows/trunk-check.yml index 5d79f55..3fbfa78 100644 --- a/.github/workflows/trunk-check.yml +++ b/.github/workflows/trunk-check.yml @@ -1,23 +1,30 @@ --- -name: "⭕ Trunk" +name: Trunk Code Quality + on: push: branches: [main] tags: ["v*.*.*"] pull_request: - types: [opened, synchronize] + types: [opened, synchronize, reopened] schedule: - cron: "0 05 * * 5" - workflow_dispatch: + workflow_dispatch: {} + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: check: - if: github.event.schedule != '0 05 * * 5' - name: "⚡" - uses: z-shell/.github/.github/workflows/trunk.yml@main - upload: - if: github.event.schedule == '0 05 * * 5' - name: "🆙" + name: Trunk Code Quality + permissions: + actions: read + checks: write + contents: read uses: z-shell/.github/.github/workflows/trunk.yml@main - secrets: - trunk-token: ${{ secrets.TRUNK_TOKEN }} + with: + arguments: --no-progress