Skip to content

Commit d83642d

Browse files
renamed default branch
1 parent 3a29a67 commit d83642d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/update-readme.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,5 @@ jobs:
5555
run: |
5656
git config user.name github-actions[bot]
5757
git config user.email github-actions[bot]@users.noreply.github.com
58-
git checkout -b develop
58+
git branch -m main develop
5959
git push -u origin develop
60-
61-
- name: Promote develop to default branch
62-
if: steps.check.outputs.initial_commit == 'true'
63-
env:
64-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
run: |
66-
gh api -X PATCH /repos/${{ github.repository }} \
67-
-f default_branch=develop

0 commit comments

Comments
 (0)