Skip to content

ci(deps): upgrade trunk (#115) #211

ci(deps): upgrade trunk (#115)

ci(deps): upgrade trunk (#115) #211

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
- release-*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
push:
branches:
- main
- release-*
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
trunk:
if: >
(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) ||
github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: trunk-io/trunk-action@v1