Skip to content

Commit 1be0900

Browse files
committed
Skip all build-*.yml workflows on pull_request from dependabot
1 parent 48c0936 commit 1be0900

186 files changed

Lines changed: 1521 additions & 286 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build-amazon-ion.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ env:
3030
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
3131

3232
jobs:
33+
setup:
34+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
35+
runs-on: ubuntu-latest
36+
steps:
37+
- run: true
38+
3339
build_wheels:
40+
needs: [setup]
3441
name: Build amazon-ion ${{ inputs.version || '0.14.6' }} ${{ matrix.python }}-manylinux_riscv64
3542
runs-on: ubuntu-24.04-riscv
3643
timeout-minutes: 120
@@ -101,7 +108,7 @@ jobs:
101108

102109
publish:
103110
name: Publish amazon-ion ${{ inputs.version || '0.14.6' }} to GitLab
104-
needs: [build_wheels]
111+
needs: [setup, build_wheels]
105112
runs-on: ubuntu-latest
106113
permissions:
107114
contents: write

‎.github/workflows/build-apache-tvm-ffi.yml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ env:
3333
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
3434

3535
jobs:
36+
setup:
37+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
38+
runs-on: ubuntu-latest
39+
steps:
40+
- run: true
41+
3642
build_sdist:
43+
needs: [setup]
3744
# The sdist is architecture-independent: it just packages the source tree,
3845
# the vendored submodules (dlpack, libbacktrace) and a setuptools-scm-derived
3946
# _version.py. Build it once on x86 instead of burning a scarce riscv runner
@@ -83,7 +90,7 @@ jobs:
8390
if-no-files-found: error
8491

8592
build_wheels:
86-
needs: build_sdist
93+
needs: [setup, build_sdist]
8794
name: Build apache-tvm-ffi ${{ inputs.version || '0.1.12' }} ${{ matrix.python }}-manylinux_riscv64
8895
runs-on: ubuntu-24.04-riscv
8996
permissions:
@@ -175,7 +182,7 @@ jobs:
175182

176183
publish:
177184
name: Publish apache-tvm-ffi ${{ inputs.version || '0.1.12' }} to GitLab
178-
needs: [build_wheels]
185+
needs: [setup, build_wheels]
179186
runs-on: ubuntu-latest
180187
permissions:
181188
contents: write

‎.github/workflows/build-array-record.yml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ env:
3838
RULES_JAVA_VERSION: '7.6.5'
3939

4040
jobs:
41+
setup:
42+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
43+
runs-on: ubuntu-latest
44+
steps:
45+
- run: true
46+
4147
bazel:
48+
needs: [setup]
4249
name: Bootstrap bazel (riscv64)
4350
runs-on: ubuntu-24.04-riscv
4451
timeout-minutes: 720
@@ -107,7 +114,7 @@ jobs:
107114
name: Build array-record ${{ inputs.version || '0.8.3' }} ${{ matrix.tag }}-manylinux_riscv64
108115
runs-on: ubuntu-24.04-riscv
109116
timeout-minutes: 720
110-
needs: [bazel]
117+
needs: [setup, bazel]
111118

112119
strategy:
113120
fail-fast: false
@@ -308,7 +315,7 @@ jobs:
308315
309316
publish:
310317
name: Publish array-record ${{ inputs.version || '0.8.3' }} to GitLab
311-
needs: [build_wheels]
318+
needs: [setup, build_wheels]
312319
runs-on: ubuntu-latest
313320
permissions:
314321
contents: write

‎.github/workflows/build-arro3-core.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ env:
2929
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
3030

3131
jobs:
32+
setup:
33+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
34+
runs-on: ubuntu-latest
35+
steps:
36+
- run: true
37+
3238
build_wheels:
39+
needs: [setup]
3340
name: Build arro3-core ${{ inputs.version || '0.8.1' }} ${{ matrix.tag }}-manylinux_riscv64
3441
runs-on: ubuntu-24.04-riscv
3542
timeout-minutes: 360
@@ -299,7 +306,7 @@ jobs:
299306

300307
publish:
301308
name: Publish arro3-core ${{ inputs.version || '0.8.1' }} to GitLab
302-
needs: [build_wheels]
309+
needs: [setup, build_wheels]
303310
runs-on: ubuntu-latest
304311
permissions:
305312
contents: write

‎.github/workflows/build-astropy.yml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ env:
3333
EXTENSION_HELPERS_PY_LIMITED_API: 'cp311'
3434

3535
jobs:
36-
# Upstream also builds musllinux_x86_64, dropped here: numpy is a build and a
37-
# runtime requirement and we publish no musllinux_riscv64 numpy wheel.
36+
setup:
37+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
38+
runs-on: ubuntu-latest
39+
steps:
40+
- run: true
41+
3842
build_wheels:
43+
needs: [setup]
3944
name: Build astropy ${{ inputs.version || '8.0.1' }} cp311-abi3-manylinux_riscv64
4045
runs-on: ubuntu-24.04-riscv
4146
timeout-minutes: 720
@@ -98,7 +103,7 @@ jobs:
98103

99104
publish:
100105
name: Publish astropy ${{ inputs.version || '8.0.1' }} to GitLab
101-
needs: [build_wheels]
106+
needs: [setup, build_wheels]
102107
runs-on: ubuntu-latest
103108
permissions:
104109
contents: write

‎.github/workflows/build-asyncpg.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ env:
2828
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
2929

3030
jobs:
31+
setup:
32+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
33+
runs-on: ubuntu-latest
34+
steps:
35+
- run: true
36+
3137
build_wheels:
38+
needs: [setup]
3239
name: Build asyncpg ${{ inputs.version || '0.31.0' }} ${{ matrix.python }}-manylinux_riscv64
3340
runs-on: ubuntu-24.04-riscv
3441
timeout-minutes: 180
@@ -80,7 +87,7 @@ jobs:
8087

8188
publish:
8289
name: Publish asyncpg ${{ inputs.version || '0.31.0' }} to GitLab
83-
needs: [build_wheels]
90+
needs: [setup, build_wheels]
8491
runs-on: ubuntu-latest
8592
permissions:
8693
contents: write

‎.github/workflows/build-awscrt.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ env:
2727
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
2828

2929
jobs:
30+
setup:
31+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
32+
runs-on: ubuntu-latest
33+
steps:
34+
- run: true
35+
3036
build_wheels:
37+
needs: [setup]
3138
name: Build awscrt ${{ inputs.version || '0.36.2' }} ${{ matrix.wheel_tag }}-manylinux_riscv64
3239
runs-on: ubuntu-24.04-riscv
3340
timeout-minutes: 360
@@ -103,7 +110,7 @@ jobs:
103110

104111
publish:
105112
name: Publish awscrt ${{ inputs.version || '0.36.2' }} to GitLab
106-
needs: [build_wheels]
113+
needs: [setup, build_wheels]
107114
runs-on: ubuntu-latest
108115
permissions:
109116
contents: write

‎.github/workflows/build-bcrypt.yml‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ env:
3333
ABI3_FLOOR: cp312
3434

3535
jobs:
36-
# Build the sdist ourselves from the tag (never the prebuilt PyPI sdist); it's
37-
# arch-independent, so build it once on x86 (gotcha 4).
36+
setup:
37+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
38+
runs-on: ubuntu-latest
39+
steps:
40+
- run: true
41+
3842
build_sdist:
43+
needs: [setup]
3944
name: Build bcrypt ${{ inputs.version || '5.0.0' }} sdist
4045
runs-on: ubuntu-latest
4146
outputs:
@@ -81,7 +86,7 @@ jobs:
8186
# One cp312-abi3 wheel: cibuildwheel builds it once and reuses+tests it on
8287
# cp313/cp314 (find_compatible_wheel), so all three tags share one wheel.
8388
build_abi3:
84-
needs: [build_sdist]
89+
needs: [setup, build_sdist]
8590
name: Build bcrypt ${{ inputs.version || '5.0.0' }} cp312-abi3-manylinux_riscv64
8691
runs-on: ubuntu-24.04-riscv
8792
timeout-minutes: 90
@@ -121,7 +126,7 @@ jobs:
121126
# Free-threaded wheel: per-interpreter, no abi3 (pyo3 disables abi3 under
122127
# Py_GIL_DISABLED). Only cp314t - the riscv64 image has no cp313t interpreter.
123128
build_freethreaded:
124-
needs: [build_sdist]
129+
needs: [setup, build_sdist]
125130
name: Build bcrypt ${{ inputs.version || '5.0.0' }} cp314t-manylinux_riscv64
126131
runs-on: ubuntu-24.04-riscv
127132
timeout-minutes: 90
@@ -155,7 +160,7 @@ jobs:
155160

156161
publish:
157162
name: Publish bcrypt ${{ inputs.version || '5.0.0' }} to GitLab
158-
needs: [build_sdist, build_abi3, build_freethreaded]
163+
needs: [setup, build_sdist, build_abi3, build_freethreaded]
159164
runs-on: ubuntu-latest
160165
permissions:
161166
contents: write

‎.github/workflows/build-biopython.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ env:
2828
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
2929

3030
jobs:
31+
setup:
32+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
33+
runs-on: ubuntu-latest
34+
steps:
35+
- run: true
36+
3137
build_wheels:
38+
needs: [setup]
3239
name: Build biopython ${{ inputs.version || '1.88' }} ${{ matrix.python }}-manylinux_riscv64
3340
runs-on: ubuntu-24.04-riscv
3441
timeout-minutes: 120
@@ -92,7 +99,7 @@ jobs:
9299

93100
publish:
94101
name: Publish biopython ${{ inputs.version || '1.88' }} to GitLab
95-
needs: [build_wheels]
102+
needs: [setup, build_wheels]
96103
runs-on: ubuntu-latest
97104
permissions:
98105
contents: write

‎.github/workflows/build-bitarray.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ env:
2828
MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64
2929

3030
jobs:
31+
setup:
32+
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
33+
runs-on: ubuntu-latest
34+
steps:
35+
- run: true
36+
3137
build_wheels:
38+
needs: [setup]
3239
name: Build bitarray ${{ inputs.version || '3.10.1' }} ${{ matrix.python }}-manylinux_riscv64
3340
runs-on: ubuntu-24.04-riscv
3441
strategy:
@@ -76,7 +83,7 @@ jobs:
7683

7784
publish:
7885
name: Publish bitarray ${{ inputs.version || '3.10.1' }} to GitLab
79-
needs: [build_wheels]
86+
needs: [setup, build_wheels]
8087
runs-on: ubuntu-latest
8188
permissions:
8289
contents: write

0 commit comments

Comments
 (0)