From 0bdeb8f26c4eb76b5d8ca72027a756ef73673da7 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 19 Jan 2024 10:39:42 +0530 Subject: [PATCH] Ensure trusted runs --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0156fe60c..2db3763fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,7 +130,7 @@ jobs: environment: Testing runs-on: ubuntu-latest timeout-minutes: 120 - if: (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') || (needs.precheck.outputs.srcfileschanged == 'true' && github.event.pull_request.head.repo.full_name == github.repository) + # if: (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') || (needs.precheck.outputs.srcfileschanged == 'true' && github.event.pull_request.head.repo.full_name == github.repository) defaults: run: working-directory: src @@ -188,7 +188,7 @@ jobs: # Upload the original go test output as an artifact for later review. - name: Upload test log - # if: failure() + if: always() uses: actions/upload-artifact@v4 with: name: ci-test-log