From 2c045d07b3b44976659e2f77d1b82e06ce9f4e10 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Thu, 7 Dec 2023 18:01:14 +0530 Subject: [PATCH] change cd syft to use github.ref_name instead of hardcoding dev branch --- .github/workflows/cd-syft.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index e15769add33..95a55c23a80 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -24,15 +24,15 @@ on: jobs: call-pr-tests-linting: if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks - uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@dev + uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@${{ github.ref_name }} call-pr-tests-syft: if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks - uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@dev + uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@${{ github.ref_name }} call-pr-tests-stack: if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks - uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@dev + uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@${{ github.ref_name }} secrets: inherit build-and-push-docker-images: