git.delta.rocks / unique-network / refs/commits / ac6b15aaffca

difftreelog

fix forkless build and tests workflow steps

Konstantin Astakhov2023-01-24parent: #869cab0.patch.diff
in: master

2 files changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
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 # Conditional check for draft per job.
21 uses: ./.github/workflows/yarn-dev.yml21 uses: ./.github/workflows/yarn-dev.yml
22 secrets: inherit
2223
23 unit-test:24 unit-test:
24 if: github.event.pull_request.draft == false # Conditional check for draft per job.25 if: github.event.pull_request.draft == false # Conditional check for draft per job.
25 uses: ./.github/workflows/unit-test.yml26 uses: ./.github/workflows/unit-test.yml
27 secrets: inherit
2628
27 canary:29 canary:
28 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')) }} # Conditional check for draft & labels per job.
37 collator-selection:39 collator-selection:
38 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')) }} # Conditional check for draft & labels per job.
39 uses: ./.github/workflows/collator-selection.yml41 uses: ./.github/workflows/collator-selection.yml
40 42 secrets: inherit
43
41 forkless:44 forkless:
42 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')) }} # Conditional check for draft & labels per job.
43 uses: ./.github/workflows/forkless.yml46 uses: ./.github/workflows/forkless.yml
44 47 secrets: inherit
48
45 node-only-update:49 node-only-update:
46 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.50 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.
47 uses: ./.github/workflows/node-only-update.yml51 uses: ./.github/workflows/node-only-update.yml
48 52 secrets: inherit
49 # integration:
50 # if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'integration')) }} # Conditional check for draft & labels per job.
51 # uses: ./.github/workflows/integration-tests.yml
5253
53 codestyle:54 codestyle:
54 if: github.event.pull_request.draft == false # Conditional check for draft per job.55 if: github.event.pull_request.draft == false # Conditional check for draft per job.
55 uses: ./.github/workflows/codestyle.yml56 uses: ./.github/workflows/codestyle.yml
5657 secrets: inherit
modified.github/workflows/forkless.ymldiffbeforeafterboth
--- a/.github/workflows/forkless.yml
+++ b/.github/workflows/forkless.yml
@@ -10,11 +10,14 @@
   forkless-update-data:
     name: with data
     uses: ./.github/workflows/forkless-update-data.yml
+    secrets: inherit # pass all secrets from initial workflow to nested    
 
   forkless-update-no-data:
     name: no data
     uses: ./.github/workflows/forkless-update-nodata.yml
+    secrets: inherit # pass all secrets from initial workflow to nested    
 
   try-runtime:
     name: try-runtime
     uses: ./.github/workflows/try-runtime.yml
+    secrets: inherit # pass all secrets from initial workflow to nested