From 6a067e5a1df6939c92212c184578066c28fafebd Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sat, 29 May 2021 17:29:13 +0300 Subject: [PATCH] CI: Disable the commit linter on draft pull requests --- .github/workflows/lintcommits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lintcommits.yml b/.github/workflows/lintcommits.yml index 8e763adc83d..42c091321f6 100644 --- a/.github/workflows/lintcommits.yml +++ b/.github/workflows/lintcommits.yml @@ -5,7 +5,7 @@ on: [pull_request_target] jobs: lint_commits: runs-on: ubuntu-20.04 - if: always() && github.repository == 'SerenityOS/serenity' + if: always() && github.repository == 'SerenityOS/serenity' && !github.event.pull_request.draft steps: - name: Get PR Commits