1
0
mirror of synced 2026-01-03 15:05:54 -05:00

correct use of getWorkflowRun in actions/github-script v5 (#24786)

This commit is contained in:
Peter Bengtsson
2022-01-28 11:14:24 -05:00
committed by GitHub
parent 8ff0c864aa
commit d384b85e97

View File

@@ -71,7 +71,7 @@ jobs:
// the API for more info based on the originating workflow run
const { BUILD_ACTIONS_RUN_ID } = process.env
const { owner, repo } = context.repo
const { data: run } = await github.actions.getWorkflowRun({
const { data: run } = await github.rest.actions.getWorkflowRun({
owner,
repo,
run_id: BUILD_ACTIONS_RUN_ID,