correct use of getWorkflowRun in actions/github-script v5 (#24786)
This commit is contained in:
2
.github/workflows/staging-deploy-pr.yml
vendored
2
.github/workflows/staging-deploy-pr.yml
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user