Skip to content

Commit 425527b

Browse files
authored
Annotate transitive job deps with context comments
1 parent e348665 commit 425527b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,9 @@ jobs:
274274

275275
benchmark:
276276
name: Benchmark
277-
needs: [pre-setup, gen_llhttp]
277+
needs:
278+
- gen_llhttp
279+
- pre-setup # transitive, for accessing settings
278280
if: >-
279281
needs.pre-setup.outputs.upstream-repository-id == github.repository_id
280282
runs-on: ubuntu-latest
@@ -333,7 +335,9 @@ jobs:
333335
pre-deploy:
334336
name: Pre-Deploy
335337
runs-on: ubuntu-latest
336-
needs: [pre-setup, check]
338+
needs:
339+
- check
340+
- pre-setup # transitive, for accessing settings
337341
if: fromJSON(needs.pre-setup.outputs.release-requested)
338342
steps:
339343
- name: Dummy
@@ -480,7 +484,10 @@ jobs:
480484

481485
deploy:
482486
name: Deploy
483-
needs: [pre-setup, build-tarball, build-wheels]
487+
needs:
488+
- build-tarball
489+
- build-wheels
490+
- pre-setup # transitive, for accessing settings
484491
runs-on: ubuntu-latest
485492
if: >-
486493
needs.pre-setup.outputs.upstream-repository-id == github.repository_id

0 commit comments

Comments
 (0)