Do not run arm64 jobs on forks

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
dependabot/go_modules/go.uber.org/atomic-1.10.0
Davanum Srinivas 2023-02-14 08:20:06 -05:00
parent 6c439aa9e2
commit 597bac7b51
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ on:
permissions: read-all
jobs:
test:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [Linux, ARM64]
strategy:
fail-fast: true

View File

@ -4,6 +4,8 @@ on:
- cron: '30 1 * * *' # runs daily at 1:30 am.
jobs:
test:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [Linux, ARM64]
strategy:
fail-fast: false