diff --git a/src/main.py b/src/main.py index 97d8ae5..1254621 100644 --- a/src/main.py +++ b/src/main.py @@ -171,7 +171,7 @@ def _update_workflow(self, workflow_path: str) -> set[str]: f'Updating "{action}" with "{updated_action}"...' ) updated_workflow_data = re.sub( - rf"({action})(\s+|$)", + rf"({action})(\s+['\"]?|['\"]?$)", rf"{updated_action}\2", updated_workflow_data, 0,