pre-commit hook that fails if there's no changelog entry on the merge base against default branch
gaborbernat opened this issue · comments
Bernát Gábor commented
👍
Ned Batchelder commented
TBH, I don't use pre-commit hooks, so I'm not sure what form this would even take. Do you have an example I could crib from?
Bernát Gábor commented
I do not, but perhaps @asottile might have something on hand 🤔
Anthony Sottile commented
I don't think this really makes sense as a pre-commit hook -- you need the whole context of a branch and an upstream -- probably makes more sense as a pull request check