diff --git a/.github/workflows/trunk-check.yml b/.github/workflows/trunk-check.yml index 59d4294..cc36894 100644 --- a/.github/workflows/trunk-check.yml +++ b/.github/workflows/trunk-check.yml @@ -1,14 +1,28 @@ --- -name: "⭕ Trunk" +name: Trunk Code Quality + on: push: branches: [main] tags: ["v*.*.*"] pull_request: - types: [opened, synchronize] + types: [opened, synchronize, reopened] workflow_dispatch: {} +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: check: - name: "⚡" + name: Trunk Code Quality + permissions: + actions: read + checks: write + contents: read uses: z-shell/.github/.github/workflows/trunk.yml@main + with: + arguments: --no-progress