git.delta.rocks / unique-network / refs/commits / 129199cd7bbe

difftreelog

ci ability to disable disable default actions

Yaroslav Bolyukin2023-09-08parent: #8483c29.patch.diff
in: master

1 file changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
17jobs:17jobs:
1818
19 yarn-dev:19 yarn-dev:
20 if: github.event.pull_request.draft == false # Conditional check for draft per job.20 if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
21 uses: ./.github/workflows/yarn-dev.yml21 uses: ./.github/workflows/yarn-dev.yml
22 secrets: inherit 22 secrets: inherit
2323
24 unit-test:24 unit-test:
25 if: github.event.pull_request.draft == false # Conditional check for draft per job.25 if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
26 uses: ./.github/workflows/unit-test.yml26 uses: ./.github/workflows/unit-test.yml
27 secrets: inherit 27 secrets: inherit
2828
29 canary:29 canary:
30 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-canary')) }} # Conditional check for draft & labels per job.30 if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-canary')
31 uses: ./.github/workflows/canary.yml31 uses: ./.github/workflows/canary.yml
32 secrets: inherit # pass all secrets from initial workflow to nested32 secrets: inherit
3333
34 xcm:34 xcm:
35 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-xcm')) }} # Conditional check for draft & labels per job.35 if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xcm')
36 uses: ./.github/workflows/xcm.yml36 uses: ./.github/workflows/xcm.yml
37 secrets: inherit # pass all secrets from initial workflow to nested37 secrets: inherit
38 38
39 collator-selection:39 collator-selection:
40 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-collator-selection')) }} # Conditional check for draft & labels per job.40 if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-collator-selection')
41 uses: ./.github/workflows/collator-selection.yml41 uses: ./.github/workflows/collator-selection.yml
42 secrets: inherit 42 secrets: inherit
43 43
44 forkless-update-data:44 forkless-update-data:
45 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }} # Conditional check for draft & labels per job. 45 if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-data'))
46 uses: ./.github/workflows/forkless-update-data.yml46 uses: ./.github/workflows/forkless-update-data.yml
47 secrets: inherit # pass all secrets from initial workflow to nested 47 secrets: inherit
4848
49 forkless-update-no-data:49 forkless-update-no-data:
50 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }} # Conditional check for draft & labels per job.50 if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-no-data'))
51 uses: ./.github/workflows/forkless-update-nodata.yml51 uses: ./.github/workflows/forkless-update-nodata.yml
52 secrets: inherit # pass all secrets from initial workflow to nested 52 secrets: inherit
5353
54 try-runtime:54 try-runtime:
55 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }} # Conditional check for draft & labels per job. 55 if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-try-runtime'))
56 uses: ./.github/workflows/try-runtime.yml56 uses: ./.github/workflows/try-runtime.yml
57 secrets: inherit # pass all secrets from initial workflow to nested 57 secrets: inherit
5858
59 node-only-update:59 node-only-update:
60 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-node-only-update')) }} # Conditional check for draft & labels per job.60 if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-node-only-update')
61 uses: ./.github/workflows/node-only-update.yml61 uses: ./.github/workflows/node-only-update.yml
62 secrets: inherit62 secrets: inherit
6363
64 governance:64 governance:
65 if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-gov')) }} # Conditional check for draft & labels per job.65 if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-gov')
66 uses: ./.github/workflows/governance.yml66 uses: ./.github/workflows/governance.yml
67 secrets: inherit # pass all secrets from initial workflow to nested67 secrets: inherit
6868
69 codestyle:69 codestyle:
70 if: github.event.pull_request.draft == false # Conditional check for draft per job.70 if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
71 uses: ./.github/workflows/codestyle.yml71 uses: ./.github/workflows/codestyle.yml
72 secrets: inherit72 secrets: inherit
7373