nblockchain/conventions

Create a script that compares commit-msg with PR

knocte opened this issue · 0 comments

This script would check how many commit the PR has:

  • If more than 1 commit, it would abort (return ExitCode 0).
  • If only 1 commit, it would check:
    • If PR title and commit msg title differ: fail.
    • If PR description and commit msg body differ: fail.