ci: release should only run with a main main ref

pull/1249/head
Mitchell Hashimoto 2024-01-07 12:34:36 -08:00
parent 162ebaa8fa
commit f6e93c8748
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 2 additions and 1 deletions

View File

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