Skip to content

ci(lint): add trunk linting setup #293

ci(lint): add trunk linting setup

ci(lint): add trunk linting setup #293

Workflow file for this run

name: generate files
on:
pull_request: {}
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: install goimports
run: |
go install golang.org/x/tools/cmd/goimports@latest
- name: generate files
run: make generate
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(userconfigs): generate files"