Skip to content

Commit 5df1d6e

Browse files
authored
Remove redundant check
1 parent c9d2739 commit 5df1d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pr-checks/sync_back.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def scan_generated_workflows(workflow_dir: str) -> Dict[str, str]:
4949

5050
for action_name, version_with_comment in matches:
5151
# Only track non-local actions (those with / but not starting with ./)
52-
if '/' in action_name and not action_name.startswith('./'):
52+
if not action_name.startswith('./'):
5353
# Take the latest version seen (they should all be the same after Dependabot)
5454
action_versions[action_name] = version_with_comment.rstrip()
5555

0 commit comments

Comments
 (0)