We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c41ca8 commit 6c7af80Copy full SHA for 6c7af80
.maintenance/clone-all-repositories.php
@@ -16,7 +16,7 @@
16
$headers = '';
17
$token = getenv( 'GITHUB_TOKEN' );
18
if ( ! empty( $token ) ) {
19
- $headers = '--header "Authorization: token $token"';
+ $headers = "--header \"Authorization: Bearer $token\"";
20
$response = shell_exec( "curl -s {$headers} {$request}" );
21
} else {
22
$response = shell_exec( "curl -s {$request}" );
0 commit comments