From 8ead8585cd5e697ebb3d5e547f8c96b3d57d6444 Mon Sep 17 00:00:00 2001 From: "Brian L. Troutwine" Date: Tue, 8 Nov 2022 22:11:08 -0500 Subject: [PATCH] Correct github.actions.rest to github.rest.actions In #15142 we introduced the split between the trusted and untrusted regresison detector workflow. Unfortunately the trusted side can only be tested once it's merged into master branch and we had a bug. The github-scripts that download artifacts referenced `github.actions.rest` when it should have read `github.rest.actions`. Please note that because of the nature of workflow_run triggered workflows this change will not be reflected in the PR's workflow runs. Signed-off-by: Brian L. Troutwine --- .github/workflows/regression_trusted.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/regression_trusted.yml b/.github/workflows/regression_trusted.yml index 5ddd3fb77b82e..0375707a85233 100644 --- a/.github/workflows/regression_trusted.yml +++ b/.github/workflows/regression_trusted.yml @@ -90,7 +90,7 @@ jobs: console.log("Downloading artifact %s", matchArtifact.id); - var download = await github.actions.rest.downloadArtifact({ + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id, @@ -160,7 +160,7 @@ jobs: console.log("Downloading artifact %s", matchArtifact.id); - var download = await github.actions.rest.downloadArtifact({ + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id, @@ -228,7 +228,7 @@ jobs: console.log("Downloading artifact %s", matchArtifact.id); - var download = await github.actions.rest.downloadArtifact({ + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, artifact_id: matchArtifact.id,