Skip to content

Commit 1b15d14

Browse files
committed
updates
1 parent 949e21d commit 1b15d14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ export default async function ({ token, delay, timeout }) {
1414
let timer = 0
1515

1616
// init octokit
17-
core.info(`${token}`);
1817
const octokit = github.getOctokit(token)
1918

2019
// extract runId
2120
const { runId: run_id } = github.context
2221

2322
// get workflow id and created date from run id
24-
const { data: { workflow_id, run_started_at } } = await octokit.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}', {
23+
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/optimizely/optimizely/actions/runs/${run_id}`, {
2524
...github.context.repo,
2625
run_id
2726
})

0 commit comments

Comments
 (0)