-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: compare only <owner>/<repo> when checking for rename (#886)
* fix: ignore protocol mismatch when checking if repository is renamed * fix: compare repositoryUrl to git_url instead of clone_url * fix: include values of repositoryUrl and git_url in EMISMATCHGITHUBURL * chore: fix format * fix: fix git repo check and tests * test: fix mock git_urls * test: add EMISMATCHGITHUBURL tests * chore: format code * fix: mistake that would cause error if run in github action * test: remove comment about repeat calls * refactor: code cleanup * fix: check for rename even when authenticated as a GitHub App installation * test: test rename check for GitHub installation * fix: switch back to clone_url, test a lot of URL formats --------- Co-authored-by: Olabode Lawal-Shittabey <babblebey@gmail.com>
- Loading branch information
1 parent
4adf13d
commit 24ea2ee
Showing
6 changed files
with
502 additions
and
87 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
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.