File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Trunk Check
2+ run-name : ${{ fromJSON(inputs.payload).checkWorkflowRunName }}
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ payload :
7+ description : For invocation by Trunk Check
8+ required : false
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ check :
15+ name : ${{ fromJSON(inputs.payload).checkJobName }}
16+ runs-on : ${{ fromJSON(inputs.payload).checkJobRunsOn }}
17+ concurrency :
18+ group : ${{ fromJSON(inputs.payload).concurrencyGroup }}
19+ cancel-in-progress : true
20+
21+ steps :
22+ - name : Trunk Check
23+ uses : trunk-io/trunk-action@v1
24+ with :
25+ check-mode : payload
Original file line number Diff line number Diff line change 1+ # What is ` .trunk ` ?
2+
3+ Trunk Check uses ` .trunk ` to find issues in your repositories and pull requests. Learn more
4+ [ here] [ check-github-integration ] .
5+
6+ Your ` .trunk ` repository should always be created by generating it from the
7+ [ ` trunk-io/.trunk-template ` ] ( https://github.com/trunk-io/.trunk-template ) repository.
8+
9+ [ check-github-integration ] : https://docs.trunk.io/docs/check-github-integration
You can’t perform that action at this time.
0 commit comments