Created
December 28, 2020 21:12
-
-
Save hbjydev/9f742fbac91f3133022e628143bf65d9 to your computer and use it in GitHub Desktop.
It works!!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -L https://api.github.com/repos/rocky-linux/rockylinux.org/pulls/135/commits | jq --nul-output .[].commit.message - | xargs -0 -I _ sh -c 'echo "_" > /tmp/cmsg | pre-commit run --hook-stage commit-msg --commit-msg-filename /tmp/cmsg; rm /tmp/cmsg' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment