From 4c35b73e402303e2af864fe572e0a0bf8456d1e2 Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Sun, 31 Mar 2024 09:14:23 +0200 Subject: [PATCH] fix: do not use hard coded branch name --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2de6a20..7718f36 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,7 @@ runs: cat < .releaserc.yml --- preset: conventionalcommits - branches: master + branches: ${{ github.head_ref || github.ref_name }} plugins: - - "@semantic-release/commit-analyzer"