From aa22200378069a8bcbd008601092ef20ef5c3612 Mon Sep 17 00:00:00 2001 From: Paul Cacheux Date: Fri, 16 Feb 2024 10:24:14 +0100 Subject: [PATCH] fix trusted "Tag breaking changes" workflow Signed-off-by: Paul Cacheux --- .github/workflows/trusted.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trusted.yml b/.github/workflows/trusted.yml index 925b676ba..09c33050f 100644 --- a/.github/workflows/trusted.yml +++ b/.github/workflows/trusted.yml @@ -17,7 +17,7 @@ jobs: uses: actions/github-script@v7 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 }}, @@ -25,7 +25,7 @@ jobs: var matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "apidiff" })[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,