diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index da451553c82..8d910850c85 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -32,6 +32,7 @@ concurrency: jobs: benchmarks: runs-on: ubuntu-22.04 + if: github.repository == 'GenericMappingTools/pygmt' defaults: run: shell: bash -l {0} diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 0291e337cfb..9ce7fe68227 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -18,6 +18,7 @@ jobs: check_links: name: Check Links runs-on: ubuntu-latest + if: github.repository == 'GenericMappingTools/pygmt' steps: - name: Checkout the repository diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 759410a763d..1a5313d5f47 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -37,6 +37,7 @@ jobs: docs: name: ${{ matrix.os }} runs-on: ${{ matrix.os }} + if: github.repository == 'GenericMappingTools/pygmt' strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci_doctests.yaml b/.github/workflows/ci_doctests.yaml index 114bfa5a015..955d9f95889 100644 --- a/.github/workflows/ci_doctests.yaml +++ b/.github/workflows/ci_doctests.yaml @@ -21,6 +21,7 @@ jobs: test: name: ${{ matrix.os }} runs-on: ${{ matrix.os }} + if: github.repository == 'GenericMappingTools/pygmt' strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index ac1361c8baf..6bfea2fa21c 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -32,6 +32,7 @@ jobs: test: name: ${{ matrix.os }} - GMT ${{ matrix.gmt_version }} runs-on: ${{ matrix.os }} + if: github.repository == 'GenericMappingTools/pygmt' strategy: fail-fast: false matrix: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index acf00c78dd2..58efce03d7a 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -15,6 +15,8 @@ on: jobs: update_release_draft: runs-on: ubuntu-latest + if: github.repository == 'GenericMappingTools/pygmt' + steps: # Drafts your next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v5.25.0