Merge pull request #11325 from cli/andyfeller/11310-avoid-redundant-pr-workflows

Run Lint and Tests on `push` to `trunk` branch
This commit is contained in:
Andy Feller 2025-07-18 11:54:54 -04:00 committed by GitHub
commit 28b9470ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,9 @@
name: Unit and Integration Tests
on: [push, pull_request]
on:
push:
branches:
- trunk
pull_request:
permissions:
contents: read

View file

@ -1,6 +1,8 @@
name: Lint
on:
push:
branches:
- trunk
paths:
- "**.go"
- go.mod