mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
feat: handle pull_request converted_to_draft action
This commit is contained in:
parent
dea9c8474b
commit
27376f587d
1 changed files with 6 additions and 0 deletions
|
@ -420,6 +420,12 @@ async def github(request):
|
|||
repository=repository,
|
||||
)
|
||||
|
||||
elif action == "converted_to_draft":
|
||||
await notify(
|
||||
f"[{repository}] @{user} converted to draft the [pull request #{pull_request_number}]({url}): {pull_request_title}",
|
||||
repository=repository,
|
||||
)
|
||||
|
||||
elif action in (
|
||||
"review_requested",
|
||||
"review_request_removed",
|
||||
|
|
Loading…
Reference in a new issue