-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Authorization header for Github PAT
PATs are oauth tokens so there's no reason to use BasicAuth here. I read the GH docs as recommending `Authorization: Bearer` if possible. GH understands what kind of token is being used, e.g. I see: `Added on Aug 20, 2020 via personal access token owned by @michaelbeaumont` when I authenticate this way and add a DeployKey
- Loading branch information
1 parent
92426c1
commit db66a66
Showing
2 changed files
with
2 additions
and
17 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