Skip to content

Commit

Permalink
Use Bearer instead of token
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Oct 26, 2023
1 parent c9556a2 commit 9217d2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/merge-labeler
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use v5.10;

our $VERSION = '0.004';
our $VERSION = '0.005';
say STDERR "$0: $VERSION";

our( $repo, $id ) = @ARGV;
Expand Down Expand Up @@ -45,7 +45,7 @@ sub curl {
'--silent',
'-X', $method,
'-H', q('Accept: application/vnd.github.v3+json'),
'-H', qq('Authorization: token $token'),
'-H', qq('Authorization: Bearer $token'),
'-H', q('X-GitHub-Api-Version: 2022-11-28'),
];

Expand Down

0 comments on commit 9217d2b

Please sign in to comment.