Skip to content

Add Permissions to Ultralytics Actions format.yml#100

Merged
glenn-jocher merged 1 commit intomainfrom
update-format-workflow-20250511015617
May 11, 2025
Merged

Add Permissions to Ultralytics Actions format.yml#100
glenn-jocher merged 1 commit intomainfrom
update-format-workflow-20250511015617

Conversation

@glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 10, 2025

This pull request significantly enhances the Ultralytics Actions workflow, introducing permissions for security best practices, alongside intelligent issue and PR handling. This includes automatic labeling, spam detection, abuse identification, and off-topic filtering. These updates ensure a more efficient and organized workflow, adhering to the latest Ultralytics standards.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improves the GitHub workflow for formatting and automating tasks in the Ultralytics/assets repo, adding more permissions and enhanced automation features. 🚀

📊 Key Changes

  • Expanded workflow permissions to allow writing to contents, pull requests, and issues.
  • Renamed the job from "format" to "actions" for broader task coverage.
  • Updated step names and comments for clarity.
  • Added support for a new Brave API key to help resolve broken links.
  • Clarified and enhanced automation steps, including AI-powered labeling, formatting, spelling checks, and PR summaries.

🎯 Purpose & Impact

  • 🛠️ Enables more advanced automation, including AI-powered PR summaries and labeling, making reviews faster and more informative.
  • 🔒 Grants the workflow more control to improve code quality and documentation directly within PRs.
  • 🔗 Improves the ability to detect and resolve broken links, enhancing documentation reliability.
  • 🤖 Streamlines and modernizes repository maintenance, benefiting both contributors and users with cleaner, more accurate code and docs.

@UltralyticsAssistant UltralyticsAssistant added devops GitHub Devops or MLops enhancement New feature or request labels May 10, 2025
@UltralyticsAssistant
Copy link
Member

👋 Hello @glenn-jocher, thank you for submitting an ultralytics/assets 🚀 pull request! This is an automated response to help streamline the review process. An Ultralytics engineer will also assist you shortly.

Please review the checklist below to ensure your PR is ready for integration:

  • Define a Purpose: Clearly describe the goal of your update in the PR description and link to any relevant issues. Make sure your commit messages are clear and follow project conventions.
  • Synchronize with Source: Confirm your branch is up-to-date with ultralytics/assets main. If it's behind, update it using the 'Update branch' button or via git pull and git merge main locally.
  • Ensure CI Checks Pass: All Ultralytics Continuous Integration (CI) checks should pass. Please resolve any failing checks.
  • Update Documentation: If your changes affect documentation, ensure the relevant documentation is updated.
  • Add Tests: Where applicable, include or update tests to cover your changes and confirm that all tests pass.
  • Sign the CLA: If this is your first PR to Ultralytics, please sign our Contributor License Agreement (CLA) by commenting: "I have read the CLA Document and I sign the CLA."
  • Minimize Changes: Limit your PR to only the minimum required for your enhancement or fix. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

For additional details, see our Contributing Guide. If you have any questions or need clarification, please leave a comment below. Thank you for contributing to Ultralytics! 🚀✨

@glenn-jocher glenn-jocher merged commit e36ed29 into main May 11, 2025
1 check passed
@glenn-jocher glenn-jocher deleted the update-format-workflow-20250511015617 branch May 11, 2025 00:17
@UltralyticsAssistant
Copy link
Member

Fantastic work, @glenn-jocher! 🚀 This PR is a leap forward for Ultralytics/assets—your enhancements to workflow automation, permissions, and documentation reliability will truly streamline collaboration for everyone. As Henry Ford said, "If everyone is moving forward together, then success takes care of itself." Your dedication embodies this spirit, making it easier for contributors to work smarter and build better. Thank you for driving innovation and quality across the Ultralytics ecosystem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops GitHub Devops or MLops enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants