Skip to content

Commit 88a7bfe

Browse files
committed
fix(ci): run workflows also only on push for non-draft PR
1 parent 510546b commit 88a7bfe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/tests-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Tests for Release
22

33
on:
44
push:
5+
types: [review_requested, ready_for_review] # only non-draft PR
56
branches:
67
- release-* # all release-<version> branches
78
pull_request:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
branches:
99
- master # allthough master is push protected we still keep it
1010
- development
11+
branches-ignore:
12+
- release-* # on release we run an extended workflow so no need for this
1113
pull_request: # runs on all PR
1214
branches-ignore:
1315
- release-* # on release we run an extended workflow so no need for this

0 commit comments

Comments
 (0)