Skip to content

Commit e0c1604

Browse files
committed
updates
1 parent 0e19f21 commit e0c1604

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9794,7 +9794,7 @@ const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))
97949794
const { runId: run_id } = github.context
97959795

97969796
// get workflow id and created date from run id
9797-
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/optimizely/optimizely/actions/runs/${run_id}`, {
9797+
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/{owner}/{repo}/actions/runs/${run_id}`, {
97989798
...github.context.repo,
97999799
run_id
98009800
})

src/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function ({ token, delay, timeout }) {
2020
const { runId: run_id } = github.context
2121

2222
// get workflow id and created date from run id
23-
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/optimizely/optimizely/actions/runs/${run_id}`, {
23+
const { data: { workflow_id, run_started_at } } = await octokit.request(`GET /repos/{owner}/{repo}/actions/runs/${run_id}`, {
2424
...github.context.repo,
2525
run_id
2626
})

0 commit comments

Comments
 (0)