Merge pull request #752 from ivanvc/dont-run-race-tests-on-user-forks

github/workflows: don't run race tests on user forks
pull/753/head
Benjamin Wang 2024-05-09 09:33:08 +01:00 committed by GitHub
commit a9d3063030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ permissions: read-all
jobs:
test-linux:
# this is to prevent arm64 jobs from running at forked projects
if: ${{ github.repository == 'etcd-io/bbolt' || startsWith(inputs.runs-on, 'ubuntu') }}
if: ${{ github.repository == 'etcd-io/bbolt' || inputs.runs-on == 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix: