aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-09 02:08:47 +0200
committerGitHub <noreply@github.com>2021-10-08 17:08:47 -0700
commitf620008e59de05dede08f9c2907aeef79a336a53 (patch)
tree3c645d4c6b9430355db38da086fd00d3b6612ab5
parent2f50c7b5a3e633f290c256b57d48186cd5b284cd (diff)
downloadrneovim-f620008e59de05dede08f9c2907aeef79a336a53.tar.gz
rneovim-f620008e59de05dede08f9c2907aeef79a336a53.tar.bz2
rneovim-f620008e59de05dede08f9c2907aeef79a336a53.zip
ci: disable commit-lint on draft PRs #15958
-rw-r--r--.github/workflows/commitlint.yml5
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: