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
Long checkout when using base parameter on large repo
I am testing a GH action and using the base parameter. When using the base parameter, the create pull request step starts taking 18 mins (see screenshot). I am guessing it is running a full pull (instead of a shallow one or something similar).
You shouldn't need to use the base parameter unless the action can't work it out. The action defaults the base to the branch currently checked out. For some use cases, like being checked out on commit, it's necessary to let the action know what branch it should base the PR on. Unfortunately, using the base input causes another fetch, but it's unavoidable for those use cases.
If you show me your workflow I might be able to see if you can avoid using the base input.
@peter-evans in general, I shouldn't need to use the base parameter, but while in development, I am trying to create a PR against develop while my gh action is running on a feature/branch.
Long checkout when using
base
parameter on large repoI am testing a GH action and using the
base
parameter. When using the base parameter, the create pull request step starts taking 18 mins (see screenshot). I am guessing it is running a full pull (instead of a shallow one or something similar).Steps to reproduce
Git command from logs:
/usr/bin/git -c protocol.version=2 fetch --no-tags --progress --no-recurse-submodules --force origin develop:develop
The text was updated successfully, but these errors were encountered: