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

Update action.yml for Prettier on YAMLs #68

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jan 28, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved code formatting action with Prettier exclusions.

πŸ“Š Key Changes

  • Switched from a broad prettier format command to a more targeted find-exec command.
  • Excluded files in the ./docs/ and ./.github/workflows/ directories from Prettier formatting.

🎯 Purpose & Impact

  • πŸ›  The change aims to prevent unintentional formatting of documentation and workflow files, focusing on code consistency while respecting areas where formatting may be project-specific or unnecessary.
  • πŸš€ Users can expect reduced risk of formatting conflicts in sensitive directories and better control over which files get formatted by Prettier. This can be especially beneficial for projects with custom documentation and CI/CD pipeline setups.

@glenn-jocher glenn-jocher merged commit 75d708e into main Jan 28, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch January 28, 2024 19:27
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.

1 participant