aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-14 01:48:19 +0200
committerGitHub <noreply@github.com>2021-10-13 16:48:19 -0700
commitd362676d3d14ab1bf938c80a90b7a6f2665d9f3c (patch)
treea8d1b4a5f37b6f5ec6246c1e3324caba58a44550 /.github/workflows
parentdb4924aece2d2c9e3360d891f79dd00f9222e8ed (diff)
downloadtranslated-content-d362676d3d14ab1bf938c80a90b7a6f2665d9f3c.tar.gz
translated-content-d362676d3d14ab1bf938c80a90b7a6f2665d9f3c.tar.bz2
translated-content-d362676d3d14ab1bf938c80a90b7a6f2665d9f3c.zip
Fix #2711 / applied fixes for breaking changes in actions/github-script (#2717)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pr-review-companion.yml4
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,