ci: disable commit-lint on draft PRs #15958

This commit is contained in:
dundargoc authored and GitHub committed 2021-10-08 17:08:47 -07:00
1 parent 2f50c7b5a3
commit f620008e59
1 file changed
+4 -1
+4 -1
View File
@@ -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: