ci: disable GitHub Actions on forks

master
Marc Cornellà 4 years ago
parent 512839ef78
commit 63345c4e5d
No known key found for this signature in database
GPG Key ID: 314585E776A9C1B
  1. 1
      .github/workflows/main.yml
  2. 1
      .github/workflows/project.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]

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

Loading…
Cancel
Save