Skip to content

Commit

Permalink
Fix octokit calls to correctly use new object definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rathpc committed Jan 18, 2024
1 parent fb68d45 commit cca8e38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -158,7 +158,7 @@ function getCompletedStep(logging, octokit, stepName) {
}

async function getStep(octokit, stepName) {
const run = await octokit.actions.listJobsForWorkflowRun({
const run = await octokit.rest.actions.listJobsForWorkflowRun({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
run_id: github.context.runId
Expand Down

0 comments on commit cca8e38

Please sign in to comment.