mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 13:37:56 +01:00
Pass auth token to got request
This commit is contained in:
parent
52024f70c3
commit
8819b4b3d4
5 changed files with 36 additions and 21 deletions
10
src/main.ts
10
src/main.ts
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue