File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 workflow_dispatch : {}
1111
1212permissions :
13- checks : write
1413 contents : read
15- issues : write
16- pull-requests : write
1714
1815concurrency :
19- group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
16+ group : ${{ github.workflow }}-${{ github.ref }}
2017 cancel-in-progress : true
2118
2219jobs :
23- trunk_check :
20+ check :
2421 name : Trunk Code Quality
25- runs-on : ubuntu-latest
26- steps :
27- - name : Checkout
28- uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
29- with :
30- fetch-depth : 0
31-
32- - name : Setup dependencies
33- uses : ./.trunk/setup-ci
34-
35- - name : Trunk Check
36- uses : trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4
37- with :
38- cache : false
39- # Run full link audit on schedule/dispatch, otherwise run standard incremental checks
40- arguments : ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 'run lychee-audit' || '' }}
41- env :
42- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ permissions :
23+ actions : read
24+ checks : write
25+ contents : read
26+ uses : z-shell/.github/.github/workflows/trunk.yml@df7c51baaa966337fe5e8d15d82bc9c38486a227 # main
27+ with :
28+ cache : false
29+ setup-deps : true
30+ # Run full link audit on schedule/dispatch, otherwise run standard incremental checks.
31+ arguments : ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 'run lychee-audit' || '' }}
You can’t perform that action at this time.
0 commit comments