Skip to content

Commit b5289d5

Browse files
authored
Initial commit
0 parents  commit b5289d5

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/trunk-check.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

0 commit comments

Comments
 (0)