From: Tim Düsterhus Date: Thu, 11 Mar 2021 11:43:30 +0000 (+0100) Subject: Do not check for `fixup!` commit in draft PRs X-Git-Tag: 5.4.0_Alpha_1~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05f5f0c2e20e0077270136d7656c4824aa950629;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Do not check for `fixup!` commit in draft PRs --- diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 03fc884..21d8ba3 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -25,6 +25,7 @@ jobs: checkAllCommitMessages: 'true' accessToken: ${{ secrets.GITHUB_TOKEN }} - name: Check for unsquashed `fixup!` commits. + if: ${{ ! github.event.pull_request.draft }} uses: gsactions/commit-message-checker@c61c81192182bbc0d5e41b4796e3b71684228c77 with: pattern: '^(?!fixup!(\s|$))'