Skip to content

Commit a140e80

Browse files
authored
chore(ci): run GHA on ready_for_review (#8286)
* chore(ci): do not run GHA on draft PR Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> * Update lint and tests workflow for draft PRs Added conditions to run jobs only for non-draft pull requests. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> * Update .github/workflows/build.yml Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> * Apply suggestions from code review Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> --------- Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 790e689 commit a140e80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
pull_request:
1414
branches:
1515
- main
16+
types: [opened, synchronize, reopened, ready_for_review]
1617
merge_group:
1718

1819
defaults:

.github/workflows/lint-and-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
pull_request:
1919
branches:
2020
- main
21+
types: [opened, synchronize, reopened, ready_for_review]
2122
merge_group:
2223

2324
# The permissions specified below apply to workflows triggered by `merge_group`, `push`, and `pull_request` events that originate from the same repository (non-fork).

0 commit comments

Comments
 (0)