diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2e809725..12a3763c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -108,7 +108,7 @@ jobs: branch: ${{ steps.extract_branch.outputs.branch }} badge-update: - if: github.repository_owner == 'PyMoDAQ' + if: github.repository == 'PyMoDAQ/pymodaq_data' && !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) runs-on: ubuntu-latest needs: tests # Ensure this job runs after all matrix jobs complete steps: