Linting in CI
Configuring base branch
version: 0.1
cli:
version: 1.22.2
repo:
# specify the base branch for hold-the-line
trunk_branch: developLinting on pull requests
name: Trunk Code Quality
on:
push:
branches: main
pull_request:
branches: main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# ... other setup steps
- name: Trunk Code Quality
uses: trunk-io/trunk-action@v1
with:
post-annotations: true
# ... other CI stepsConfiguring base branch
Manual configuration and Non-GitHub CI
Skipping Trunk Code Quality on pull requests
Caching and persistence
Hourly and nightly builds
Last updated

