Skip to content

Commit ddd6351

Browse files
committed
fix(actions): Fix create release action
1 parent 042e80f commit ddd6351

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/create_release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
token: ${{ secrets.GIT_TOKEN }}
1618

1719
- name: Setup PNPM
1820
uses: pnpm/action-setup@v2.4.0
@@ -49,11 +51,11 @@ jobs:
4951
5052
- name: Create release PR
5153
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
GH_TOKEN: ${{ github.token }}
5355
run: |
5456
gh pr create \
5557
--title "chore(release): ${{ steps.version.outputs.VERSION }}" \
5658
--body "chore(release): ${{ steps.version.outputs.VERSION }}" \
57-
--base master \
59+
--base main \
5860
--head release/${{ steps.version.outputs.VERSION }} \
5961
--label release

0 commit comments

Comments
 (0)