Merge pull request #6521 from xu-cheng/github-action

github action: only run in the main repo
This commit is contained in:
Markus Reiter 2019-10-02 23:51:51 +02:00 committed by GitHub
commit c0c9c11dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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