generated from trunk-io/.trunk-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b5289d5
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Trunk Check | ||
run-name: ${{ fromJSON(inputs.payload).checkWorkflowRunName }} | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
payload: | ||
description: For invocation by Trunk Check | ||
required: false | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check: | ||
name: ${{ fromJSON(inputs.payload).checkJobName }} | ||
runs-on: ${{ fromJSON(inputs.payload).checkJobRunsOn }} | ||
concurrency: | ||
group: ${{ fromJSON(inputs.payload).concurrencyGroup }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: Trunk Check | ||
uses: trunk-io/trunk-action@v1 | ||
with: | ||
check-mode: payload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# What is `.trunk`? | ||
|
||
Trunk Check uses `.trunk` to find issues in your repositories and pull requests. Learn more | ||
[here][check-github-integration]. | ||
|
||
Your `.trunk` repository should always be created by generating it from the | ||
[`trunk-io/.trunk-template`](https://github.com/trunk-io/.trunk-template) repository. | ||
|
||
[check-github-integration]: https://docs.trunk.io/docs/check-github-integration |