Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prettier for YAML formatting to Ultralytics Actions #13053

Merged
merged 3 commits into from
May 30, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 30, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved GitHub Actions workflow for better code formatting and management.

πŸ“Š Key Changes

  • Pull Request Trigger Update: Changed from pull_request_target to pull_request to enhance workflow security and functionality.
  • Formatting Enhancements:
    • Separated Markdown and YAML formatting by introducing a new prettier flag specifically for YAML files.

🎯 Purpose & Impact

  • Enhanced Security and Compatibility: The trigger update makes the workflow more secure and functional by applying the correct permissions model, minimizing potential security risks.
  • Improved Code Quality: By distinguishing between Markdown and YAML formatting, the repository ensures more precise and tailored formatting, leading to cleaner and more readable code.
  • Broader Impact: These changes contribute to maintaining a high standard of code quality and workflow efficiency in the Ultralytics YOLOv5 project, positively affecting both contributors and end users by ensuring the codebase remains easy to understand, use, and contribute to. πŸš€

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit c0380fd into master May 30, 2024
7 checks passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch May 30, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant