From aa09927662debb14686eeb38509f930d145a7e10 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 29 Jul 2024 13:03:38 +0100 Subject: [PATCH] Remove ignored commit in commit message checks --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cc920f45..f1beac2f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,23 +26,23 @@ jobs: - name: Check commit messages (PR) if: ${{ github.event_name == 'pull_request' }} run: | - if git log --oneline | tail -n +2 | head -n 100 | grep -v 76f9176 | cut -d ' ' -f2- | grep -q '.\{73\}'; then + if git log --oneline | tail -n +2 | head -n 100 | cut -d ' ' -f2- | grep -q '.\{73\}'; then (echo -n "::error::"; echo "Some commit message summary lines are too long. See CONTRIBUTING.md for more information."; echo "Invalid commits:"; echo; - git log --oneline | tail -n +2 | head -n 100 | grep -v 76f9176 | cut -d ' ' -f2- | grep '.\{73\}';) | tr '\n' '\001' | sed -e 's#\x01#%0A#g'; + git log --oneline | tail -n +2 | head -n 100 | cut -d ' ' -f2- | grep '.\{73\}';) | tr '\n' '\001' | sed -e 's#\x01#%0A#g'; exit 1; fi - name: Check commit messages (Push) if: ${{ github.event_name == 'push' }} run: | - if git log --oneline | head -n 100 | grep -v 76f9176 | cut -d ' ' -f2- | grep -q '.\{73\}'; then + if git log --oneline | head -n 100 | cut -d ' ' -f2- | grep -q '.\{73\}'; then (echo -n "::error::"; echo "Some commit message summary lines are too long. See CONTRIBUTING.md for more information."; echo "Invalid commits:"; echo; - git log --oneline | head -n 100 | grep -v 76f9176 | cut -d ' ' -f2- | grep '.\{73\}';) | tr '\n' '\001' | sed -e 's#\x01#%0A#g'; + git log --oneline | head -n 100 | cut -d ' ' -f2- | grep '.\{73\}';) | tr '\n' '\001' | sed -e 's#\x01#%0A#g'; exit 1; fi clang-format: