From f620008e59de05dede08f9c2907aeef79a336a53 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 9 Oct 2021 02:08:47 +0200 Subject: ci: disable commit-lint on draft PRs #15958 --- .github/workflows/commitlint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- cgit