Repository navigation
Proposal: automate CLA request + reminder comments on PRs labeled cla-needed
#380
JooHyukKim
started this conversation in
Ideas
Replies: 1 comment 4 replies
|
WDYT? @cowtowncoder @pjfanning @yawkat Implementation expected to be simple |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
When a PR comes in from someone without a CLA on file, we add
cla-neededand write the "we'd need a CLA" comment by hand. Following up is then up to whoever remembers, and some PRs just sit there for weeks.I'd like to automate that part with a small GitHub Actions workflow:
cla-neededis added to a PR, it posts the usual request (unless someone already asked for the CLA on that PR)cla-needed. If the label has been there 3+ days and nobody mentioned the CLA in the last 3 days, it posts a short remindercla-received(or the PR is closed), it stopsThe messages would be:
Setup would be one reusable workflow in
FasterXML/jackson, plus a short caller file in each repo that wants it. It runs on the built-inGITHUB_TOKEN, so no secrets, and comments come fromgithub-actions[bot]. It reacts to the label event but never checks out PR code.I'd start with jackson-databind and add other repos if it works out.
Things I'd like input on:
jacksonusing an org-level token?Happy to open the PR if this sounds reasonable.
All reactions