Open
Description
- Use the github API to create a comment on a PR. Use e.g. the cla-bot-playground repo to test this.
- Use the github API to retrieve comments on that PR to see what the payload looks like.
- Comment when the user has not signed the CLA and the comment has not been made previously.
- Comment after the user has signed the CLA and the comment has not been made previously.
constraints:
- need to make sure the bot doesn't comment the same thing multiple times on PRs (as the PR check gets set multiple times in a typical interaction). only one comment of each kind (i.e. 'sign the cla' or 'thanks for signing the CLA').
- worth noting that the typical listcomments API call returns 30 comments max usually.