Skip to content

Commit a699fd8

Browse files
committed
updates
1 parent 1b15d14 commit a699fd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dist/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9788,14 +9788,13 @@ const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))
97889788
let timer = 0
97899789

97909790
// init octokit
9791-
core.info(`${token}`);
97929791
const octokit = github.getOctokit(token)
97939792

97949793
// extract runId
97959794
const { runId: run_id } = github.context
97969795

97979796
// get workflow id and created date from run id
9798-
const { data: { workflow_id, run_started_at } } = await octokit.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}', {
9797+
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/optimizely/optimizely/actions/runs/${run_id}`, {
97999798
...github.context.repo,
98009799
run_id
98019800
})

0 commit comments

Comments
 (0)