From 17324282d60983cca28102c9bb5d69dcc6704a9e Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sun, 25 Aug 2024 10:43:55 -0700 Subject: [PATCH] Use official download-artifact action. The official download-artifact action now supports retrieving artifacts from a different workflow run. --- .github/workflows/pull_request_comment.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_comment.yml b/.github/workflows/pull_request_comment.yml index 6520612..e8e48e2 100644 --- a/.github/workflows/pull_request_comment.yml +++ b/.github/workflows/pull_request_comment.yml @@ -18,9 +18,10 @@ jobs: steps: - name: Download artifacts - uses: dawidd6/action-download-artifact@v3 + uses: actions/download-artifact@v4 with: - run_id: ${{ github.event.workflow_run.id }} + github-token: ${{ github.token }} + run-id: ${{ github.event.workflow_run.id }} - name: Read pull request number id: pull_request_number_reader