Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 34 additions & 16 deletions .github/workflows/trunk_check.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,45 @@
name: Trunk Check

Check failure on line 1 in .github/workflows/trunk_check.yaml

View workflow job for this annotation

GitHub Actions / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'

on:
pull_request:
branches:
- main
- staging
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

# jobs:
# trunk_check:
# name: Trunk Check
# runs-on: ubuntu-latest

# steps:
# - name: Checkout Code
# uses: actions/checkout@v4

# - name: Trunk Check
# uses: trunk-io/trunk-action@v1
# with:
# cache: false
# timeout-seconds: 1500 # 25 minutes in seconds
# cat-trunk-debug-logs: true
# github-token: ${{ github.token }}
# debug: true

permissions:
contents: read
# Required for Trunk to post annotations
checks: write

jobs:
trunk_check:
name: Trunk Check
lint:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write
checks: write
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Trunk Check
- uses: actions/checkout@v4
- name: Trunk Code Quality
uses: trunk-io/trunk-action@v1
with:
cache: false
timeout-seconds: 1500 # 25 minutes in seconds
cat-trunk-debug-logs: true
github-token: ${{ github.token }}
debug: true
post-annotations: true
Loading