From 76353415a3223dc84b932f1e0b0912b42d7501ff Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 14 Nov 2023 08:41:59 -0800 Subject: [PATCH] ci: release-tip only works on this repository --- .github/workflows/release-tip.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index d0499e507..a9e82dc14 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -22,7 +22,15 @@ jobs: git push --force origin tip build-macos: - if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} + if: | + ${{ + github.event_name == 'workflow_dispatch' || + ( + github.event.workflow_run.conclusion == 'success' && + github.repository_owner == 'mitchellh' + ) + }} + runs-on: macos-12 timeout-minutes: 90 env: