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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.repository_owner == 'Homebrew'
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
env:
|
env:
|
||||||
IDENTIFIER: sh.brew.Homebrew
|
IDENTIFIER: sh.brew.Homebrew
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user