Is there a GitHub hook for listening when changing a PR description?

Is there any event or way to get the message pressed (webhook) when the description or header of the Pull request changes?

I have now listed the event pull_request, but it works only when of PR "open", "closed", "synchronized" or "re-open" .

I track some links / tags / word from the PR description and during the PR review, the author can change the description, but I can not find a way to get notification when this happens.

One way might be checking with the api for changes (polling), but I need a better way to get this (push).

+4
source share
1 answer

Short answer: no

I sent an email in support of Github and this was their response:

Thanks for contacting! Currently, we cannot launch webhooks when the names or descriptions of a pull request are changed. Here is a complete list of events that web recordings can trigger:

http://developer.github.com/webhooks/#events

As you mentioned, polling an API is one way of checking for change. Another possible workaround would be to add a new comment to when you update the description or title that trigger the event pull_request_review_comment.

! - . , / .

, !

+4

Source: https://habr.com/ru/post/1531888/


All Articles