1
0
mirror of synced 2026-01-06 06:02:35 -05:00

Remove .rest. from github-script (#24832)

Pair-debugged with @rsese
This commit is contained in:
Peter Bengtsson
2022-01-31 13:03:16 -05:00
committed by GitHub
parent 934b255119
commit e6a5dd7d8c

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.rest.actions.getWorkflowRun({
const { data: run } = await github.actions.getWorkflowRun({
owner,
repo,
run_id: BUILD_ACTIONS_RUN_ID,