mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 17:57:34 +08:00
ci: disable GitHub Actions on forks
This commit is contained in:
parent
512839ef78
commit
63345c4e5d
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -14,6 +14,7 @@ jobs:
|
||||||
tests:
|
tests:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
if: github.repository == 'ohmyzsh/ohmyzsh'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
|
1
.github/workflows/project.yml
vendored
1
.github/workflows/project.yml
vendored
|
@ -9,6 +9,7 @@ jobs:
|
||||||
add-to-project:
|
add-to-project:
|
||||||
name: Add to project
|
name: Add to project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'ohmyzsh/ohmyzsh'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user