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
28d93d3439
commit
ecd943c2bd
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
generate:
|
||||
if: github.repository == 'Homebrew/homebrew-core'
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
|
Loading…
Reference in a new issue