diff options
author | Matt Wette <matt.wette@gmail.com> | 2020-02-22 11:48:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-22 12:17:35 +0100 |
commit | 3d1e42321f091b815835e28b54b37b7e9c79b9bb (patch) | |
tree | 676eab6552a31289b64409181c57a5d138c5def3 /gnu/tests/singularity.scm | |
parent | eb85995738e4cf8098b9b16a0ddd84bdd02704cb (diff) | |
download | guix-3d1e42321f091b815835e28b54b37b7e9c79b9bb.tar.gz guix-3d1e42321f091b815835e28b54b37b7e9c79b9bb.zip |
import: github: Use HTTP "Authorization" header for access tokens.
Fixes <https://bugs.gnu.org/39511>.
The "access_token" query parameter is now deprecated:
https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/#authenticating-using-query-parameters
* guix/import/github.scm (fetch-releases-or-tags)[headers]: Add
"Authorization" header when (%github-token) is true.
[decorate]: Remove, and remove callers.
Diffstat (limited to 'gnu/tests/singularity.scm')
0 files changed, 0 insertions, 0 deletions