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 publish.yml to trusted publisher #103

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Oct 5, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced GitHub Actions for automated PyPI publishing in mkdocs project.

πŸ“Š Key Changes

  • βœ… Added permissions for using id-token in the GitHub workflow for PyPI trusted publishing.
  • πŸ“¦ Introduced automated steps to build the package and publish to PyPI using GitHub Actions.
  • πŸ”„ Updated version from 0.1.9 to 0.1.10 in pyproject.toml.

🎯 Purpose & Impact

  • πŸš€ Streamlines the process of publishing updates to PyPI, making it more secure and efficient.
  • πŸ“ˆ Ensures better version management and distribution of the mkdocs-ultralytics-plugin.

@UltralyticsAssistant UltralyticsAssistant added dependencies Dependencies and packages enhancement New feature or request labels Oct 5, 2024
@UltralyticsAssistant
Copy link
Member

πŸ‘‹ Hello @glenn-jocher, thank you for submitting an ultralytics/mkdocs πŸš€ PR! To ensure a seamless integration of your work, please review the following checklist:

  • βœ… Define a Purpose: Clearly explain the purpose of your changes in your PR description, and link to any relevant issues. Ensure your commit messages are clear and adhere to the project's conventions.
  • βœ… Synchronize with Source: Confirm your PR is synchronized with the ultralytics/mkdocs main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • βœ… Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. Address any failing checks.
  • βœ… Update Documentation: Update the relevant documentation for any new or modified features.
  • βœ… Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • βœ… Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • βœ… Minimize Changes: Limit your changes to the minimum necessary for your enhancement. "It is not daily increase but daily decrease, hack away the unessential."

πŸ’‘ For more guidance, please refer to our Contributing Guide. An Ultralytics engineer will review your PR soon. Your effort in improving our publishing process is much appreciated! πŸš€

@glenn-jocher glenn-jocher merged commit 8332457 into main Oct 5, 2024
2 checks passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch October 5, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependencies and packages enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants