diff options
-rw-r--r-- | .github/workflows/commitlint.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 4c9c526946..09df580b45 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -1,8 +1,11 @@ name: "Commit Linter" -on: pull_request +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] jobs: lint-commits: runs-on: ubuntu-latest + if: github.event.pull_request.draft == false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: |