Ensure trusted runs

This commit is contained in:
Abin Simon 2024-01-19 10:39:42 +05:30
parent 36037c7905
commit 0bdeb8f26c

View File

@ -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