From e0c0b65e2a80ac7d67b87dc10322716ffd8e7b4d Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Wed, 8 Nov 2023 15:23:54 +0100 Subject: [PATCH] Inherit secrets in the main workflow (#30708) This is an attempt to fix results in the intermittent tracker. --- .github/workflows/linux.yml | 2 ++ .github/workflows/mac.yml | 2 ++ .github/workflows/main.yml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 26c761c8f5b..679272ae5ac 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -147,6 +147,7 @@ jobs: production: ${{ inputs.production == 'true' }} wpt: ${{ inputs.wpt }} layout: "layout-2020" + secrets: inherit wpt-2013: if: ${{ github.ref_name == 'try-wpt' || inputs.layout == '2013' || inputs.layout == 'all' }} @@ -157,6 +158,7 @@ jobs: production: ${{ inputs.production == 'true' }} wpt: ${{ inputs.wpt }} layout: "layout-2013" + secrets: inherit result: name: Result diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 8bd413774aa..cc9c608e198 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -137,6 +137,7 @@ jobs: with: production: ${{ inputs.production == 'true' }} layout: "layout-2020" + secrets: inherit wpt-2013: if: ${{ github.ref_name == 'try-wpt-mac' || inputs.wpt-layout == '2013' || inputs.wpt-layout == 'all' }} @@ -146,6 +147,7 @@ jobs: with: production: ${{ inputs.production == 'true' }} layout: "layout-2013" + secrets: inherit result: name: Result diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3eb7ef78ba..29871fa62ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,6 +86,7 @@ jobs: uses: ./.github/workflows/windows.yml with: unit-tests: ${{ fromJson(needs.decision.outputs.configuration).unit_tests }} + secrets: inherit build-mac: name: Mac @@ -94,6 +95,7 @@ jobs: uses: ./.github/workflows/mac.yml with: unit-tests: ${{ fromJson(needs.decision.outputs.configuration).unit_tests }} + secrets: inherit build-linux: name: Linux @@ -104,6 +106,7 @@ jobs: wpt: 'test' layout: ${{ fromJson(needs.decision.outputs.configuration).layout }} unit-tests: ${{ fromJson(needs.decision.outputs.configuration).unit_tests }} + secrets: inherit build-result: name: Result