Skip to content

Commit 4ea42cb

Browse files
committed
Fix the regex pattern
1 parent 66a227b commit 4ea42cb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

single-updater.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@ def main() -> int:
179179
)
180180
args = parser.parse_args()
181181

182-
branch_regex = rf"""
183-
^update/
184-
(components|include|abi|bootstrap|extensions)_.*[.]
185-
(bst|yml)-diff_md5-.*
186-
-for-{args.base_branch}$
187-
"""
182+
branch_regex = (
183+
rf"^update/"
184+
r"(components|include|abi|bootstrap|extensions)_.*[.]"
185+
r"(bst|yml)"
186+
rf"-diff_md5-.*-for-{args.base_branch}$"
187+
)
188188

189189
if not validate_environment():
190190
return 1

0 commit comments

Comments
 (0)