Skip to content

Commit

Permalink
Fix if syntax for new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdicloud committed Jul 20, 2023
1 parent 17718dc commit 4b6f181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nmc-custom-assembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b6f181

Please sign in to comment.