From a5df77e614f93fc9ae00fdeb1ac756a968ac48cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Sat, 21 Jun 2025 10:42:49 +0200 Subject: [PATCH] fix(npm-audit-fix): use default_branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- workflow-templates/npm-audit-fix.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workflow-templates/npm-audit-fix.yml b/workflow-templates/npm-audit-fix.yml index 7e7fe1da..2f804dc1 100644 --- a/workflow-templates/npm-audit-fix.yml +++ b/workflow-templates/npm-audit-fix.yml @@ -24,7 +24,10 @@ jobs: strategy: fail-fast: false matrix: - branches: ['main', 'master', 'stable31', 'stable30'] + branches: + - ${{ github.event.repository.default_branch }} + - 'stable31' + - 'stable30' name: npm-audit-fix-${{ matrix.branches }}