diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 198f47f..3a7430e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,6 +16,7 @@ jobs: docs-build: name: Build docs runs-on: ubuntu-latest + if: (github.repository == 'astropy/repo_stats') steps: - name: Check out repo @@ -55,8 +56,9 @@ jobs: docs-deploy: name: Deploy docs needs: docs-build - # if: github.event.pull_request.merged == true runs-on: ubuntu-latest + if: (github.repository == 'astropy/repo_stats') + # if: github.event.pull_request.merged == true permissions: contents: write diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 098b052..160b358 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -8,6 +8,7 @@ on: jobs: deploy: runs-on: ubuntu-20.04 + if: (github.repository == 'astropy/repo_stats') steps: - name: Check out repo diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 150d4cb..b61ff8c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,6 +5,7 @@ jobs: test: name: Run tests runs-on: ubuntu-latest + if: (github.repository == 'astropy/repo_stats') strategy: matrix: diff --git a/.github/workflows/update_stats.yml b/.github/workflows/update_stats.yml index fcd537b..9683bde 100644 --- a/.github/workflows/update_stats.yml +++ b/.github/workflows/update_stats.yml @@ -9,6 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: (github.repository == 'astropy/repo_stats') permissions: contents: write