diff --git a/.github/workflows/invoke-workflow.yml b/.github/workflows/invoke-workflow.yml index 5ace483..2679b9f 100644 --- a/.github/workflows/invoke-workflow.yml +++ b/.github/workflows/invoke-workflow.yml @@ -54,9 +54,7 @@ jobs: per_page: 1, }); - console.log(runs); - - const run_id = runs[0].id; + const run_id = runs.data.workflow_runs[0].id; core.setOutput('run-id', run_id);