Initial commit

This commit is contained in:
Luke Hagar
2024-12-03 13:52:45 -06:00
committed by GitHub
commit 7b7bfc2fe3
2 changed files with 34 additions and 0 deletions

25
.github/workflows/trunk-check.yaml vendored Normal file
View File

@@ -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

9
README.md Normal file
View File

@@ -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