workflows/build-pkg: only run on Homebrew-owned repos
This prevents the workflow from being run in a fork. Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
This commit is contained in:
parent
58067727f4
commit
733eff2fa7
1
.github/workflows/build-pkg.yml
vendored
1
.github/workflows/build-pkg.yml
vendored
@ -10,6 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'Homebrew'
|
||||
runs-on: macos-13
|
||||
env:
|
||||
IDENTIFIER: sh.brew.Homebrew
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user