Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatz authored Feb 23, 2024
0 parents commit b5289d5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/trunk-check.yaml
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
9 changes: 9 additions & 0 deletions README.md
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

0 comments on commit b5289d5

Please sign in to comment.