-
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.
feat: support new tokenless protocol (#447)
* feat: add new tokenless support We no longer have to send the X-Tokenless header anymore. Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io> * fix: remove github API call from tokenless we no longer want to make the github API call to check if the current ref we are uploading from is a PR to determine what to set the tokenless header to. It's no longer necessary and all that is needed for tokenless is to pass the correct branch name (containing a ':') to the create commit step so that tokenless works. The CLI will automatically check if the TOKENLESS env var has been set by the action. The action will set this env var when it detects it's running on a fork. Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io> * fix: address feedback * fix: add clarifying comment Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io> * test: fix tests * chore: make lint Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io> * chore: make lint --------- Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
- Loading branch information
1 parent
24d49dd
commit 74c67b6
Showing
11 changed files
with
44 additions
and
210 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
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.