Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Prevent pre-commit from running on merged pull requests
This change ensures that the pre-commit workflow only runs on pushes to the repository when the associated pull request has not been merged yet. This prevents unnecessary execution of the workflow on merged PRs, improving efficiency and reducing resource consumption.
- Loading branch information