conform icon indicating copy to clipboard operation
conform copied to clipboard

gpg can't be enforced during pre-commit

Open YodaDaCoda opened this issue 8 months ago • 1 comments

When using conform in a pre-commit hook, if using `gpg: required: true', it would seem that the previous commit is checked, not the one that's currently being committed.

Based on the git-hooks documentation I'm not sure if the current commit can be checked for signatures. IMO this should at least be documented, and ideally the behaviour adjusted.

YodaDaCoda avatar Mar 26 '25 22:03 YodaDaCoda

This will be addressed by my PR: #262

As long as you use conform enforce --base-branch or conform enforce --revision-range.

terlar avatar Apr 02 '25 20:04 terlar