mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 15:36:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user