1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00

ci: disable GitHub Actions on forks

This commit is contained in:
Marc Cornellà 2022-01-03 13:10:53 +01:00
parent 512839ef78
commit 63345c4e5d
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B
2 changed files with 2 additions and 0 deletions

View file

@ -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]

View file

@ -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: