Skip to content

Commit ef9573d

Browse files
authored
Merge pull request #106 from kenz/fix/ignored_action_with_quotation
Fix the actions enclosed in quotes are not updated
2 parents 64be81b + 0c1ca02 commit ef9573d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _update_workflow(self, workflow_path: str) -> set[str]:
171171
f'Updating "{action}" with "{updated_action}"...'
172172
)
173173
updated_workflow_data = re.sub(
174-
rf"({action})(\s+|$)",
174+
rf"({action})(\s+['\"]?|['\"]?$)",
175175
rf"{updated_action}\2",
176176
updated_workflow_data,
177177
0,

0 commit comments

Comments
 (0)