From 65f01d680dfd3fda0d21a3d2a744f6b7e0b7caa0 Mon Sep 17 00:00:00 2001 From: danielbotros Date: Thu, 20 Jun 2024 16:38:22 -0400 Subject: [PATCH 1/2] Call networking tests trigger workflow in rc workflow --- .github/workflows/releasecandidate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/releasecandidate.yml b/.github/workflows/releasecandidate.yml index aaafcd207f1..8a958eef1f8 100644 --- a/.github/workflows/releasecandidate.yml +++ b/.github/workflows/releasecandidate.yml @@ -67,3 +67,8 @@ jobs: slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}} channel: '#team-devops' name: 'Workflow Status' + + run-sdk-integration-networking-tests: + needs: [staticbuild, appimage] + if: ${{ success() }} + uses: ./trigger-networking-tests.yml From cedf7a33f2250b25f32096651c27e85b74b40f75 Mon Sep 17 00:00:00 2001 From: danielbotros Date: Fri, 21 Jun 2024 12:51:52 -0400 Subject: [PATCH 2/2] Pass secret in from parent workflow --- .github/workflows/releasecandidate.yml | 2 ++ .github/workflows/trigger-networking-tests.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/releasecandidate.yml b/.github/workflows/releasecandidate.yml index 8a958eef1f8..ca55143b655 100644 --- a/.github/workflows/releasecandidate.yml +++ b/.github/workflows/releasecandidate.yml @@ -72,3 +72,5 @@ jobs: needs: [staticbuild, appimage] if: ${{ success() }} uses: ./trigger-networking-tests.yml + secrets: + REPO_READ_TOKEN: ${{ secrets.REPO_READ_TOKEN }} diff --git a/.github/workflows/trigger-networking-tests.yml b/.github/workflows/trigger-networking-tests.yml index 51b9dcbd0b8..3948c856aaa 100644 --- a/.github/workflows/trigger-networking-tests.yml +++ b/.github/workflows/trigger-networking-tests.yml @@ -2,6 +2,9 @@ name: Trigger Networking Tests in sdk-integration-tests on: workflow_call: + secrets: + REPO_READ_TOKEN: + required: true workflow_dispatch: jobs: