Skip to content

Commit

Permalink
Skip tests if the PR was created from a fork
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Todor <[email protected]>
  • Loading branch information
mihaitodor committed Feb 6, 2025
1 parent 881eb33 commit 25f9cde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
args: --extend-ignore E501,E741

- name: Run Tests
# We don't have access to secrets when the PR is created from a fork
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'FHIR/genomics-operations' }}
run: ./fetch_utilities_data.sh && python -m pytest
env:
MONGODB_READONLY_PASSWORD: ${{ secrets.MONGODB_READONLY_PASSWORD }}
Expand Down

0 comments on commit 25f9cde

Please sign in to comment.