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.master
parent
28d93d3439
commit
ecd943c2bd
|
@ -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 New Issue