Ultralytics-actions

Latest version: v0.0.24

Safety actively analyzes 688554 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.0.24

Enhanced GitHub Actions workflows with improved modularity, streamlined processes, and heightened security for smoother publishing and CI/CD operations. 🚀

---

📊 Key Changes
- **Workflow Refactoring**: The single `publish.yml` workflow is now split into **modular jobs** (`check`, `build`, `publish`, `notify`) for better clarity and maintainability.
- **Version Check Automation**: A new `check` job verifies package version increments and ensures readiness for publishing.
- **Build Streamlining**: Added a dedicated `build` job for artifact creation to simplify the build process.
- **Efficient Dependency Installation**: The `--no-cache` flag was added to the dependency installation step, optimizing performance and disk usage during CI.
- **Improved Secret Management**: Replaced `secrets.GITHUB_TOKEN` with a custom secret (`secrets._GITHUB_TOKEN`) for **enhanced security controls**.
- **Slack Notifications**: Upgraded success and failure notifications for better workflow feedback in Slack channels.
- **Version Update**: Incremented package version from `0.0.23` to `0.0.24`.

---

🎯 Purpose & Impact
- 🎯 **Better Organization**: The refactored workflows improve modularity, making CI/CD pipelines easier to understand, modify, and debug.
- ✅ **Automated Validation**: Version checks ensure consistent package management and eliminate potential manual errors before publishing.
- ⚡ **Performance Boost**: Dependency management updates reduce unnecessary cache usage, leading to leaner and faster CI processes.
- 🔒 **Stronger Security**: Adoption of a custom token provides finer-grained control over permissions, aligning with secure development practices.
- 📣 **Enhanced Communication**: Slack notifications provide actionable feedback on workflow success or failure, improving team collaboration and response times.
- 🚀 **Streamlined Deployment**: These updates enable faster, more reliable package publishing to PyPI, empowering developers to ship updates confidently.

This release sets the foundation for a more secure, efficient, and maintainable CI/CD workflow while optimizing development practices for both maintainers and contributors. 🌟

What's Changed
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/308
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/309
* Split publish.yml jobs for improved security by glenn-jocher in https://github.com/ultralytics/actions/pull/310


**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.23...v0.0.24

0.0.23

Publish action workflow improvements.

0.0.22

📊 Key Changes
- **Version Increment**: The version has been updated from 0.0.21 to 0.0.22.
- **OpenAI Model Update**: Default model updated from "gpt-4o" to "gpt-4o-2024-11-20" for enhanced processing capability.
- **GitHub Actions Enhancement**: Added `base SHA` to action outputs for better workflow context and traceability.

🎯 Purpose & Impact
- **Version Update**: Indicates a fresh release that may contain improvements and bug fixes. Users should reference detailed release notes to appreciate all modifications.
- **Enhanced AI Model**: The newer OpenAI model promises better performance and compatibility, automatically providing non-customized users with these advancements.
- **Improved Traceability**: Including the `base SHA` improves debugging and auditing in workflows by providing detailed commit information, simplifying processes for developers.

What's Changed
* Update to `gpt-4o-2024-11-20` by glenn-jocher in https://github.com/ultralytics/actions/pull/296
* Add base SHA to printout by glenn-jocher in https://github.com/ultralytics/actions/pull/297
* Update to v0.0.22 with SHA report by glenn-jocher in https://github.com/ultralytics/actions/pull/298


**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.21...v0.0.22

0.0.21

📊 Key Changes
- 🚀 **Markdown Processing:** Now applies formatting only if the `./docs` directory exists, to avoid potential errors.
- 🔄 **Code Revision:** Commented out Python scripts related to MkDocs reference tweaks to simplify maintenance.
- 📈 **Version Bump:** Software version updated from `0.0.20` to `0.0.21` indicating minor enhancements and fixes.

🎯 Purpose & Impact
- 🛡️ **Improved Robustness:** By checking for the existence of the `./docs` directory before applying formatting, the process becomes more error-resistant, ensuring smoother project setup.
- 💡 **Maintenance Simplification:** Temporarily disabling certain scripts makes maintenance more manageable without affecting key functionalities.
- 📊 **Enhanced Stability:** The increment in version underscores enhancements in markdown handling, which can lead to cleaner, more consistent documentation and improved user experience.

What's Changed
* Ultralytics Refactor https://ultralytics.com/actions by pderrenger in https://github.com/ultralytics/actions/pull/292
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/293
* Prettier 3.4 update by glenn-jocher in https://github.com/ultralytics/actions/pull/294


**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.20...v0.0.21

0.0.20

🌟 Summary
The `ultralytics/actions` package has been updated to version 0.0.20! This update primarily includes improvements to code formatting processes and a new version tag. 🚀

📊 Key Changes
- **Version Update**: The version number in the `__init__.py` file has been incremented from `0.0.19` to `0.0.20`.
- **Prettier Configuration Enhanced**: The Prettier tool, used for code formatting, now covers a broader range of file types including `js`, `vue`, `ts`, and more.
- **Improved Exclusions**: Specific files like `model.json` are now excluded from automated formatting to protect their specific formatting needs.

🎯 Purpose & Impact
- **Versioning Clarity**: The update to version 0.0.20 helps users easily track changes and ensures they have the most current version for optimal functionality and any potential bug fixes.
- **Unified Code Styling**: By extending Prettier's reach, developers benefit from a consistent code style, minimizing manual corrections and improving collaboration efficiency across various programming languages. 🧑‍💻
- **Targeted Formatting**: The exclusion of certain files allows for more precise control over what gets formatted, maintaining necessary customizations and preventing unintended changes. 🎯
- **Contributor Ease**: With automatic formatting standards in place, contributors can focus more on functionality and logic rather than style, enhancing productivity. ⚡️

What's Changed
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/289
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/290
* Update __init__.py to v0.0.20 by glenn-jocher in https://github.com/ultralytics/actions/pull/291


**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.19...v0.0.20

0.0.19

🌟 Summary
The `v0.0.19` release primarily enhances the Slack integration by upgrading to Slack API version 2, along with several other improvements in retry logic, package installation processes, and minor bug fixes.

📊 Key Changes
- **Slack API Update:** Upgraded to `slackapi/slack-github-actionv2.0.0`, utilizing the `incoming-webhook` for notifications.
- **Retry Enhancements:** Refined the retry logic to better manage errors and retries, providing clearer diagnostics and structured outputs.
- **Package Management:** Improved setup for package installation on macOS, avoiding unnecessary commands and aligning with best practices.
- **Code Optimizations:** Cleaned up and optimized the code for improved performance and readability.

🎯 Purpose & Impact
- **Notification Improvements:** The updated Slack integration can offer enhanced notification features, ensuring timely communication of action results. 📝
- **Simplified Configuration:** The move to `incoming-webhook` potentially simplifies Slack setup, improving reliability and reducing setup complexity. 🔧
- **Efficient Troubleshooting:** Enhanced retry error messaging aids in quicker issue resolution, by offering a more transparent retry process and error reporting. 🛠️
- **Cross-Platform Compatibility:** Adjustments in package handling on macOS prevent environmental issues, ensuring a smoother user experience across different operating systems. 🍏
- **Streamlined Processes:** Code refinements and optimizations lead to faster execution and easier maintenance, benefiting developers and users alike. 🚀

What's Changed
* Fix PyPI downloads links by pderrenger in https://github.com/ultralytics/actions/pull/278
* Fix retry count and add docstring by glenn-jocher in https://github.com/ultralytics/actions/pull/279
* Update action.yaml by glenn-jocher in https://github.com/ultralytics/actions/pull/280
* Revert "Update action.yaml" by glenn-jocher in https://github.com/ultralytics/actions/pull/282
* Update action.yaml by glenn-jocher in https://github.com/ultralytics/actions/pull/283
* Use uv for package installation by glenn-jocher in https://github.com/ultralytics/actions/pull/284
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/285
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/286
* Update action.yml by glenn-jocher in https://github.com/ultralytics/actions/pull/287
* Slack v2 API usage by glenn-jocher in https://github.com/ultralytics/actions/pull/288


**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.18...v0.0.19

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.