Skip to content

Pre-commit hook check doesn't work when using GitHub's Update branch button to merge main into a branch #232

Description

@sumau

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions