build: limit golangci-lint to pull requests

Since all the existing code isn't clean
This commit is contained in:
Jakob Borg
2025-06-07 15:04:26 +02:00
parent 1915a470e9
commit 7b83e7403e

View File

@@ -1092,6 +1092,7 @@ jobs:
golangci:
runs-on: ubuntu-latest
name: Run golangci-lint
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5