-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub to post reviews using PRReviewReporter by default
For pull requests, this enables the Pull Request Review reporter to approve pull requests or post comments if issues are found. The unit test for GitHub has been simplified further to just check if a comment has been made. In the future the github package won't require this mocking at all as it will just provide reports to an analyse function, and instead rely on the integration tests to ensure issues are reported. An additional integration test has been included to verify a review is posted when there are no issues, and its state is APPROVED. Resolves #112.
- Loading branch information
1 parent
af52b55
commit 00cd92b
Showing
4 changed files
with
89 additions
and
19 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
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,12 @@ | ||
#!/bin/bash -eux | ||
|
||
git checkout -b $1 | ||
|
||
cat > foo.go <<EOF | ||
package foo | ||
EOF | ||
|
||
git add . | ||
git commit -m "commit" | ||
|
||
git push -f -u origin HEAD |