nedbat / scriv

Changelog management tool

Home Page:https://scriv.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pre-commit hook that fails if there's no changelog entry on the merge base against default branch

gaborbernat opened this issue · comments

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?

I do not, but perhaps @asottile might have something on hand 🤔

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