diff --git a/.github/workflows/combine_and_report.yml b/.github/workflows/combine_and_report.yml index a9bf5f9c47..b0fe370f4b 100644 --- a/.github/workflows/combine_and_report.yml +++ b/.github/workflows/combine_and_report.yml @@ -15,11 +15,11 @@ jobs: find artifacts -name "test_reports*.zip" -exec unzip -d test_reports {} \; find test_reports -name "**/test_reports*.zip" -exec unzip -d test_reports {} \; - name: Merge parallel runtime log parts - if: github.repository == github.event.pull_request.head.repo.full_name + if: secrets.ACCOUNT_NAME != '' run: | cat artifacts/**/parallel_runtime_rspec*.log > parallel_runtime.log - name: Upload log file to Azure Blob Storage - if: github.repository == github.event.pull_request.head.repo.full_name + if: secrets.ACCOUNT_NAME != '' env: AZURE_STORAGE_KEY: ${{ secrets.STORAGE_ACCESS_KEY }} AZURE_STORAGE_ACCOUNT: ${{ secrets.ACCOUNT_NAME }} diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index e09da97923..1f00164d2a 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -124,7 +124,7 @@ jobs: zip -r test_reports_${{ env.GROUPS_UNDERSCORE }}.zip tmp/reports - name: Compress log - if: github.repository == github.event.pull_request.head.repo.full_name + if: secrets.ACCOUNT_NAME run: | mv tmp/parallel_runtime.log parallel_runtime_rspec_${{ env.GROUPS_UNDERSCORE }}.log @@ -135,7 +135,7 @@ jobs: path: test_reports_${{ env.GROUPS_UNDERSCORE }}.zip - name: Upload file parallel tests runtime log - if: github.repository == github.event.pull_request.head.repo.full_name + if: secrets.ACCOUNT_NAME uses: actions/upload-artifact@v4 with: name: parallel_runtime_rspec_${{ env.GROUPS_UNDERSCORE }}.log