From 2fe50135f395d50a33c7143c9abc8189f12748b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 1 Jul 2022 11:41:04 +0200 Subject: [PATCH] Update gsactions/commit-message-checker --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 21d8ba3..0facc2b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check for GitHub's default message. - uses: gsactions/commit-message-checker@c61c81192182bbc0d5e41b4796e3b71684228c77 + uses: gsactions/commit-message-checker@8c8c0d18ba9b1fcfed6e7385fd2bf357dfc8dccb with: pattern: '^(?!Update\s+\S*$).*$' error: 'Please use a meaningful commit message.' @@ -26,7 +26,7 @@ jobs: accessToken: ${{ secrets.GITHUB_TOKEN }} - name: Check for unsquashed `fixup!` commits. if: ${{ ! github.event.pull_request.draft }} - uses: gsactions/commit-message-checker@c61c81192182bbc0d5e41b4796e3b71684228c77 + uses: gsactions/commit-message-checker@8c8c0d18ba9b1fcfed6e7385fd2bf357dfc8dccb with: pattern: '^(?!fixup!(\s|$))' error: 'A `fixup!` commit was found.' -- 2.20.1