Skip to content

Commit d829151

Browse files
committed
[Chore] Skip review CIs on draft
1 parent e16649a commit d829151

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/review_pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212

1313
review_pull_request:
1414
name: Review pull request
15+
if: github.event.pull_request.draft == false
1516
runs-on: ubuntu-latest
1617
timeout-minutes: 30
1718
environment: template-compose

.github/workflows/run_detekt_and_unit_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run Detekt and unit tests
22

3-
on: push
3+
on:
4+
pull_request:
5+
types: [ opened, edited, reopened, synchronize ]
46

57
concurrency:
68
group: ${{ github.workflow }}-${{ github.ref }}
@@ -9,6 +11,7 @@ concurrency:
911
jobs:
1012
run_detekt_and_unit_tests:
1113
name: Run Detekt and unit tests
14+
if: github.event.pull_request.draft == false
1215
runs-on: ubuntu-latest
1316
timeout-minutes: 30
1417
steps:

.github/workflows/verify_newproject_script.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ concurrency:
1212
jobs:
1313
verify_newproject_script:
1414
name: Verify newproject script
15+
if: github.event.pull_request.draft == false
1516
runs-on: ubuntu-latest
1617
timeout-minutes: 30
1718
steps:

0 commit comments

Comments
 (0)