We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b15d14 commit a699fd8Copy full SHA for a699fd8
dist/index.js
@@ -9788,14 +9788,13 @@ const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))
9788
let timer = 0
9789
9790
// init octokit
9791
- core.info(`${token}`);
9792
const octokit = github.getOctokit(token)
9793
9794
// extract runId
9795
const { runId: run_id } = github.context
9796
9797
// 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}', {
+ const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/optimizely/optimizely/actions/runs/${run_id}`, {
9799
...github.context.repo,
9800
run_id
9801
})
0 commit comments