github action: only run in the main repo
This prevents the action being run in the fork, which will generate errors due to missing token.
This commit is contained in:
parent
6c2b9ffdc1
commit
a55f33c3e4
1
.github/workflows/apidoc.yml
vendored
1
.github/workflows/apidoc.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
branches: master
|
||||
jobs:
|
||||
apidoc:
|
||||
if: github.repository == 'Homebrew/brew'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: Homebrew/actions/git-ssh@master
|
||||
|
Loading…
x
Reference in New Issue
Block a user