Skip to content

Releases: ultralytics/actions

v0.0.39 - Add more restricted labels (#353)

08 Jan 15:51
6e5f72c
Compare
Choose a tag to compare

🌟 Summary

The v0.0.39 release enhances GitHub workflows by refining label automation, improving action performance, and optimizing code for efficiency. 🚀


📊 Key Changes

  • 🏷️ Extended Excluded Labels: Added more restricted labels (e.g., "research," "non-reproducible," "popular") to exclude them from automatic labeling in issues and PRs.
  • Caching Disabled: Explicitly disabled caching in the GitHub action setup to improve reliability.
  • 🗑️ Code Clean-Up: Removed deprecated Python scripts related to MkDocs and eliminated other redundant logic.
  • 🔄 Version Update: Bumped the action version from 0.0.38 to 0.0.39 for tracking improvements.

🎯 Purpose & Impact

  • Better Label Accuracy: The expanded excluded label list ensures only meaningful labels are automatically applied, reducing mislabeling and keeping GitHub workflows tidy. ✅
  • Streamlined Workflows: Disabling caching minimizes potential issues during action setup, making workflows more predictable and faster. 🚀
  • Improved Maintainability: Removing unused and redundant code cleans up the codebase, making it easier for maintainers to manage and update. 🛠️
  • Higher Efficiency: Optimized functions and simplified logic deliver faster execution and smoother development experiences. 🌟

This release is a quality-of-life improvement for contributors and maintainers, ensuring a more organized and effective development workflow. 💡

What's Changed

New Contributors

Full Changelog: v0.0.38...v0.0.39

v0.0.38 - Fix `is_url()` wildcards (#350)

03 Jan 22:18
df36f01
Compare
Choose a tag to compare

🌟 Summary

Release v0.0.38 improves URL validation compatibility, enhances software reliability with better testing, and updates documentation for clarity. 🚀

📊 Key Changes

  • Refined URL Validation (is_url()):
    • Enhanced HTTP headers for broader compatibility with different web server configurations.
    • Improved User-Agent and wildcard-based Accept headers for more robust URL handling.
  • Increased Test Coverage:
    • Introduced a new example test URL (bus.jpg) to validate the functionality of is_url().
    • Added a test print statement in the main script to demonstrate and verify URL handling behavior.
  • Documentation Update:
    • README clarified to specify that Swift code formatting requires the macos-latest runner in the workflow setup.
  • Version Bump: Official transition to version 0.0.38.

🎯 Purpose & Impact

  • Better URL Handling 🌐:
    • Strengthens the is_url() utility by making it more compatible with diverse web server environments.
    • Helps avoid issues when verifying links, ensuring smoother web resource validation for users and automated scripts.
  • Enhanced Reliability 🔍:
    • Added test cases and examples bolster confidence in URL-handling functionality while making debugging easier.
  • Improved Documentation 📖:
    • Clearer README documentation reduces confusion, making it easier for users to configure workflows, particularly those targeting Swift code workflows.
  • User Experience Boost 💡:
    • These changes collectively lead to more consistent tool performance and a better developer experience.

What's Changed

Full Changelog: v0.0.37...v0.0.38

v0.0.37 - Update test_urls.py (#348)

01 Jan 16:49
7b5e678
Compare
Choose a tag to compare

🌟 Summary

This update focuses on improving testing reliability, enhancing URL validation, and extending test coverage for better system stability and accurate functionality. 🚀


📊 Key Changes

  • Enhanced CI Workflows:

    • Added fail-fast: false to ensure tests run across all platforms even if one fails.
    • Enabled verbose test outputs (pytest -v) to make debugging easier.
    • Introduced better configurations in pyproject.toml for test settings, such as skipping unnecessary directories and enabling doctest options.
  • Improved URL Validation Utilities:

    • Strengthened URL parsing logic (is_url) to better handle malformed or incomplete URLs.
    • Adjusted regular expressions to refine domain name validation for increased accuracy.
  • Expanded Test Coverage:

    • Added test cases for various URL-related functionalities, including markdown links, HTML links, duplicates, case sensitivity, and URLs with queries or fragments.
    • Comprehensive edge case handling for invalid, missing, or non-standard URLs ensures robustness.

🎯 Purpose & Impact

  • Reliability in Automated Testing:
    The improved CI workflow ensures uninterrupted testing across all environments, reducing the chances of missing platform-specific issues. 🎛️
  • Better Debugging Experience:
    Verbose test outputs and refined configurations make diagnosing failures simpler and faster for developers. 🛠️
  • Stronger URL Validation:
    More accurate link validation minimizes incorrect detections and guarantees consistency in handling web resources. 🌐
  • Broader Test Coverage:
    Widespread test additions reduce the risk of undetected bugs while ensuring the system is future-proof against edge cases. 🧪

This update delivers a significant boost to development stability and user experience, especially in ensuring comprehensive and reliable URL functionality. 🙌

What's Changed

Full Changelog: v0.0.36...v0.0.37

v0.0.36 - Add tests (#346)

01 Jan 15:21
ceb77ff
Compare
Choose a tag to compare

🌟 Summary

This release (v0.0.36) introduces a robust testing system with a new GitHub Actions CI workflow, enhances project reliability through improved testing coverage, and updates dependencies for cleaner development. 🚀

📊 Key Changes

  • 🛠️ New CI Workflow: Added a GitHub Actions ci.yml for testing on ubuntu-latest and macos-latest with Python versions 3.12 and 3.13.
  • Scheduled Tests: Introduced daily runs at 00:00 UTC for consistent testing and maintenance.
  • 📦 Dependency Updates:
    • Removed "black" from development dependencies.
    • Added the requests library, enabling future utilities requiring external requests.
  • New Tests: Created test_urls.py to ensure URL validation using the is_url function.
  • 🔄 Version Updated: Bumped project version from 0.0.35 to 0.0.36.

🎯 Purpose & Impact

  • Improved Reliability: The new CI system ensures automated and thorough testing across multiple OS and Python environments, minimizing bugs and enhancing maintainability. 🌍
  • Streamlined Development: Removing unused dependencies like "black" simplifies the setup, while requests opens the door for more robust functionality. ✨
  • Enhanced Test Coverage: The new test_urls.py ensures core utilities such as URL validation are reliable, reducing potential integration errors. 🔍
  • Proactive Maintenance: Scheduled tests help identify and fix issues early, improving project stability for long-term sustainability. 🕒

This release is all about improving the backbone of development—better tools, cleaner code, and reliable testing pave the way for smoother, bug-free future updates. 🚂

What's Changed

Full Changelog: v0.0.35...v0.0.36

v0.0.35 - Update `ruff>=0.8.4` (#343)

01 Jan 14:39
5d47f4b
Compare
Choose a tag to compare

🌟 Summary

The v0.0.35 release updates dependencies, optimizes workflows, and improves functionality, security, and compatibility, ensuring a smoother experience for developers and users. 🚀


📊 Key Changes

  • Dependency Updates:

    • Upgraded ruff to >=0.8.4 (previously >=0.1.6) for enhanced linting and code quality checks. 📦
    • Updated requests library to >=2.32.3 for security fixes and improved stability. 🛡️
    • Bumped GitHub Action astral-sh/setup-uv to v5 for better pipeline efficiency and caching defaults. 🔄
  • Workflow Enhancements:

    • Updated GitHub workflows (format.yml and publish.yml) to ensure token fallback reliability and utilize the latest action versions. ⚙️
    • Optimized formatting and package installation processes for macOS compatibility and minimized redundant installations. 🍎
  • Code Improvements:

    • Broader URL validation support by adding domains like LinkedIn, Twitter, and Google Cloud Storage to the allowlist. 🌐
    • Modernized link checking with requests.head for better performance and simplified code. 🛠️
    • Multi-threaded link validation for faster processing. ⚡

🎯 Purpose & Impact

  • Improved Development Efficiency: Keeping dependencies up to date ensures access to the latest features, security enhancements, and compatibility fixes. 🏗️
  • Enhanced Reliability: Workflow improvements and better URL validation reduce potential errors and improve robustness in CI/CD pipelines. ✅
  • Faster Processing: Multi-threaded URL checking ensures performance remains optimal for large datasets or projects with numerous links. 🚀
  • Simplified Maintenance: Streamlining workflows, removing unused dependencies, and modernizing tools make the codebase leaner and easier to manage. 🧹

This release delivers critical quality-of-life updates to developers and reinforces the infrastructure to prevent potential issues while improving speed and adaptability. 📈

What's Changed

Full Changelog: v0.0.34...v0.0.35

v0.0.34 - Convert to classes (#336)

28 Dec 04:00
4e5591b
Compare
Choose a tag to compare

🌟 Summary

The v0.0.34 release brings a major refactor to GitHub Actions utilities by transitioning API logic to a new Action class, streamlining event handling, and simplifying code maintainability while enforcing standardized linting and formatting configurations.


📊 Key Changes

  • 🏗️ Transition to Action Class

    • Replaced usage of hardcoded GitHub environment variables with an Action class for handling API calls and event data.
    • Centralized logic for GitHub interactions, such as fetching PR diffs, updating metadata, and executing GraphQL queries.
  • 🔄 Enhanced Modularization

    • Refactored repository, labeling, and discussion APIs into encapsulated, reusable methods within the Action class.
    • Unified headers and API interaction logic for a more streamlined approach to event processing.
  • ✨ Improved Formatting and Linting

    • Added Ruff for Python linting with a 120-character line limit.
    • Integrated docformatter to ensure consistent docstring wrapping and formatting across the codebase.
  • 🧹 Code Cleanup

    • Removed unused variables and simplified GraphQL queries, reducing clutter while improving clarity.
    • Reorganized exports (__all__) to include only relevant functions.

🎯 Purpose & Impact

Purpose:

  1. Simplify Development: By encapsulating logic in the Action class, developers now have a cleaner, modular codebase that’s easier to maintain.
  2. Enhance Standards: Enforced consistent formatting and linting ensures code is readable, professional, and easy to collaborate on.

Impact:

  • Streamline Operations: Key GitHub workflows such as auto-labeling and issue triaging are now more efficient.
  • Reduced Technical Debt: Refactoring helps future-proof the repository by removing redundancies and improving extensibility.
  • Better Collaboration: Formatting and modularization simplify contributions by creating a shared standard for all contributors.

This release empowers developers to interact with GitHub Actions more intuitively while benefiting from improved code quality and maintenance practices. 🚀

What's Changed

Full Changelog: v0.0.33...v0.0.34

v0.0.33 - Update summarize_pr.py (#332)

27 Dec 19:03
3a86ff3
Compare
Choose a tag to compare

🌟 Summary

Version v0.0.33 focuses on refining GitHub Actions to be more resilient, efficient, and engaging, while also updating dependencies for improved performance. 🚀


📊 Key Changes

  • 🔄 Enhanced Workflow Resilience:

    • Updated continue-on-error to true in GitHub Actions, allowing workflows to continue even if errors occur.
    • Removed unnecessary fetch-depth: 0 configuration and redundant git pull command for cleaner workflows.
  • 📖 Improved Messaging in PR Summaries:

    • PR merge messages now feature inspiring and obscure quotes from historical figures, enhancing contributor acknowledgment.
  • 🔗 Dependency Upgrade:

    • Upgraded the lychee-action (Broken Link Checker) from v2.1.0 to v2.2.0.
  • 🔢 Version Increment:

    • Bumped version from v0.0.32 to v0.0.33.

🎯 Purpose & Impact

  • Smoother Automation:

    • continue-on-error ensures workflows don’t halt unnecessarily, allowing tasks to proceed seamlessly. This is critical for maintaining project momentum without interruption. 🚦
  • Efficiency Gains:

    • Removing fetch-depth: 0 and git pull reduces resource usage and streamlines workflows for developers, particularly in repositories with large Git histories. ⚡
  • Enhanced Contributions Joy 🤩:

    • Acknowledging contributors with thoughtful quotes adds a personal and uplifting touch to the development experience.
  • Better Link Validation 🔗:

    • The latest lychee-action version comes with bug fixes and improved handling of edge cases, ensuring fewer false positives during broken link checks.

Overall, this release improves both developer workflows and contributor recognition, providing a seamless experience with thoughtful refinements.

What's Changed

Full Changelog: v0.0.32...v0.0.33

v0.0.32 - Credit PR committers (#328)

25 Dec 16:23
ddcd985
Compare
Choose a tag to compare

🌟 Summary

The v0.0.32 release refines contributor recognition in GitHub actions, improves communication clarity, and enhances configuration simplicity, strengthening both user and contributor experiences. 🚀✨


📊 Key Changes

  • 🚀 Expanded Contributor Recognition: PR committers, in addition to authors, are now acknowledged more comprehensively in merge comments and issue discussions.
  • 🧹 Cleaner Configuration: Removed unnecessary lines for a streamlined GitHub Actions setup.
  • 🎨 Enriched Messaging Templates:
    • Added references to influential figures from art for an inspiring touch.
    • Reorganized issue comments to better credit contributors, clarify testing instructions, and encourage feedback.
  • 🦾 Unified Acknowledgment System: Replaced fragmented author/contributor attribution logic with a consolidated credit field (pr_credit).
  • 🛡️ Bot and Token Exclusions: Excluded automatic bot actions and GITHUB_TOKEN users from being counted as contributors to ensure accurate human credit.

🎯 Purpose & Impact

  • Enhanced Contributor Recognition: By acknowledging both PR committers and authors, the release builds a more inclusive and appreciative open-source culture.
  • 🛠️ Simplified Actions Maintenance: Cleaning up redundant scripts and consolidating features reduces noise, improving repository management.
  • 🤝 Improved Transparency and Gratitude: Enriched recognition and message customization foster openness and motivate contributors.
  • 👩‍🎨 Inspiring Engagement: Subtle nods to art and philosophy in communication inspire creativity and a sense of belonging in contributors.

🛠 With these changes, the development process embraces better clarity, improved culture, and streamlined features to benefit all users!

What's Changed

Full Changelog: v0.0.31...v0.0.32

v0.0.31 - Do not reply to bot PRs (#326)

23 Dec 20:48
22cce66
Compare
Choose a tag to compare

🌟 Summary

Version 0.0.31 focuses on improving accuracy and reproducibility in the repository while cleaning up contributor data by excluding bot accounts. 🛠️✨

📊 Key Changes

  • 🤖 Enhanced contributor detection logic to exclude bot accounts from PR labeling and tracking.
  • ⏳ Updated random seed generation in OpenAI utilities to use a timestamp-based approach for improved reproducibility.
  • 🔖 Bumped version number from 0.0.30 to 0.0.31 to reflect these updates.

🎯 Purpose & Impact

  • Accurate Contributor Tracking: Ensures only human contributors are included when summarizing PR details, leading to cleaner, more relevant data.
  • Improved Reproducibility: Time-based seeding ensures consistent behavior when using randomization, particularly useful for debugging and testing workflows.
  • Streamlined Versioning: The version update marks these improvements, aiding in tracking and maintaining the software.

✨ These updates collectively enhance the project’s usability, accuracy, and reliability for both developers and users! 🚀

What's Changed

Full Changelog: v0.0.30...v0.0.31

v0.0.30 - Fix reviews and comments list merge (#324)

22 Dec 01:09
8deeef1
Compare
Choose a tag to compare

🌟 Summary

This release (v0.0.30) focuses on improving the way pull request reviews and comments are merged, ensuring a smoother and more reliable summarization process. 🚀

📊 Key Changes

  • 🔄 Version Update: Incremented the version to 0.0.30 for better tracking of progress.
  • 🛠️ Code Adjustment: Replaced the | operator with + to merge PR reviews and comments correctly, avoiding incorrect behavior in list handling.

🎯 Purpose & Impact

  • Enhanced Accuracy: Fixes potential issues in merging lists, ensuring seamless and accurate data integration of PR reviews and comments for better analysis and reporting.
  • 📈 Improved Reliability: Users benefit from more precise and robust pull request summaries that minimize confusion during collaborations.
  • 🔧 Smoother Workflow: Developers now enjoy a more efficient and dependable process for managing PR comments and reviews.

What's Changed

Full Changelog: v0.0.29...v0.0.30