Wrap the git remote prune command in a try-catch block to prevent the action from failing if the prune operation fails. Instead, log a warning message and allow the action to continue. Fixes edge cases where the prune command may fail on self-hosted runners but shouldn't block the pull request creation workflow.
318 KiB
318 KiB