@@ -21,6 +21,7 @@ void main(List<String> args) {
21
21
);
22
22
====== =
23
23
final validBranches = RegExp (r'^(qa|beta|main)$' );
24
+ <<<<<< < HEAD
24
25
<<<<<< < HEAD
25
26
final validFeatureBranch =
26
27
RegExp (r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$' );
@@ -30,13 +31,19 @@ void main(List<String> args) {
30
31
r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$' ,
31
32
);
32
33
>>>>>> > 5eb4a58 (chore: update validation workflow)
34
+ ====== =
35
+ final validFeatureBranch = RegExp (
36
+ r'^(feat|fix|hotfix|chore|test|refactor|release)/[a-z0-9_-]+$' ,
37
+ );
38
+ >>>>>> > 9729726 (chore: update dartsdk minimum to latest version 3.7 .2 (#44 ))
33
39
34
40
if (validBranches.hasMatch (branchName) ||
35
41
validFeatureBranch.hasMatch (branchName)) {
36
42
print ('✅ Branch name is valid.' );
37
43
} else {
38
44
print (
39
45
<<<<<< < HEAD
46
+ <<<<<< < HEAD
40
47
<<<<<< < HEAD
41
48
'❌ Branch name does not follow the required convention: <type>/<branch-name>' ,
42
49
);
@@ -55,6 +62,13 @@ void main(List<String> args) {
55
62
'Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main' ,
56
63
);
57
64
>>>>>> > 5eb4a58 (chore: update validation workflow)
65
+ ====== =
66
+ '❌ Branch name does not follow the required convention: <type>/<branch-name>' ,
67
+ );
68
+ print (
69
+ 'Valid types: feat, fix, hotfix, chore, test, refactor, release, development, qa, main' ,
70
+ );
71
+ >>>>>> > 9729726 (chore: update dartsdk minimum to latest version 3.7 .2 (#44 ))
58
72
exit (1 );
59
73
}
60
74
}
0 commit comments