Skip to content

Commit 807062a

Browse files
update-workflow
1 parent 6325c19 commit 807062a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-and-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
git config --global user.name "github-actions"
3636
git config --global user.email "github-actions@github.com"
37-
git checkout -b release-branch
37+
git checkout -b release-main
3838
3939
- name: Run semantic-release
4040
env:
@@ -44,15 +44,15 @@ jobs:
4444
semantic-release publish
4545
4646
- name: Push release branch
47-
run: git push origin release-branch
47+
run: git push origin release-main
4848

4949
- name: Create PR to main
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
run: |
5353
gh pr create \
5454
--base main \
55-
--head release-branch \
55+
--head release-main \
5656
--title "Automated Release Updates" \
5757
--body "This pull request contains updates from the semantic-release process." || true
5858

0 commit comments

Comments
 (0)