-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use get_branch in get_behind_by instead of get_branches (#79)
* Use get_branch in get_behind_by instead of get_branches This commit changes get_behind_by to use get_branch instead of get_branches because of a GH API rate limiting issue. Instead of listing all branches in a repo via the API we now fetch only the one we are looking for, in this case the base branch of an open PR. This commit also makes changes to the requirements by updating shared to the latest version in order to use get_branch. Changes had to be made to existing integration tests as they we re-run, cassettes were updated. Signed-off-by: joseph-sentry <[email protected]>
- Loading branch information
1 parent
9f41bc2
commit 34540e4
Showing
11 changed files
with
2,554 additions
and
239 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,7 +251,7 @@ s3transfer==0.3.4 | |
# via boto3 | ||
sentry-sdk==1.19.1 | ||
# via -r requirements.in | ||
shared @ git+ssh://[email protected]/codecov/shared.git@6a8a33248804a9c101d34f417efda7c11e4bbe63 | ||
shared @ git+ssh://[email protected]/codecov/shared.git@4f65b0040ab6bb3dba2190ce544ade9a0ea3e354 | ||
# via -r requirements.in | ||
six==1.15.0 | ||
# via | ||
|
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
493 changes: 470 additions & 23 deletions
493
...s/tests/integration/cassetes/test_comment/TestCommentNotifierIntegration/test_notify.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.