Skip to content

Commit 4be422e

Browse files
committed
Don't use Arm runners on forks
1 parent 356cf6b commit 4be422e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ jobs:
249249
strategy:
250250
fail-fast: false
251251
matrix:
252-
os: [ubuntu-24.04, ubuntu-24.04-aarch64]
252+
os: [ubuntu-24.04]
253+
include:
254+
- os: ubuntu-24.04-aarch64
255+
if: ${{ github.repository_owner != 'python' }}
253256
openssl_ver: [3.0.15, 3.1.7, 3.2.3, 3.3.2]
254257
env:
255258
OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -429,7 +432,10 @@ jobs:
429432
if: needs.check_source.outputs.run_tests == 'true'
430433
strategy:
431434
matrix:
432-
os: [ubuntu-24.04, ubuntu-24.04-aarch64]
435+
os: [ubuntu-24.04]
436+
include:
437+
- os: ubuntu-24.04-aarch64
438+
if: ${{ github.repository_owner != 'python' }}
433439
env:
434440
OPENSSL_VER: 3.0.15
435441
PYTHONSTRICTEXTENSIONBUILD: 1

.github/workflows/jit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@ jobs:
9595
architecture: aarch64
9696
runner: ubuntu-24.04-aarch64
9797
compiler: gcc
98+
if: ${{ github.repository_owner != 'python' }}
9899
- target: aarch64-unknown-linux-gnu/clang
99100
architecture: aarch64
100101
runner: ubuntu-24.04-aarch64
101102
compiler: clang
103+
if: ${{ github.repository_owner != 'python' }}
102104
env:
103105
CC: ${{ matrix.compiler }}
104106
steps:

0 commit comments

Comments
 (0)