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 format.yml to pull_request_target #97

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 10, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Updated GitHub Actions workflow to enhance PR handling and formatting checks.

πŸ“Š Key Changes

  • Changed the trigger event from pull_request to pull_request_target for formatting workflow.

🎯 Purpose & Impact

  • Enhanced Security: The pull_request_target event allows workflows to run with a higher level of security when interacting with pull requests from forks.
  • Improved PR Handling: Ensures that the correct base branch is used in the formatting checks, improving accuracy and reliability.

This update optimizes the workflow handling for pull requests, enhancing both security and efficiency when managing incoming contributions. πŸš€πŸ”’

@glenn-jocher glenn-jocher merged commit d65d483 into main Jun 10, 2024
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch June 10, 2024 12:03
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