| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR refactors the authorization header logic for downloading tools from GitHub by extracting common code into a reusable function and applying consistent authorization patterns to both CLI bundle and update-job-proxy downloads.
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/api-client.ts | Adds new getAuthorizationHeaderFor function to centralize authorization logic |
| src/start-proxy-action.ts | Updates proxy binary download to use authorization headers consistently |
| src/setup-codeql.ts | Refactors to use the new centralized authorization function |
| lib/*.js | Generated JavaScript files reflecting the TypeScript changes |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, with some minor doc/log thoughts.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This changes the start-proxy action to provide an Authorization header for the toolcache.downloadTool call under the same circumstances where we provide one for the toolcache.downloadTool call when downloading the CLI bundle.
Risk assessment
For internal use only. Please select the risk level of this change:
Merge / deployment checklist