summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-pr-commit.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/check-pr-commit.yml b/.github/workflows/check-pr-commit.yml
index 38c76dc18..a3f4c1c92 100644
--- a/.github/workflows/check-pr-commit.yml
+++ b/.github/workflows/check-pr-commit.yml
@@ -5,6 +5,11 @@ on:
branches:
- master
- release/*
+ types:
+ - opened
+ - synchronize
+ - reopened
+ - ready_for_review
defaults:
run:
@@ -14,6 +19,8 @@ jobs:
check-commit-message:
name: Check commit message
runs-on: ubuntu-20.04
+ # Skip on draft, check on draft -> ready
+ if: github.event.pull_request.draft == false
steps:
- name: Checkout