Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as core from '@actions/core'
import * as stepTracer from './stepTracer'
import * as statCollector from './statCollector'
import * as processTracer from './processTracer'
Expand Down
4 changes: 3 additions & 1 deletion src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import { WorkflowJobType } from './interfaces'
const { pull_request } = github.context.payload
const { workflow, job, repo, runId, sha } = github.context
const PAGE_SIZE = 100
const octokit: Octokit = new Octokit()
const octokit: Octokit = new Octokit({
auth: core.getInput('github_token')
})

async function getCurrentJob(): Promise<WorkflowJobType | null> {
const _getCurrentJob = async (): Promise<WorkflowJobType | null> => {
Expand Down