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

Fix on PR close #56

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Fix on PR close #56

merged 2 commits into from
Jan 18, 2024

Conversation

glenn-jocher
Copy link
Member

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

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Update to GitHub Actions workflow to skip steps for closed PRs.

πŸ“Š Key Changes

  • Modified event action echo to reflect correct terms (opened/closed).
  • Added conditions to skip checkout, dependency installation, formatting, and commit steps if the PR is closed.
  • Updated conditionals to halt action steps using github.event.action != 'closed' check.

🎯 Purpose & Impact

  • Efficiency: Prevents unnecessary execution of actions when PRs are closed, saving time and resources.
  • Accuracy: Corrects status terms in the action logs for better clarity.
  • User Experience: Users will benefit from faster feedback loops during the development process, as the actions will now ignore redundant workflows on closed PRs.

@glenn-jocher glenn-jocher merged commit 35748e2 into main Jan 18, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the fix branch January 18, 2024 22:23
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