Skip to content

Commit ac9385a

Browse files
committed
updates
1 parent a699fd8 commit ac9385a

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
@@ -9750,7 +9750,7 @@ var external_util_ = __nccwpck_require__(3837);
97509750

97519751
/* harmony default export */ async function runs({ octokit, workflow_id, run_id, before }) {
97529752
// get current run of this workflow
9753-
const { data: { workflow_runs } } = await octokit.request('GET /repos/{owner}/{repo}/actions/workflows/prodDeployPipeline/runs', {
9753+
const { data: { workflow_runs } } = await octokit.request('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', {
97549754
...github.context.repo,
97559755
workflow_id
97569756
})

src/lib/runs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import github from '@actions/github'
99

1010
export default async function ({ octokit, workflow_id, run_id, before }) {
1111
// get current run of this workflow
12-
const { data: { workflow_runs } } = await octokit.request('GET /repos/{owner}/{repo}/actions/workflows/prodDeployPipeline/runs', {
12+
const { data: { workflow_runs } } = await octokit.request('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', {
1313
...github.context.repo,
1414
workflow_id
1515
})

0 commit comments

Comments
 (0)