diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ab7efdd6..cdadc1434 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,7 @@ jobs: tests: name: Run tests runs-on: ${{ matrix.os }} + if: github.repository == 'ohmyzsh/ohmyzsh' strategy: matrix: os: [ubuntu-latest, macos-latest] diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml index 013255890..2a27b70fc 100644 --- a/.github/workflows/project.yml +++ b/.github/workflows/project.yml @@ -9,6 +9,7 @@ jobs: add-to-project: name: Add to project runs-on: ubuntu-latest + if: github.repository == 'ohmyzsh/ohmyzsh' env: GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }} steps: