Skip to content
This repository has been archived by the owner on Sep 1, 2019. It is now read-only.

Add: handle the new pull_request_review actions #12

Merged
merged 1 commit into from Oct 6, 2018

Conversation

TrueBrain
Copy link
Member

No description provided.

@@ -26,6 +26,18 @@
message = f"{event.data['user']} reopened pull request #{event.data['pull_id']}: {event.data['title']}"
elif event.data["action"] == "comment":
message = f"{event.data['user']} commented on pull request #{event.data['pull_id']}: {event.data['title']}"
elif event.data["action"] == "dismissed":
message = f"{event.data['user']} dismissed the approval of pull request #{event.data['pull_id']}:" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not necessarily an approval that was dismissed - s/approval/review/ ?

@TrueBrain TrueBrain merged commit 57dff11 into OpenTTD:master Oct 6, 2018
@TrueBrain TrueBrain deleted the pull_request_review branch November 10, 2018 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants