Verify that commits carry a DCO sign-off matching their author.
Projects like OpenFGA require DCO. dcoshield checks local commits before you push, so a PR does not arrive with a bot comment saying the CLA/DCO is not signed.
pip install git+https://github.com/Sakibpedia/dcoshield.gitdcoshield # last 5 commits
dcoshield HEAD~20..HEAD # a range
dcoshield --repo ../openfga HEAD
dcoshield --jsonExit code is 1 when any commit lacks a matching Signed-off-by: line, 0 when all are signed, 2 on a git error. For commits that need fixing, dcoshield prints the exact git commit --amend --signoff or git rebase --exec command.
It does not rewrite history by itself — amending commits is left to you.
pip install -e ".[dev]"
python -m pytest
python -m ruff check src testsMIT licensed. Built by S M Nazmuz Sakib.