File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ def _update_workflow(self, workflow_path: str) -> set[str]:
147147
148148 for action in all_actions :
149149 try :
150- action_repository , current_version = action .split ("@" )
150+ action_location , current_version = action .split ("@" )
151151 # A GitHub Action can be in a subdirectory of a repository
152152 # e.g. `flatpak/flatpak-github-actions/flatpak-builder@v4`.
153153 # we only need `user/repo` part from action_repository
154- action_repository = "/" .join (action_repository .split ("/" )[:2 ])
154+ action_repository = "/" .join (action_location .split ("/" )[:2 ])
155155 except ValueError :
156156 gha_utils .warning (
157157 f'Action "{ action } " is in a wrong format, '
@@ -170,7 +170,7 @@ def _update_workflow(self, workflow_path: str) -> set[str]:
170170 )
171171 continue
172172
173- updated_action = f"{ action_repository } @{ new_version } "
173+ updated_action = f"{ action_location } @{ new_version } "
174174
175175 if action != updated_action :
176176 gha_utils .echo (f'Found new version for "{ action_repository } "' )
You can’t perform that action at this time.
0 commit comments