From c04284a5527639d07f6bd668ea0b691a196c17ea Mon Sep 17 00:00:00 2001 From: Laurents Meyer Date: Wed, 6 Mar 2024 01:14:51 +0100 Subject: [PATCH] Fix test related CI workflows. --- .github/workflows/test_results.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test_results.yml b/.github/workflows/test_results.yml index 1714a3c..e82b876 100644 --- a/.github/workflows/test_results.yml +++ b/.github/workflows/test_results.yml @@ -35,6 +35,13 @@ jobs: which node node --version + - name: Checkout + uses: actions/checkout@v4 + with: + repository: ${{ github.event.workflow_run.head_repository.full_name }} + ref: ${{ github.event.workflow_run.head_branch }} + token: ${{ secrets.GH_PUBLIC_REPOSITORIES_TOKEN }} + fetch-depth: 1 # - name: 'Check Artifact' # id: CheckArtifact # uses: actions/github-script@v7 @@ -80,6 +87,8 @@ jobs: console.log('context.repo.owner = ' + context.repo.owner); console.log('context.repo.repo = ' + context.repo.repo); + console.log('github.repository_owner = ${{ github.repository_owner }}'); + console.log('github.repository = ${{ github.repository }}'); var artifacts = allArtifacts.data.artifacts.filter((artifact) => { return artifact.name == "test-results";