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:
commit
28b9470ba7
2 changed files with 7 additions and 1 deletions
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
|
@ -1,5 +1,9 @@
|
|||
name: Unit and Integration Tests
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- trunk
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -1,6 +1,8 @@
|
|||
name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- trunk
|
||||
paths:
|
||||
- "**.go"
|
||||
- go.mod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue