mirror of
https://github.com/LukeHagar/.trunk.git
synced 2025-12-06 04:19:04 +00:00
Initial commit
This commit is contained in:
25
.github/workflows/trunk-check.yaml
vendored
Normal file
25
.github/workflows/trunk-check.yaml
vendored
Normal 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
9
README.md
Normal 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
|
||||||
Reference in New Issue
Block a user