Skip to content

Commit 28b9470

Browse files
authored
Merge pull request cli#11325 from cli/andyfeller/11310-avoid-redundant-pr-workflows
Run Lint and Tests on `push` to `trunk` branch
2 parents 806ae03 + db24646 commit 28b9470

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Unit and Integration Tests
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- trunk
6+
pull_request:
37

48
permissions:
59
contents: read

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Lint
22
on:
33
push:
4+
branches:
5+
- trunk
46
paths:
57
- "**.go"
68
- go.mod

0 commit comments

Comments
 (0)