ultralytics-actions 0.0.68__py3-none-any.whl → 0.0.69__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/openai_utils.py +1 -1
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/METADATA +8 -8
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/RECORD +8 -8
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/WHEEL +0 -0
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/entry_points.txt +0 -0
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/licenses/LICENSE +0 -0
- {ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/top_level.txt +0 -0
actions/__init__.py
CHANGED
actions/utils/openai_utils.py
CHANGED
@@ -9,7 +9,7 @@ import requests
|
|
9
9
|
from actions.utils.common_utils import check_links_in_string
|
10
10
|
|
11
11
|
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
12
|
-
OPENAI_MODEL = os.getenv("OPENAI_MODEL", "gpt-
|
12
|
+
OPENAI_MODEL = os.getenv("OPENAI_MODEL", "gpt-4.1-2025-04-14")
|
13
13
|
SYSTEM_PROMPT_ADDITION = """
|
14
14
|
Guidance:
|
15
15
|
- Ultralytics Branding: Use YOLO11, YOLO12, etc., not YOLOv11, YOLOv12 (only older versions like YOLOv10 have a v). Always capitalize "HUB" in "Ultralytics HUB"; use "Ultralytics HUB", not "The Ultralytics HUB".
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ultralytics-actions
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.69
|
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>
|
@@ -59,8 +59,8 @@ Ultralytics Actions automatically applies formats, updates, and enhancements usi
|
|
59
59
|
- **Swift Code:** Formatted with [`swift-format`](https://github.com/swiftlang/swift-format) to maintain a uniform coding style across Swift projects. _(Note: Requires the `macos-latest` runner.)_
|
60
60
|
- **Spell Check:** Common misspellings are caught using [codespell](https://github.com/codespell-project/codespell).
|
61
61
|
- **Broken Links Check:** Broken links in documentation and Markdown files are identified using [Lychee](https://github.com/lycheeverse/lychee).
|
62
|
-
- **PR Summary:** Concise Pull Request summaries are generated using [OpenAI](https://openai.com/) GPT-
|
63
|
-
- **Auto-labeling:** Relevant labels are applied to issues and pull requests via [OpenAI](https://openai.com/) GPT-
|
62
|
+
- **PR Summary:** Concise Pull Request summaries are generated using [OpenAI](https://openai.com/) GPT-4.1, improving clarity and review efficiency.
|
63
|
+
- **Auto-labeling:** Relevant labels are applied to issues and pull requests via [OpenAI](https://openai.com/) GPT-4.1 for intelligent categorization.
|
64
64
|
|
65
65
|
## 🛠️ How It Works
|
66
66
|
|
@@ -69,9 +69,9 @@ Ultralytics Actions triggers on various GitHub events to streamline workflows:
|
|
69
69
|
- **Push Events:** Automatically formats code when changes are pushed to the `main` branch.
|
70
70
|
- **Pull Requests:**
|
71
71
|
- Ensures contributions meet formatting standards before merging.
|
72
|
-
- Generates a concise summary of changes using GPT-
|
73
|
-
- Applies relevant labels using GPT-
|
74
|
-
- **Issues:** Automatically applies relevant labels using GPT-
|
72
|
+
- Generates a concise summary of changes using GPT-4.1.
|
73
|
+
- Applies relevant labels using GPT-4.1 for intelligent categorization.
|
74
|
+
- **Issues:** Automatically applies relevant labels using GPT-4.1 when new issues are created.
|
75
75
|
|
76
76
|
These automated actions help maintain high code quality, improve documentation clarity, and streamline the review process by providing consistent formatting, informative summaries, and appropriate categorization.
|
77
77
|
|
@@ -101,13 +101,13 @@ To integrate this action into your Ultralytics repository:
|
|
101
101
|
uses: ultralytics/actions@main
|
102
102
|
with:
|
103
103
|
token: ${{ secrets.GITHUB_TOKEN }} # Automatically generated, do not modify
|
104
|
-
labels: true # Autolabel issues and PRs using GPT-
|
104
|
+
labels: true # Autolabel issues and PRs using GPT-4.1 (requires 'openai_api_key')
|
105
105
|
python: true # Format Python code and docstrings with Ruff and docformatter
|
106
106
|
prettier: true # Format YAML, JSON, Markdown, and CSS with Prettier
|
107
107
|
swift: false # Format Swift code with swift-format (requires 'runs-on: macos-latest')
|
108
108
|
spelling: true # Check spelling with codespell
|
109
109
|
links: true # Check for broken links with Lychee
|
110
|
-
summary: true # Generate PR summary with GPT-
|
110
|
+
summary: true # Generate PR summary with GPT-4.1 (requires 'openai_api_key')
|
111
111
|
openai_api_key: ${{ secrets.OPENAI_API_KEY }} # Add your OpenAI API key as a repository secret
|
112
112
|
```
|
113
113
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
actions/__init__.py,sha256=
|
1
|
+
actions/__init__.py,sha256=jfTLYF5qlHNX7JutT_TeZ7oSc5jmqIYB-X87ISRWvzc,742
|
2
2
|
actions/first_interaction.py,sha256=1_WvQHCi5RWaSfyi49ClF2Zk_3CKGjFnZqz6FlxPRAc,17868
|
3
3
|
actions/summarize_pr.py,sha256=BKttOq-MGaanVaChLU5B1ewKUA8K6S05Cy3FQtyRmxU,11681
|
4
4
|
actions/summarize_release.py,sha256=tov6qsYGC68lfobvkwVyoWZBGtJ598G0m097n4Ydzvo,8472
|
@@ -6,10 +6,10 @@ actions/update_markdown_code_blocks.py,sha256=9PL7YIQfApRNAa0que2hYHv7umGZTZoHlb
|
|
6
6
|
actions/utils/__init__.py,sha256=ZE0RmC9qOCt9TUhvORd6uVhbxOKVFWJDobR454v55_M,682
|
7
7
|
actions/utils/common_utils.py,sha256=YRdEz8qluwzCZfWgqXNmyhKqNhdxNMpoHhGaHUD4AaM,11013
|
8
8
|
actions/utils/github_utils.py,sha256=-F--JgxtXE0fSPMFEzakz7iZilp-vonzLiyXfg0b17Y,7117
|
9
|
-
actions/utils/openai_utils.py,sha256=
|
10
|
-
ultralytics_actions-0.0.
|
11
|
-
ultralytics_actions-0.0.
|
12
|
-
ultralytics_actions-0.0.
|
13
|
-
ultralytics_actions-0.0.
|
14
|
-
ultralytics_actions-0.0.
|
15
|
-
ultralytics_actions-0.0.
|
9
|
+
actions/utils/openai_utils.py,sha256=txbsEPQnIOieejatBuE6Yk7xR1fQ0erWOEs6cYgUQX4,2943
|
10
|
+
ultralytics_actions-0.0.69.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
11
|
+
ultralytics_actions-0.0.69.dist-info/METADATA,sha256=94Bmnj4tirzyhs7DAqvkEvjP0cPg_uIUXSLqlt1_fBI,10930
|
12
|
+
ultralytics_actions-0.0.69.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
13
|
+
ultralytics_actions-0.0.69.dist-info/entry_points.txt,sha256=GowvOFplj0C7JmsjbKcbpgLpdf2r921pcaOQkAHWZRA,378
|
14
|
+
ultralytics_actions-0.0.69.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
|
15
|
+
ultralytics_actions-0.0.69.dist-info/RECORD,,
|
File without changes
|
{ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/entry_points.txt
RENAMED
File without changes
|
{ultralytics_actions-0.0.68.dist-info → ultralytics_actions-0.0.69.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|