Pass auth token to got request

This commit is contained in:
Michal Dorner
2021-02-15 16:59:31 +01:00
parent 52024f70c3
commit 8819b4b3d4
5 changed files with 36 additions and 21 deletions

View File

@@ -69,7 +69,15 @@ class TestReporter {
const pattern = this.path.split(',')
const inputProvider = this.artifact
? new ArtifactProvider(this.octokit, this.artifact, this.name, pattern, this.context.sha, this.context.runId)
? new ArtifactProvider(
this.octokit,
this.artifact,
this.name,
pattern,
this.context.sha,
this.context.runId,
this.token
)
: new LocalFileProvider(this.name, pattern)
const parseErrors = this.maxAnnotations > 0