microadam / drone-config-changeset-conditional

The Unlicense
65 stars 16 forks source link

`access_token` query parameter is deprecated #21

Closed acim closed 4 years ago

acim commented 4 years ago
Hi @acim,

On February 3rd, 2020 at 22:27 (UTC) your personal access token (test) using NodeJS HTTP Client was used as part of a query parameter to access an endpoint through the GitHub API:

https://api.github.com/repositories/217247589/compare/...censored

Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated.

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.

Thanks,
The GitHub Team
microadam commented 4 years ago

Fixed in https://github.com/microadam/drone-config-changeset-conditional/commit/83e5a44dc59df55fc85e23bfe7e1eb03541f2ee1

calmyournerves commented 4 years ago

Thanks @microadam! 🙌