summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-01-03 13:10:53 +0100
committerMarc Cornellà <hello@mcornella.com>2022-01-03 13:10:53 +0100
commit63345c4e5dd8ce210a43c9e89a883a262e755c69 (patch)
tree236202795d163379baff9bae2a0e27ca95686f8c /.github/workflows/main.yml
parent512839ef7800fa32d78c47f160bdae3293ad22c1 (diff)
downloadzsh-63345c4e5dd8ce210a43c9e89a883a262e755c69.tar.gz
zsh-63345c4e5dd8ce210a43c9e89a883a262e755c69.tar.bz2
zsh-63345c4e5dd8ce210a43c9e89a883a262e755c69.zip
ci: disable GitHub Actions on forks
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml1
1 files changed, 1 insertions, 0 deletions
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]