Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git checkout -b release-branch
git checkout -b release-main

- name: Run semantic-release
env:
Expand All @@ -44,15 +44,15 @@ jobs:
semantic-release publish

- name: Push release branch
run: git push origin release-branch
run: git push origin release-main

- name: Create PR to main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \
--base main \
--head release-branch \
--head release-main \
--title "Automated Release Updates" \
--body "This pull request contains updates from the semantic-release process." || true

Expand Down