diff options
Diffstat (limited to '.github/workflows/pr-review-companion.yml')
-rw-r--r-- | .github/workflows/pr-review-companion.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/pr-review-companion.yml b/.github/workflows/pr-review-companion.yml index 5424f2ae70..da87635c01 100644 --- a/.github/workflows/pr-review-companion.yml +++ b/.github/workflows/pr-review-companion.yml @@ -28,7 +28,7 @@ jobs: uses: actions/github-script@v5 with: script: | - var artifacts = await github.actions.listWorkflowRunArtifacts({ + var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, run_id: ${{github.event.workflow_run.id }}, @@ -48,7 +48,7 @@ jobs: ); } var matchArtifact = matchArtifacts[0]; - var download = await github.actions.downloadArtifact({ + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id, |