Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bot trigger event #6896

Merged
merged 1 commit into from Mar 11, 2020
Merged

Commits on Mar 11, 2020

  1. Fix bot trigger event

    Issue events don't contain a 'comment' entry:
    https://developer.github.com/v3/issues/events/#response-2
    
    Issue comments also contain the original issue body:
    https://developer.github.com/v3/activity/events/types/#issuecommentevent
    
    That's why it was triggering even for comments on the issue.
    
    Also changed to startsWith because there's no need to support
    the command anywhere in the body IMO.
    
    Fix pytest-dev#6895
    nicoddemus committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    a0ea300 View commit details
    Browse the repository at this point in the history