Roblox / cla-signature-bot

GitHub Action for self-contained handling of CLA signatures
Apache License 2.0
14 stars 13 forks source link

Skip comments on issues #14

Open Gudahtt opened 3 years ago

Gudahtt commented 3 years ago

The bot is currently triggered for comments on both issues and pull requests, but the bot has no purpose on issues. If the job does end up getting run, it will fail with an error.

The example in the README has been updated to skip the job when triggered by issue comments. The runner will also bail early if it determines that it's being run for an issue comment rather than a pull request comment, instead of blowing up when it tries to get the pull request authors.

Fixes #10