ultralytics-actions 0.0.86__py3-none-any.whl → 0.0.87__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
actions/__init__.py CHANGED
@@ -22,4 +22,4 @@
22
22
  # ├── test_summarize_pr.py
23
23
  # └── ...
24
24
 
25
- __version__ = "0.0.86"
25
+ __version__ = "0.0.87"
@@ -189,7 +189,8 @@ def is_url(url, session=None, check=True, max_attempts=3, timeout=3, return_url=
189
189
  # Try HEAD first, then GET if needed
190
190
  for method in (requester.head, requester.get):
191
191
  response = method(url, stream=method == requester.get, **kwargs)
192
- if redirect and allow_redirect(start=url, end=response.url):
192
+ # Only update URL if there were actual HTTP redirects (indicated by response.history)
193
+ if redirect and response.history and allow_redirect(start=url, end=response.url):
193
194
  url = response.url
194
195
  if response.status_code not in BAD_HTTP_CODES:
195
196
  return (True, url) if return_url else True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ultralytics-actions
3
- Version: 0.0.86
3
+ Version: 0.0.87
4
4
  Summary: Ultralytics Actions for GitHub automation and PR management.
5
5
  Author-email: Glenn Jocher <glenn.jocher@ultralytics.com>
6
6
  Maintainer-email: Ultralytics <hello@ultralytics.com>
@@ -1,4 +1,4 @@
1
- actions/__init__.py,sha256=3zS7IZrjILS9WQKAlePlzdxRv5OCERvqYCJtgIeVtR0,742
1
+ actions/__init__.py,sha256=iZGs4EymP-GRcB_IlQyXcL01X44W_z7njJh-rzKyocs,742
2
2
  actions/dispatch_actions.py,sha256=vbA4w_B8vMXMen__ck2WoDsUFCELjXOQbpLzZCmqTXg,4240
3
3
  actions/first_interaction.py,sha256=whphdBrWkcWRt6RgOeK2dUoGq3aBTqttQdokxVjkye4,16309
4
4
  actions/summarize_pr.py,sha256=NCaDSbw4PVoRbPJzji_Ua2HadI2pn7QOE_dy3VK9_cc,10463
@@ -6,13 +6,13 @@ actions/summarize_release.py,sha256=JUGlQ4c5E5Ya_kpYSn-Hs_E1omdFWgsvZLIxOic1qEI,
6
6
  actions/update_file_headers.py,sha256=dAu8RWOn-CkuFZHa5LT1-BvNxYX4FRQe2B1UDAjvG3I,6648
7
7
  actions/update_markdown_code_blocks.py,sha256=9PL7YIQfApRNAa0que2hYHv7umGZTZoHlblesB0xFj4,8587
8
8
  actions/utils/__init__.py,sha256=7k4cmFX0Td99Uzgsd8Mm-E0xq5kQ5ZJoPM_oGCVD4CU,804
9
- actions/utils/common_utils.py,sha256=2eNwGJFigl9bBXcyWzdr8mr97Lrx7zFKWIFYugZcUJw,11736
9
+ actions/utils/common_utils.py,sha256=6EE0aTLVxel-Uck_QcFb48D-kkxxohWEof2F2oxLIq4,11867
10
10
  actions/utils/github_utils.py,sha256=wjivM9FPZwaItXpQiYbGbnGdK6v4ayLEFvQT2xhRLq4,8202
11
11
  actions/utils/openai_utils.py,sha256=09kW4K2LOc6KsWz5tijf2Piinhu3PIKPDVkRC3KyIxU,2943
12
12
  actions/utils/version_utils.py,sha256=lKY2lLtYdxejKvqD9hFJiARMrYMHnP_KC_zmcLUmD20,3188
13
- ultralytics_actions-0.0.86.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
- ultralytics_actions-0.0.86.dist-info/METADATA,sha256=Fv6Y8gk0PM6dvUBiqR9IAQyrOVYqFB9sVEmL_m6noNk,11638
15
- ultralytics_actions-0.0.86.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- ultralytics_actions-0.0.86.dist-info/entry_points.txt,sha256=rvqr6Juj7lCJL1DQLwMmOrA8R2Q8tyR_dvCe0mYuJ8s,441
17
- ultralytics_actions-0.0.86.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
18
- ultralytics_actions-0.0.86.dist-info/RECORD,,
13
+ ultralytics_actions-0.0.87.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
+ ultralytics_actions-0.0.87.dist-info/METADATA,sha256=UjfwmY5zEuTkZqB0qy9CRk0jrlVlXVdlo0QwJ7V6xn0,11638
15
+ ultralytics_actions-0.0.87.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ ultralytics_actions-0.0.87.dist-info/entry_points.txt,sha256=rvqr6Juj7lCJL1DQLwMmOrA8R2Q8tyR_dvCe0mYuJ8s,441
17
+ ultralytics_actions-0.0.87.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
18
+ ultralytics_actions-0.0.87.dist-info/RECORD,,