From f6e93c8748c0ed3e99e2048e53d19446f2bd84a6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 7 Jan 2024 12:34:36 -0800 Subject: [PATCH] ci: release should only run with a main main ref --- .github/workflows/release-tip.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index 2b396bc47..4553dde90 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -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' ) }}