-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Abstract GitHub client away (#140)
Adds a layer between GitHub client and business logic currently referred to as "forge" with the idea that we may support non-GitHub code forges in the future. The abstraction layer refers to PRs as Changes to further disconnect from GitHub-specific terminology. This also fixes a previously known bug where `GITHUB_GIT_URL` was not actually accounted for when matching the remote URL. In this change, that's renamed to `GITHUB_URL`, and is actually used when determining the GitHub repository. The internal/gh package has been merged into this new package while we're at it.
- Loading branch information
Showing
26 changed files
with
468 additions
and
207 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kind: Fixed | ||
body: GitHub URL detection now respects non-standard URLs like GHES set via `$GITHUB_URL`. | ||
time: 2024-06-01T15:12:23.588802-07:00 |
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.