File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ export async function createRealOctokit(): Promise<OctokitRestApi> {
358
358
const OctokitWithPaginateAndRest = realOctokit . Octokit . plugin ( restEndpointMethods , paginateRest ) ;
359
359
360
360
return new OctokitWithPaginateAndRest ( {
361
- auth : `token ${ process . env . GITHUB_TOKEN } ` ,
361
+ auth : `Bearer ${ process . env . GITHUB_TOKEN } ` ,
362
362
userAgent : '[octokit] terraform-module-releaser-ci-test' ,
363
363
} ) ;
364
364
}
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function initializeContext(): Context {
126
126
repoUrl : `${ serverUrl } /${ owner } /${ repo } ` ,
127
127
octokit : new OctokitRestApi ( {
128
128
baseUrl : apiUrl ,
129
- auth : `token ${ config . githubToken } ` ,
129
+ auth : `Bearer ${ config . githubToken } ` ,
130
130
userAgent : `[octokit] terraform-module-releaser/${ version } (${ homepage } )` ,
131
131
} ) ,
132
132
prNumber : payload . pull_request . number ,
You can’t perform that action at this time.
0 commit comments