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

Ultralytics Actions JSON, CSS and autolabel support #67

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

UltralyticsAssistant
Copy link
Member

@UltralyticsAssistant UltralyticsAssistant commented Aug 14, 2024

This pull request significantly enhances the Ultralytics Actions workflow, introducing support for JSON and CSS formatting, alongside intelligent issue and PR handling. This includes automatic labeling, spam detection, abuse identification, and off-topic filtering, all powered by OpenAI GPT-4o. These updates ensure a more efficient and organized workflow, adhering to the latest Ultralytics standards.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhanced GitHub Actions workflow for code formatting in the Ultralytics repository.

📊 Key Changes

  • Modified the GitHub Actions events to include more pull request states and issue opening.
  • Updated the token handling from GITHUB_TOKEN to PERSONAL_ACCESS_TOKEN as fallback.
  • Added new formatting capabilities to include Prettier for YAML, JSON, Markdown, and CSS.
  • Disabled link checking, but retained spelling and formatting checks.
  • Adjusted the OpenAI API key requirements for summary generation.

🎯 Purpose & Impact

  • More Comprehensive Automation: Automates code formatting for a wider range of PR activities and issue creation, enhancing workflow efficiency.
  • Improved Code Styling: Utilizes Prettier for a broader range of file formats, ensuring consistent styling across different file types.
  • Streamlined Token Management: Falls back to a personal access token if available, improving token handling flexibility.
  • Simplified Summaries: Provides automatic PR summaries using GPT-4, making it easier for maintainers and contributors to understand changes.

@github-actions github-actions bot added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 14, 2024
@glenn-jocher glenn-jocher merged commit a154f1c into main Aug 14, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the update-format-workflow-20240815021100 branch August 14, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants