diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 581b644ca..7645d7fcc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,9 @@ jobs: # This job does nothing and is only used for the branch protection # or multi-stage CI jobs, like making sure that all tests pass before # a publishing job is started. - if: always() + if: >- + github.repository_owner == 'pypa' + || github.event_name != 'schedule' needs: - build diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index c2ac3272c..7cfae2991 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -15,6 +15,7 @@ env: jobs: build: runs-on: ubuntu-latest + if: github.repository_owner == 'pypa' steps: - name: Grab the repo src