ci: disable commit-lint on draft PRs #15958

This commit is contained in:
dundargoc 2021-10-09 02:08:47 +02:00 committed by GitHub
parent 2f50c7b5a3
commit f620008e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,11 @@
name: "Commit Linter" name: "Commit Linter"
on: pull_request on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs: jobs:
lint-commits: lint-commits:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: steps: