Skip to content

github plugin cannot distinguish between PRs and issues with an IssueCommentEvent #173

Description

@LordAro

As best as I can see, the only (short of checking for 'pull/' in URLs) way to distinguish between the two is to use the (undocumented) pull_request key in the issue block. Might need a handle_issue_comment function to deal with this, as you can't put conditionals in the format handlers (not a format string :( )

https://github.com/TrueBrain/DorpsGek/blob/569474db772add7be7260d01e4d5abc724d0d792/dorpsgek/events/pull_request.py#L32

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions