-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add GitHub-specific request headers (#443)
* refactor: simplify header append logic This felt a bit redundant, and this pattern will make it easier for us to add more headers more easily * refactor: add GHA check into separate function We'll be using this in our fetch wrapper so let's extract it! * feat: move source header to all requests Also the header is now different depending on if it's in a GHA environment or not Refactoring all fetch tests to check for multiple headers * feat: add additional GitHub metadata
- Loading branch information
1 parent
9f86fa0
commit bf20f2d
Showing
3 changed files
with
65 additions
and
21 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