ci: release-tip only works on this repository

This commit is contained in:
Mitchell Hashimoto
2023-11-14 08:41:59 -08:00
parent 7012fdb0f6
commit 76353415a3

View File

@ -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: