Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
External link checker: Add an HTTP header for the auth for GitHub (Qi…
…skit#1392) Part of Qiskit#823 This PR adds a new HTTP header to the external link checker to set the auth for GitHub when we are checking GitHub links. The new header is only used for GitHub links following what we do in the closed-source repo. In order to be able to get the environment variable from typescript with `process.env.GITHUB_TOKEN`, we need to define it in the workflows. In the case of running the script locally, the token could be undefined. --------- Co-authored-by: Eric Arellano <[email protected]>
- Loading branch information