Skip to content

Commit ae87f59

Browse files
committed
Fix primer comment
1 parent ebe8c19 commit ae87f59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/primer_comment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
with:
2323
script: |
2424
const fs = require('fs');
25-
const artifacts = await github.actions.listWorkflowRunArtifacts({
25+
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
2626
owner: context.repo.owner,
2727
repo: context.repo.repo,
2828
run_id: ${{ github.event.workflow_run.id }},
2929
});
3030
const [matchArtifact] = artifacts.data.artifacts.filter((artifact) =>
3131
artifact.name == "primer_diffs");
32-
const download = await github.actions.downloadArtifact({
32+
const download = await github.rest.actions.downloadArtifact({
3333
owner: context.repo.owner,
3434
repo: context.repo.repo,
3535
artifact_id: matchArtifact.id,

0 commit comments

Comments
 (0)