Skip to content

Commit

Permalink
Merge pull request #8328 from OpenMined/update-cd-flow
Browse files Browse the repository at this point in the history
change cd syft to use github.ref_name instead of hardcoding dev branch
  • Loading branch information
shubham3121 authored Dec 7, 2023
2 parents 1d7dd99 + 2c045d0 commit 65b200d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 65b200d

Please sign in to comment.