Kami CLA bot
What it is
GitHub Action (.github/workflows/cla.yml) asks every human committer on a PR to sign CLA.md by commenting:
I have read the CLA Document and I hereby sign the CLA
Signatures are appended to signatures/version1/cla.json on branch cla-signatures. That grant includes the right to relicense (possible Kami Enterprise) while Community Edition stays MIT.
Action: badideasforsale/cla-github-action pinned by commit SHA in cla.yml. Do not float @v3 or switch back to the archived contributor-assistant/github-action without a maintainer decision.
When a PR is blocked
- Confirm
.github/workflows/cla.ymlis on the default branch, and that the default branch isdev. Since November 2025,pull_request_targetruns the workflow file from the default branch, not from the pull request base. A copy that exists only on another branch never runs. - Ask unsigned users to paste the sign sentence (exact string). Then comment
recheckif the check stays red. - If the Action cannot push signatures:
cla-signaturesmust exist and must not be protected. The workflow's ownpermissions:block (contents: write) overrides the org's read-only default token, so no Actions setting needs changing. - Never create
cla.jsonby hand (the action will fail). - Do not allowlist humans to skip signing.
Allowlist
Only bots: bot*, cursor[bot], cursoragent, dependabot[bot], github-actions[bot], renovate[bot].
@saranambiar and @VaradDurge sign once like external contributors.
Changing the CLA text
- Edit
CLA.md. - Bump storage path to
signatures/version2/cla.jsonif the grant terms changed (so old signatures do not silently cover new terms). - Keep CODEOWNERS on
/CLA.mdas both maintainers.
New CLA version checklist
- [ ] Terms reviewed by both maintainers
- [ ]
path-to-documentstill points atdev(or the live default) - [ ] Signature path version bumped if legally needed
- [ ] CONTRIBUTING.md and PR template still match the sign phrase