ci: release should only run with a main main ref

This commit is contained in:
Mitchell Hashimoto
2024-01-07 12:34:36 -08:00
parent 162ebaa8fa
commit f6e93c8748

View File

@ -27,7 +27,8 @@ jobs:
github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch' ||
( (
github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.conclusion == 'success' &&
github.repository_owner == 'mitchellh' github.repository_owner == 'mitchellh' &&
github.ref_name == 'main'
) )
}} }}