Skip to content
Snippets Groups Projects
Unverified Commit a55f33c3 authored by Cheng XU's avatar Cheng XU
Browse files

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.
parent 6c2b9ffd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment