From 989968160c72ed91dc43dd9c3bf74ddbccd65030 Mon Sep 17 00:00:00 2001 From: Sall <59910950+ss-o@users.noreply.github.com> Date: Tue, 19 May 2026 05:15:18 +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..77ab29c --- /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 07 * * 5" + 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 5f3033562e0e345b2997f7fd74caf4f0366a28a3 Mon Sep 17 00:00:00 2001 From: Sall <59910950+ss-o@users.noreply.github.com> Date: Tue, 19 May 2026 05:15:41 +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 67eeadd..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 07 * * 5" - workflow_dispatch: {} - -jobs: - check: - if: github.event.schedule != '0 07 * * 5' - name: "⚡" - uses: z-shell/.github/.github/workflows/trunk.yml@main - upload: - if: github.event.schedule == '0 07 * * 5' - name: "🆙" - uses: z-shell/.github/.github/workflows/trunk.yml@main - secrets: - trunk-token: ${{ secrets.TRUNK_TOKEN }}