Skip to content

Commit

Permalink
Merge pull request #23 from talgat-abdraimov/feature/develop-branch
Browse files Browse the repository at this point in the history
renamed default branch
  • Loading branch information
talgat-abdraimov committed Jul 31, 2024
2 parents 8b0af55 + d83642d commit b5139b8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,5 @@ jobs:
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git checkout -b develop
git branch -m main develop
git push -u origin develop
- name: Promote develop to default branch
if: steps.check.outputs.initial_commit == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api -X PATCH /repos/${{ github.repository }} \
-f default_branch=develop

0 comments on commit b5139b8

Please sign in to comment.