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:
Ruoyu Zhong 2023-05-10 12:59:33 +08:00
parent 58067727f4
commit 733eff2fa7
No known key found for this signature in database
GPG Key ID: DCAF462CAB59907D

View File

@ -10,6 +10,7 @@ on:
jobs:
build:
if: github.repository_owner == 'Homebrew'
runs-on: macos-13
env:
IDENTIFIER: sh.brew.Homebrew