After cloning the repository, run:
gh extension remove gh-pr-body-commits
gh extension install .
From now on, gh pr-body-commits
will run the code in your local clone of the repository.
To revert back to the published version, run:
gh extension remove gh-pr-body-commits
gh extension install AdamVig/gh-pr-body-commits