Merge pull request #15316 from dims/do-not-run-arm64-jobs-on-forks

Do not run arm64 jobs on forks
This commit is contained in:
Marek Siarkowicz
2023-02-14 17:10:45 +01:00
committed by GitHub
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