Releases: ultralytics/actions
v0.0.4 - Fix tag.yml from /docs to /actions (#197)
🌟 Summary
The v0.0.4 release focuses on refining GitHub Actions workflows within the Ultralytics project, enhancing automation, ensuring consistency, and improving documentation clarity.
📊 Key Changes
- GitHub Actions Workflow Improvements: Updated the workflow configuration to ensure consistent tag and release processes across the repository.
- Enhanced Release Summaries: Introduced scripts and adjustments for more detailed, automated release notes, including new sections like "What's Changed" and "New Contributors."
- Python Code Linting: Improved linting with added support for Python 3.8, extended select options, and adjusted ignores for better code consistency.
- Documentation Updates: Adopted Google-style docstring conventions to improve readability and consistency across Python scripts.
🎯 Purpose & Impact
- 🚀 Streamlined Automation: The changes facilitate smoother and more reliable release processes by refining workflows and automating complex tasks, reducing manual errors.
- 📚 Improved Documentation: By implementing consistent style guidelines, the project documentation and code readability improve significantly, aiding both non-expert and expert users.
- 🔒 Security Enhancements: More secure and authenticated API requests to GitHub ensure a reliable integration process without disruptions.
- 🛠️ Development Efficiency: Enhanced workflows and better organized codebases result in more efficient development processes, making it easier for contributors to work collaboratively.
- 👥 Community Engagement: Highlighting new contributors fosters a welcoming environment, encouraging greater community participation.
What's Changed
- Git rebase before adding changes by @glenn-jocher in #164
- Git commit first before pull and rebase by @glenn-jocher in #166
- Ignore PR comments for autolabel actions 2 by @glenn-jocher in #167
- Ignore F821 undefined name in code blocks by @glenn-jocher in #169
- Ignore F841 by @glenn-jocher in #170
- Remove --pre-summary-newline by @glenn-jocher in #171
- Reinstate --close-quotes-on-newline by @glenn-jocher in #172
- Ruff docstring formatting by @glenn-jocher in #174
- Fix for Google style by @glenn-jocher in #175
- Update action.yml by @glenn-jocher in #176
- Reduce autolabel wait to 10 seconds by @glenn-jocher in #177
- Fix git pull before git commit by @glenn-jocher in #178
- Update action.yml for Ruff --unsafe-fixes by @glenn-jocher in #179
- Add https://www.reddit.com/r/Ultralytics/ badge by @glenn-jocher in #180
- Add Summarize Release action by @glenn-jocher in #181
- Update summarize_release.py by @glenn-jocher in #182
- Improve Release Summary action by @glenn-jocher in #183
- Update summarize_release.py by @glenn-jocher in #184
- Update summarize_release.py by @glenn-jocher in #185
- Fix summarize_release.py by @glenn-jocher in #186
- Update summarize_release.py with whats changed by @glenn-jocher in #187
- Update summarize_release.py by @glenn-jocher in #188
- Update summarize_release.py by @glenn-jocher in #189
- Bump contributor-assistant/github-action from 2.4.0 to 2.5.1 by @dependabot[bot] in #190
- Bump contributor-assistant/github-action from 2.4.0 to 2.5.1 in /.github/workflows by @dependabot[bot] in #191
- Add Ruff --extend-select UP with Python 3.8 by @glenn-jocher in #192
- Update summarize_release.py by @glenn-jocher in #193
- Create tag.yml by @glenn-jocher in #195
- Update
summarize_release
with New Contributors section by @glenn-jocher in #194 - Rename .github/tag.yml to .github/workflows/tag.yml by @glenn-jocher in #196
- Fix tag.yml from /docs to /actions by @glenn-jocher in #197
Full Changelog: v0.0.3...v0.0.4
v0.0.3 - Enhanced Issue Automation and Expanded Formatting Support
Ultralytics Actions: Enhanced Issue Automation and Expanded Formatting Support - Release v0.0.3
Overview
This release of Ultralytics Actions v0.0.3 brings a series of enhancements, bug fixes, and new features aimed at improving your CI/CD workflows. From the addition of new formatting options to improved issue labeling and automation, this update streamlines development processes and integrates further with tools like OpenAI and Discourse.
Key Highlights
Enhanced Issue Automation
- Autolabeling Improvements: The
autolabel_issue.py
script has been updated multiple times to refine its ability to categorize issues, including a 30-second delay to ensure accurate labeling, and new label descriptions to clarify the categorization process. - Alert Management: Introduced new workflows to automatically close, lock, and manage issues flagged with the
Alert
label, with added logic to ignore alerts raised by organization members.
Formatting Enhancements
- Support for JSON, CSS, and Swift: This release includes expanded formatting support for JSON, CSS, and Swift files, enabling consistent code style across various languages used in your projects.
- YAML and Markdown Updates: Several updates to
action.yml
and markdown formatting scripts ensure better handling of code blocks and consistent spacing in YAML files.
Integration and Refactoring
- OpenAI REST API Integration: We’ve integrated the OpenAI REST API, enhancing our ability to provide AI-driven insights directly within your workflows.
- Discourse Community Integration: Added support for linking to the Ultralytics Discourse community, making it easier to engage with the community directly from your CI/CD pipelines.
Bug Fixes and Optimizations
- Fixed Import and Spacing Issues: Addressed various bugs, including time import issues and YAML spacing problems, to ensure smoother operation.
- Refined Action Workflows: The general action workflows have been refactored for better performance and reliability, including updates to the
run_pr_summary.py
script.
General Updates
- Prettier and Code Cleanup: Applied
prettier
formatting and general code cleanup to maintain high code quality and readability. - Markdown and Documentation Enhancements: Updates to
README.md
and markdown formatting scripts improve the clarity and presentation of documentation.
What's Changed
- Update update_markdown_code_blocks.py by @glenn-jocher in #108
- Update update_markdown_code_blocks.py by @glenn-jocher in #109
- Update update_markdown_code_blocks.py by @glenn-jocher in #110
- Update update_markdown_code_blocks.py by @glenn-jocher in #111
- Update update_markdown_code_blocks.py by @glenn-jocher in #112
- Update action.yml by @glenn-jocher in #113
- Update action.yml by @glenn-jocher in #114
- Create CLA Action by @glenn-jocher in #115
- Update update_markdown_code_blocks.py by @glenn-jocher in #117
- Prettier by @glenn-jocher in #118
- Update action.yml by @glenn-jocher in #120
- Update README.md by @glenn-jocher in #121
- Ultralytics Code Refactor https://ultralytics.com/actions by @glenn-jocher in #122
- Fix HUB link https://ultralytics.com/hub by @glenn-jocher in #123
- Update action.yml by @glenn-jocher in #124
- Update action.yml by @glenn-jocher in #125
- Add Discourse at https://community.ultralytics.com by @glenn-jocher in #126
- Update action.yml to Autolabel Issues by @glenn-jocher in #128
- Update autolabel_issue.py by @glenn-jocher in #129
- Update autolabel_issue.py by @glenn-jocher in #130
- Update autolabel_issue.py by @glenn-jocher in #131
- Update format.yml by @glenn-jocher in #132
- Update autolabel_issue.py by @glenn-jocher in #134
- Update README.md by @glenn-jocher in #135
- Fix time import by @glenn-jocher in #137
- Add label descriptions by @glenn-jocher in #139
- Update autolabel_issue.py by @glenn-jocher in #141
- Update README.md by @glenn-jocher in #142
- Update run_pr_summary.py by @glenn-jocher in #143
- Use OpenAI REST API by @glenn-jocher in #144
- Update labels by @glenn-jocher in #145
- Fix for ...[TODO]: bug by @glenn-jocher in #146
- Sleep 30s on Issue autolabel by @glenn-jocher in #147
- Update action.yml by @glenn-jocher in #148
- Update action.yml to spelling by @glenn-jocher in #149
- Add JSON formatting by @glenn-jocher in #150
- Format CSS by @glenn-jocher in #151
- Update format.yml by @glenn-jocher in #152
- Add swift formatting option by @glenn-jocher in #153
- Fix YML spacing by @glenn-jocher in #154
- Update README.md by @glenn-jocher in #155
- Add Alert label by @glenn-jocher in #156
- Close and Lock Alert Issues by @glenn-jocher in #157
- Fix Alert bug by @glenn-jocher in #159
- Update Alert action by @glenn-jocher in #160
- Ignore Alerts for Org members by @glenn-jocher in #161
- Remove mdformat by @glenn-jocher in #162
- Ultralytics Actions JSON, CSS and autolabel support by @UltralyticsAssistant in #163
Full Changelog: v0.0.2...v0.0.3
v0.0.2
Ultralytics Actions: Auto-Formatting for Python and Markdown - Release v0.0.2
We are thrilled to announce the release of Ultralytics Actions - v0.0.2. This update builds on our initial release, introducing new features and improvements to enhance code quality and maintainability across Ultralytics Python projects.
Features in this Release:
1. Enhanced Automated Formatting
- Prettier Integration: Added Prettier to handle formatting for JavaScript and JSON files, expanding our coverage beyond Python and Markdown.
- Advanced Configuration Options: Users can now customize formatting rules for Ruff, mdformat, and Prettier directly within their repository.
2. Improved Link Checking
- Advanced Lychee Options: Enhanced Lychee configuration to allow for custom exclusion lists and retry mechanisms, improving the accuracy of broken link reports.
3. Comprehensive Code Quality Checks
- Flake8 Integration: Added Flake8 for advanced linting capabilities, providing more detailed code quality checks.
- Black Formatting: Integrated Black, a powerful code formatter for Python, ensuring consistent code style across all projects.
4. Better Seamless Integration
- Pull Request Enhancements: Improved pull request integration to include detailed summaries of formatting changes and code quality issues, making it easier for reviewers to understand and address them.
- Branch-Specific Triggers: Actions can now be configured to trigger on specific branches, allowing for more flexible workflows.
5. User Experience Improvements
- Detailed Documentation: Updated the setup instructions and usage guides to be more comprehensive and user-friendly, helping teams get started quickly.
- Verbose Logging: Added verbose logging options to provide more insight into the actions' operations and facilitate easier debugging.
Future Scope:
We are committed to continuously improving Ultralytics Actions. Future updates may include:
- Support for Additional Languages: Extending formatting and linting support to languages such as Go, Rust, and TypeScript.
- Advanced Code Analysis: Integrating tools for static code analysis to detect potential bugs and vulnerabilities early.
- User-Friendly Dashboards: Developing dashboards to visualize code quality metrics and track improvements over time.
Acknowledgments:
A heartfelt thank you to all the contributors and community members who have provided invaluable feedback and support. Your contributions drive the innovation and excellence of Ultralytics projects. We look forward to your continued engagement and collaboration.
Getting Started:
To get started with Ultralytics Actions v0.0.2, visit our repository and follow the setup instructions. Your feedback and contributions are highly appreciated!
What's Changed
- Add Marketplace badge by @glenn-jocher in #45
- Fix Marketplace badge by @glenn-jocher in #46
- Update Ultralytics Actions with Lychee and GitHub Token by @pderrenger in #47
- Update action.yml to ignore model files by @glenn-jocher in #48
- Update action.yml spelling skip list by @glenn-jocher in #49
- Update action.yml with find-exec by @glenn-jocher in #50
- Exclude translat from spelling by @glenn-jocher in #52
- Add Prettier formatting for markdown and YAML files by @glenn-jocher in #53
- Add PR Summary step by @glenn-jocher in #55
- Fix on PR close by @glenn-jocher in #56
- Update action.yml to fix 'and' by @glenn-jocher in #57
- Update action.yml with PR summary fix by @glenn-jocher in #58
- Update README.md by @glenn-jocher in #59
- Update README with PR Summary by @glenn-jocher in #60
- Update README.md with OpenAI link by @glenn-jocher in #61
- Explicit codespell --write-changes by @glenn-jocher in #63
- Link checks SSL insecure robustness by @glenn-jocher in #65
- Utilize 50% context window by @glenn-jocher in #66
- Update action.yml for Prettier on YAMLs by @glenn-jocher in #68
- Update PR summary for
review_requested
by @glenn-jocher in #70 - Bump lycheeverse/lychee-action from 1.9.0 to 1.9.3 by @dependabot in #71
- Add Discord badge by @glenn-jocher in #72
- Update to Azure API
2023-12-01-preview
by @glenn-jocher in #73 - Fix model to
gpt-4-0125-preview
by @glenn-jocher in #74 - Update API version to "2024-02-15-preview" by @glenn-jocher in #75
- Update Ruff to sort imports by @glenn-jocher in #76
- Sort imports with Ruff and iSort by @glenn-jocher in #77
- Create merge-main-into-prs.yml by @glenn-jocher in #78
- Delete .github/workflows/merge-main-into-prs.yml by @glenn-jocher in #79
- Add Typos to spelling by @glenn-jocher in #80
- Revert "Add Typos to spelling" by @glenn-jocher in #81
- Bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in #82
- Update Ultralytics YouTube URL by @glenn-jocher in #83
- Update OPENAI_AZURE_API_VERSION to "2024-04-01-preview" by @glenn-jocher in #84
- Update action.yml to
gpt-4o-2024-05-13
by @glenn-jocher in #85 - Update Azure OpenAI API version to latest by @fcakyon in #86
- Update action.yml to cache pip dependencies by @glenn-jocher in #87
- Update action.yml by @glenn-jocher in #88
- Update action.yml by @glenn-jocher in #90
- Fail actions on Ruff failure by @glenn-jocher in #91
- Revert "Fail actions on Ruff failure" by @glenn-jocher in #93
- Add Markdown Python code reformatting by @glenn-jocher in #94
- Update license line in Python files by @UltralyticsAssistant in #95
- Update format.yml to pull_request_target by @glenn-jocher in #97
- Update action.yml by @glenn-jocher in #101
- Reverse Ruff check and fix order by @glenn-jocher in #102
- Ruff --select=E4,E7,E9,F,I by @glenn-jocher in #104
- Fix --extend-select I by @glenn-jocher in #105
- Code Refactor
ruff check --fix --extend-select I
by @glenn-jocher in #106
New Contributors
- @pderrenger made their first contribution in #47
- @dependabot made their first contribution in #71
- @fcakyon made their first contribution in #86
Full Changelog: v0.0.1...v0.0.2
v0.0.1
Ultralytics Actions: Auto-Formatting for Python and Markdown - Release v0.0.1
We are excited to announce the initial release of Ultralytics Actions - v0.0.1, a GitHub Action focused on maintaining high-quality code standards across Ultralytics Python projects.
Features in this Release:
- Automated Formatting: Integrates tools like Ruff, mdformat, docformatter, and codespell to automatically format Python code, Markdown files, and docstrings while also checking for spelling errors.
- Broken Links Check: Uses Lychee to identify and report broken links in documentation and markdown files.
- Seamless Integration: Triggers on push events to the
main
branch and during pull requests, ensuring code consistency before merging. - Easy Setup: Simple to incorporate into Ultralytics repositories with minimal configuration.
Future Scope:
- We are continuously working to enhance this action with more features based on community feedback and internal requirements.
- Upcoming updates may include additional languages support, more comprehensive code quality checks, and improved user experience.
Acknowledgments:
A big thank you to all contributors who have made this initial release possible. Your effort and collaboration drive the continuous improvement of Ultralytics projects. We look forward to more innovative contributions!
Getting Started:
To get started with Ultralytics Actions, visit our repository and follow the setup instructions. Your feedback and contributions are highly appreciated!
This is just the beginning! Stay tuned for more updates and enhancements.
Ultralytics Team 🚀
What's Changed
- Update name and description. by @glenn-jocher in #43
- Update action.yml description by @glenn-jocher in #44
Full Changelog: v0.0.0...v0.0.1