From 69e240880c662269b6328be1fca04b43502ca348 Mon Sep 17 00:00:00 2001 From: Albert Teoh Date: Tue, 26 Dec 2023 19:45:23 +1100 Subject: [PATCH] Update test report workflow --- .github/workflows/ci-unit-tests-report.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-unit-tests-report.yml b/.github/workflows/ci-unit-tests-report.yml index 41fd958a853..5e2108a4f9a 100644 --- a/.github/workflows/ci-unit-tests-report.yml +++ b/.github/workflows/ci-unit-tests-report.yml @@ -10,6 +10,7 @@ jobs: unit-test-results: name: Unit Test Results runs-on: ubuntu-latest + if: github.event.workflow_run.conclusion != 'skipped' permissions: checks: write @@ -27,14 +28,14 @@ jobs: egress-policy: audit # TODO: change to 'egress-policy: block' after a couple of runs - name: Download and Extract Artifacts - uses: actions/download-artifact@v4 + uses: dawidd6/action-download-artifact@v3 with: - github-token: ${{ secrets.GH_PAT }} # token with actions:read permissions on target repo - run-id: ${{ github.event.workflow_run.id }} +# github-token: ${{ secrets.GH_PAT }} # token with actions:read permissions on target repo + run_id: ${{ github.event.workflow_run.id }} # repository: actions/toolkit # run-id: 1234 # run-id: ${{ github.event.workflow_run.id }} -# path: artifacts + path: artifacts - name: Display structure of downloaded files run: ls -R