From 4b6f181b1045d1eabaf5bdf0d4b1b5d0ca500380 Mon Sep 17 00:00:00 2001 From: "Bernd.Rederlechner@t-systems.com" Date: Thu, 20 Jul 2023 10:29:01 +0200 Subject: [PATCH] Fix if syntax for new naming --- .github/workflows/nmc-custom-assembly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nmc-custom-assembly.yml b/.github/workflows/nmc-custom-assembly.yml index 045604e..c95e762 100644 --- a/.github/workflows/nmc-custom-assembly.yml +++ b/.github/workflows/nmc-custom-assembly.yml @@ -122,7 +122,7 @@ jobs: function isBackportFor(port, master) { if (( port.baseRefName === target_stable ) && ( master.baseRefName === target_trunk ) && - ( port.headRefName.startsWith( 'backport' ))) { + ( port.headRefName.startsWith( 'backport' )) && ( port.headRefName.endsWith( master.headRefName ))) { return true; } else {