From 086e252bf871a15ef2a9547ad055f0ccae8004b7 Mon Sep 17 00:00:00 2001 From: Sall <59910950+ss-o@users.noreply.github.com> Date: Tue, 19 May 2026 05:15:23 +0100 Subject: [PATCH 1/2] ci(trunk): normalize workflow filename --- .github/workflows/trunk-check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/trunk-check.yml diff --git a/.github/workflows/trunk-check.yml b/.github/workflows/trunk-check.yml new file mode 100644 index 0000000..61377d5 --- /dev/null +++ b/.github/workflows/trunk-check.yml @@ -0,0 +1,30 @@ +--- +name: Trunk Code Quality + +on: + push: + branches: [main] + tags: ["v*.*.*"] + pull_request: + types: [opened, synchronize, reopened] + schedule: + - cron: "0 06 * * 2" + workflow_dispatch: {} + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + check: + name: Trunk Code Quality + permissions: + actions: read + checks: write + contents: read + uses: z-shell/.github/.github/workflows/trunk.yml@main + with: + arguments: --no-progress From 2759acec631a02302e2eca5ed02b29dd2bbb8df5 Mon Sep 17 00:00:00 2001 From: Sall <59910950+ss-o@users.noreply.github.com> Date: Tue, 19 May 2026 05:15:45 +0100 Subject: [PATCH 2/2] ci(trunk): remove old workflow filename --- .github/workflows/trunk_check.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/trunk_check.yml diff --git a/.github/workflows/trunk_check.yml b/.github/workflows/trunk_check.yml deleted file mode 100644 index ca5a485..0000000 --- a/.github/workflows/trunk_check.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: "⭕ Trunk" -on: - push: - branches: [main] - tags: ["v*.*.*"] - pull_request: - types: [opened, synchronize] - schedule: - - cron: "0 06 * * 2" - workflow_dispatch: {} - -jobs: - check: - if: github.event.schedule != '0 06 * * 5' - name: "⚡" - uses: z-shell/.github/.github/workflows/trunk.yml@main - upload: - if: github.event.schedule == '0 06 * * 5' - name: "🆙" - uses: z-shell/.github/.github/workflows/trunk.yml@main - secrets: - trunk-token: ${{ secrets.TRUNK_TOKEN }}