ultralytics-actions 0.0.73__py3-none-any.whl → 0.0.74__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.73"
25
+ __version__ = "0.0.74"
@@ -109,8 +109,8 @@ def update_file(file_path, prefix, block_start, block_end, base_header):
109
109
  else:
110
110
  # Only header exists, no need for blank line
111
111
  pass
112
- # Check if first line has AGPL but is not the exact header
113
- elif remaining_lines and "AGPL" in remaining_lines[0] and remaining_lines[0] != formatted_header:
112
+ # Check if first line has "Ultralytics " but is not the exact header
113
+ elif remaining_lines and "Ultralytics " in remaining_lines[0] and remaining_lines[0] != formatted_header:
114
114
  # Replace with proper header
115
115
  new_lines.append(formatted_header)
116
116
  modified = True
@@ -159,11 +159,11 @@ def main(*args, **kwargs):
159
159
  if event.is_repo_private() and event.repository.startswith("ultralytics/"):
160
160
  from datetime import datetime
161
161
 
162
- notice = f"Copyright © 2014-{datetime.now().year}"
163
- header = f"Ultralytics Inc. 🚀 {notice} - CONFIDENTIAL - https://ultralytics.com - All Rights Reserved"
162
+ notice = f"© 2014-{datetime.now().year} Ultralytics Inc. 🚀"
163
+ header = f"{notice} All rights reserved. CONFIDENTIAL: Unauthorized use or distribution prohibited."
164
164
  else:
165
165
  header = "Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license"
166
- elif HEADER and HEADER.lower() not in {"true", "false", "none"}:
166
+ elif HEADER and str(HEADER).lower() not in {"true", "false", "none"}:
167
167
  header = HEADER
168
168
  else:
169
169
  return
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ultralytics-actions
3
- Version: 0.0.73
3
+ Version: 0.0.74
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,17 +1,17 @@
1
- actions/__init__.py,sha256=Uq5k3qN5QggBhuBJT9-zO0ROzbZ9h5OCR7MQ-Xl8L0I,742
1
+ actions/__init__.py,sha256=nQOnE6gP5I5V0dZ7fjU0YZfiWQE1ZFN2wmcykmkBZjc,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
5
5
  actions/summarize_release.py,sha256=OncODHx7XsmB-nPf-B1tnxUTcaJx6hM4JAMa9frypzM,7922
6
- actions/update_file_headers.py,sha256=EltkXfBiWV53NYtAHLtTFRZdO-tXkgx2FPQr8Dp0aOU,6259
6
+ actions/update_file_headers.py,sha256=Il1k6mawv68Hxp5mQLzr2Unrx8jjZp0YxTmMokLS-NQ,6289
7
7
  actions/update_markdown_code_blocks.py,sha256=9PL7YIQfApRNAa0que2hYHv7umGZTZoHlblesB0xFj4,8587
8
8
  actions/utils/__init__.py,sha256=TXYvhFgDeAnosePM4jfOrEd6PlC7tWC-WMOgCB_T6Tw,728
9
9
  actions/utils/common_utils.py,sha256=2eNwGJFigl9bBXcyWzdr8mr97Lrx7zFKWIFYugZcUJw,11736
10
10
  actions/utils/github_utils.py,sha256=gdObDzOGmoLl8LXJ-fza7Dr2qLKfDsX2HbpcyFBEMtE,10097
11
11
  actions/utils/openai_utils.py,sha256=09kW4K2LOc6KsWz5tijf2Piinhu3PIKPDVkRC3KyIxU,2943
12
- ultralytics_actions-0.0.73.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
13
- ultralytics_actions-0.0.73.dist-info/METADATA,sha256=GM-a9l23v5JNXoF837vLh92ZfYbfzg-iz2o_4XC1Les,11638
14
- ultralytics_actions-0.0.73.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
15
- ultralytics_actions-0.0.73.dist-info/entry_points.txt,sha256=zNOtw1Dh8ItViVO6vKoaCQtWSjk7jw-_MaqGByju4I4,440
16
- ultralytics_actions-0.0.73.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
17
- ultralytics_actions-0.0.73.dist-info/RECORD,,
12
+ ultralytics_actions-0.0.74.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
13
+ ultralytics_actions-0.0.74.dist-info/METADATA,sha256=NYGb5bD22MoR2FJRxB08c49pSahA5kwGhevZFQziX8M,11638
14
+ ultralytics_actions-0.0.74.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
15
+ ultralytics_actions-0.0.74.dist-info/entry_points.txt,sha256=rvqr6Juj7lCJL1DQLwMmOrA8R2Q8tyR_dvCe0mYuJ8s,441
16
+ ultralytics_actions-0.0.74.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
17
+ ultralytics_actions-0.0.74.dist-info/RECORD,,
@@ -1,6 +1,6 @@
1
1
  [console_scripts]
2
2
  ultralytics-actions-first-interaction = actions.first_interaction:main
3
- ultralytics-actions-header = actions.update_file_headers:main
3
+ ultralytics-actions-headers = actions.update_file_headers:main
4
4
  ultralytics-actions-info = actions.utils:ultralytics_actions_info
5
5
  ultralytics-actions-summarize-pr = actions.summarize_pr:main
6
6
  ultralytics-actions-summarize-release = actions.summarize_release:main