We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2684648 commit e821978Copy full SHA for e821978
.github/workflows/update-default-branch.yml
@@ -29,7 +29,8 @@ jobs:
29
if: steps.check_target_branch.outputs.target_branch_exists == 'false'
30
run: |
31
echo "Creating branch $TARGET_BRANCH from main"
32
- git checkout -b "$TARGET_BRANCH"
+ git fetch origin main
33
+ git checkout -b "$TARGET_BRANCH" origin/main
34
git push origin "$TARGET_BRANCH"
35
36
- name: Get current default branch
0 commit comments