ultralytics-actions 0.0.9__py3-none-any.whl → 0.0.11__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 +1 -1
- actions/utils/common_utils.py +10 -1
- {ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/METADATA +1 -1
- ultralytics_actions-0.0.11.dist-info/RECORD +15 -0
- ultralytics_actions-0.0.9.dist-info/RECORD +0 -15
- {ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/LICENSE +0 -0
- {ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/WHEEL +0 -0
- {ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/entry_points.txt +0 -0
- {ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/top_level.txt +0 -0
actions/__init__.py
CHANGED
actions/utils/common_utils.py
CHANGED
@@ -34,6 +34,9 @@ def is_url(url, check=True, max_attempts=3, timeout=2):
|
|
34
34
|
"url",
|
35
35
|
"example",
|
36
36
|
"mailto:",
|
37
|
+
"github.com", # ignore GitHub links that may be private repos
|
38
|
+
"kaggle.com", # blocks automated header requests
|
39
|
+
"reddit.com", # blocks automated header requests
|
37
40
|
)
|
38
41
|
try:
|
39
42
|
# Check allow list
|
@@ -49,7 +52,13 @@ def is_url(url, check=True, max_attempts=3, timeout=2):
|
|
49
52
|
if check:
|
50
53
|
for attempt in range(max_attempts):
|
51
54
|
try:
|
52
|
-
req = urllib.request.Request(
|
55
|
+
req = urllib.request.Request(
|
56
|
+
url,
|
57
|
+
method="HEAD",
|
58
|
+
headers={
|
59
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
|
60
|
+
},
|
61
|
+
)
|
53
62
|
with urllib.request.urlopen(req, timeout=timeout) as response:
|
54
63
|
return response.getcode() < 400
|
55
64
|
except (urllib.error.URLError, socket.timeout):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ultralytics-actions
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.11
|
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>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
actions/__init__.py,sha256=BR6hIdHQxSNou4yyfd_ejvst5RvcEVM_mbFpY5TAHTM,749
|
2
|
+
actions/first_interaction.py,sha256=cLXo5hmhOgTfk7F9LbGJeRdg6vvrKUe-0taCa_TkpAg,17683
|
3
|
+
actions/summarize_pr.py,sha256=ysbGgomPXMXBZQQROWTv06syA59gJmGMvpWxDO66cLQ,3779
|
4
|
+
actions/summarize_release.py,sha256=l8NBdTAXLysfNKl1Kf_1tyuBRmeEBLyzTDXS6s5_eQg,8350
|
5
|
+
actions/update_markdown_code_blocks.py,sha256=WBNcMD_KKsZS-qSPBn6O1G0ggQ_VrT-jTQffbg7xH_M,6369
|
6
|
+
actions/utils/__init__.py,sha256=0vRjFc7i2WOlphuxdUxQo5BuNipgwGw2Bs-fdUBDeUw,973
|
7
|
+
actions/utils/common_utils.py,sha256=XT8GG0SWBtlZLruA0nKrY4AJpkitvPbM8zndE8etuDo,3548
|
8
|
+
actions/utils/github_utils.py,sha256=2H4pRum8tLSbLKGoO85Ea4E8psxZICyvFO_1hwQPuoU,5431
|
9
|
+
actions/utils/openai_utils.py,sha256=SQWOjU3hdfI_0LKb3uqM5pNsoMyE7W0hGxXy7ISk97M,1823
|
10
|
+
ultralytics_actions-0.0.11.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
11
|
+
ultralytics_actions-0.0.11.dist-info/METADATA,sha256=shg13v42NZ7W9vaK1eE10mN8xgnoBp2-izjAl4FVpm4,10535
|
12
|
+
ultralytics_actions-0.0.11.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
13
|
+
ultralytics_actions-0.0.11.dist-info/entry_points.txt,sha256=GowvOFplj0C7JmsjbKcbpgLpdf2r921pcaOQkAHWZRA,378
|
14
|
+
ultralytics_actions-0.0.11.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
|
15
|
+
ultralytics_actions-0.0.11.dist-info/RECORD,,
|
@@ -1,15 +0,0 @@
|
|
1
|
-
actions/__init__.py,sha256=Xz-XMoqqSp7DP4_ndbqEL9t1jS3-xA581UsZdtDS8Zs,748
|
2
|
-
actions/first_interaction.py,sha256=cLXo5hmhOgTfk7F9LbGJeRdg6vvrKUe-0taCa_TkpAg,17683
|
3
|
-
actions/summarize_pr.py,sha256=ysbGgomPXMXBZQQROWTv06syA59gJmGMvpWxDO66cLQ,3779
|
4
|
-
actions/summarize_release.py,sha256=l8NBdTAXLysfNKl1Kf_1tyuBRmeEBLyzTDXS6s5_eQg,8350
|
5
|
-
actions/update_markdown_code_blocks.py,sha256=WBNcMD_KKsZS-qSPBn6O1G0ggQ_VrT-jTQffbg7xH_M,6369
|
6
|
-
actions/utils/__init__.py,sha256=0vRjFc7i2WOlphuxdUxQo5BuNipgwGw2Bs-fdUBDeUw,973
|
7
|
-
actions/utils/common_utils.py,sha256=zuGKef8po6hW7cQMPlrxhN9uTzoXbEb8feFO0q_mr70,3116
|
8
|
-
actions/utils/github_utils.py,sha256=2H4pRum8tLSbLKGoO85Ea4E8psxZICyvFO_1hwQPuoU,5431
|
9
|
-
actions/utils/openai_utils.py,sha256=SQWOjU3hdfI_0LKb3uqM5pNsoMyE7W0hGxXy7ISk97M,1823
|
10
|
-
ultralytics_actions-0.0.9.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
11
|
-
ultralytics_actions-0.0.9.dist-info/METADATA,sha256=juEqEPXciCgYKWTBWKs-NVB9gwPYvK92mVZpJeNRBWM,10534
|
12
|
-
ultralytics_actions-0.0.9.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
13
|
-
ultralytics_actions-0.0.9.dist-info/entry_points.txt,sha256=GowvOFplj0C7JmsjbKcbpgLpdf2r921pcaOQkAHWZRA,378
|
14
|
-
ultralytics_actions-0.0.9.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
|
15
|
-
ultralytics_actions-0.0.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{ultralytics_actions-0.0.9.dist-info → ultralytics_actions-0.0.11.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|