Skip to content

Commit a1f9a1e

Browse files
authored
ci(trunk): refresh caller workflow
Update the Trunk caller workflow to the refreshed organization reusable workflow shape. Add explicit permissions, concurrency, and no-progress arguments. Part of z-shell/.github#408. Verification: - Trunk Code Quality workflow passed on PR
1 parent 50cf559 commit a1f9a1e

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/trunk-check.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
---
2-
name: "⭕ Trunk"
2+
name: Trunk Code Quality
3+
34
on:
45
push:
56
branches: [main]
67
tags: ["v*.*.*"]
78
pull_request:
8-
types: [opened, synchronize]
9+
types: [opened, synchronize, reopened]
910
workflow_dispatch: {}
1011

12+
permissions:
13+
contents: read
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1119
jobs:
1220
check:
13-
name: ""
21+
name: Trunk Code Quality
22+
permissions:
23+
actions: read
24+
checks: write
25+
contents: read
1426
uses: z-shell/.github/.github/workflows/trunk.yml@main
27+
with:
28+
arguments: --no-progress

0 commit comments

Comments
 (0)