The pre-commit hook check doesn't work when using GitHub's Update branch button to merge main into a branch because the commit is missing the signed-off by DBT message. See https://github.com/uktrade/hwrt/pull/104 as an example.
Resolution could be linked to #231.
Work-around until issue resolved:
As suggested by @nicopicchio , pull the branch, add an empty commit and push back:
git commit --allow-empty -m "Empty commit to resolve pre-commit hook check error"
The pre-commit hook check doesn't work when using GitHub's Update branch button to merge main into a branch because the commit is missing the signed-off by DBT message. See https://github.com/uktrade/hwrt/pull/104 as an example.
Resolution could be linked to #231.
Work-around until issue resolved:
As suggested by @nicopicchio , pull the branch, add an empty commit and push back:
git commit --allow-empty -m "Empty commit to resolve pre-commit hook check error"