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
When using toReleaseBranch strategy, there can be a possibility that the working branch is protected. It means after release, when Ship.js tries to merge the release branch back to the working branch, it will fail to push the merge commit. In that case, there's nothing much that can be done programmatically.
So if we can check via GitHub API
(1) if this branch is protected
(2) and this branch allows force push,
then we can enable forcePushBranches config by default.
The text was updated successfully, but these errors were encountered:
When using
toReleaseBranch
strategy, there can be a possibility that the working branch is protected. It means after release, when Ship.js tries to merge the release branch back to the working branch, it will fail to push the merge commit. In that case, there's nothing much that can be done programmatically.So if we can check via GitHub API
(1) if this branch is protected
(2) and this branch allows force push,
then we can enable
forcePushBranches
config by default.The text was updated successfully, but these errors were encountered: