From eed9339d3a94592ee76cf90e8d4a44e08ebae7d7 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Mon, 12 Sep 2022 20:09:55 +0530 Subject: [PATCH] ci: Inheriting secrets to reusable workflows This does not happen by default when workflows are re-used. Quite a surprising revelation --- .github/workflows/integration-tests-command.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml index 4832daf15a..9f4afcb3c0 100644 --- a/.github/workflows/integration-tests-command.yml +++ b/.github/workflows/integration-tests-command.yml @@ -23,18 +23,21 @@ jobs: server-build: name: server-build uses: ./.github/workflows/server-build.yml + secrets: inherit with: pr: ${{ github.event.client_payload.pull_request.number }} client-build: name: client-build uses: ./.github/workflows/client-build.yml + secrets: inherit with: pr: ${{ github.event.client_payload.pull_request.number }} rts-build: name: rts-build uses: ./.github/workflows/rts-build.yml + secrets: inherit with: pr: ${{ github.event.client_payload.pull_request.number }} @@ -982,5 +985,6 @@ jobs: if: success() name: perf-test uses: ./.github/workflows/perf-test.yml + secrets: inherit with: pr: ${{ github.event.client_payload.pull_request.number }}