You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error handling in git commands within action.yml (#479)
- Added warnings for failed fetch of the head branch if it has been deleted and ensure the action continues even if a checkout fails.
Co-authored-by: Linearb CI <linearb-ci@gmail.com>
git fetch --shallow-since="6 months ago" upstream $'${{ steps.safe-strings.outputs.head_ref }}' || echo "::warning::Failed to fetch head branch. The branch may have been deleted."
0 commit comments