We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c4165 commit 399ea6cCopy full SHA for 399ea6c
scripts/update_actions.py
@@ -16,10 +16,11 @@ def update_workflow_actions(file_path: Path):
16
else:
17
action_with_rest = line.split(":")[1].strip()
18
action, current_sha_with_version = action_with_rest.split("@")
19
+ action_repo = "/".join(action.split("/")[:2])
20
current_sha, current_version = current_sha_with_version.split("#")
21
current_sha = current_sha.strip()
22
current_version = current_version.strip()
- new_version, new_sha = get_latest_github_tag(action)
23
+ new_version, new_sha = get_latest_github_tag(action_repo)
24
print(
25
f"{action}:"
26
f" current version: {current_version},"
0 commit comments