-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add different message when a PR is merged or not (#26)
* Move merged key to the correct position inside pull_request * Have different message when a closed PR is merged or not * Add missing file containing the get_pr_merged function
- Loading branch information
Marc Navarro
authored
Oct 1, 2020
1 parent
1abfc75
commit 8269902
Showing
4 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"action": "closed", | ||
"number": 1, | ||
"pull_request": { | ||
"body": "This is the body of the PR. https://xxxx.teamwork.com/#/tasks/123 https://xxx.teamwork.com/#/tasks/456", | ||
"head": { | ||
"repo": { | ||
"full_name": "teamwork/github-sync" | ||
} | ||
}, | ||
"html_url": "https://github.com/teamwork/github-sync/pull/1", | ||
"title": "This is an example of a title for the PR.", | ||
"merged": false | ||
}, | ||
"sender": { | ||
"login": "username" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters