[CI] Migrate bots to use Authorization HTTP Header
See original GitHub issueTracking issue raised by GitHub’s API regarding our CI bots script (bots/code-analysis-bot.js
):
On February 12th, 2020 at 21:09 (UTC) your personal access token (public_repo) using octokit.js/16.43.1 Node.js/12.15.0 (Linux 4.15; x64) was used as part of a query parameter to access an endpoint through the GitHub API.
Please use the Authorization HTTP header instead, as using the
access_token
query parameter is deprecated and will be removed July 1st, 2020.Depending on your API usage, we’ll be sending you this email reminder once every 3 days for each token and User-Agent used in API calls made on your behalf. Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.
Visit https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters for more information.
The access token is publicly available in .circleci/config.yml
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top GitHub Comments
Fixed by #32891
Is this needed? As @fabriziobertoglio1987 mentioned I believe this is already solved:
So i think we can just close this issue