From ac6b15aaffca50ace35172397e241a8bc9341788 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Tue, 24 Jan 2023 14:18:08 +0000 Subject: [PATCH] fix forkless build and tests workflow steps --- --- a/.github/workflows/ci-develop.yml +++ b/.github/workflows/ci-develop.yml @@ -19,10 +19,12 @@ yarn-dev: if: github.event.pull_request.draft == false # Conditional check for draft per job. uses: ./.github/workflows/yarn-dev.yml + secrets: inherit unit-test: if: github.event.pull_request.draft == false # Conditional check for draft per job. uses: ./.github/workflows/unit-test.yml + secrets: inherit canary: if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-canary')) }} # Conditional check for draft & labels per job. @@ -37,19 +39,19 @@ collator-selection: if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-collator-selection')) }} # Conditional check for draft & labels per job. uses: ./.github/workflows/collator-selection.yml + secrets: inherit forkless: if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'CI-forkless')) }} # Conditional check for draft & labels per job. uses: ./.github/workflows/forkless.yml + secrets: inherit node-only-update: 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. uses: ./.github/workflows/node-only-update.yml - - # integration: - # if: ${{ (github.event.pull_request.draft == false && contains( github.event.pull_request.labels.*.name, 'integration')) }} # Conditional check for draft & labels per job. - # uses: ./.github/workflows/integration-tests.yml + secrets: inherit codestyle: if: github.event.pull_request.draft == false # Conditional check for draft per job. uses: ./.github/workflows/codestyle.yml + secrets: inherit \ No newline at end of file --- 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 -- gitstuff