Skip to content

Commit d4b0611

Browse files
authored
Merge pull request #2031 from github/koesie10/gh-pr-create
Use first-party action for creating release PR
2 parents c3050fc + 15382a0 commit d4b0611

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,15 @@ jobs:
122122
perl -i -pe 's/^/## \[UNRELEASED\]\n\n/ if($.==3)' CHANGELOG.md
123123
124124
- name: Create version bump PR
125-
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3
125+
uses: ./.github/actions/create-pr
126126
if: success()
127127
with:
128128
token: ${{ secrets.GITHUB_TOKEN }}
129129
commit-message: Bump version to ${{ steps.bump-patch-version.outputs.next_version }}
130130
title: Bump version to ${{ steps.bump-patch-version.outputs.next_version }}
131131
body: This PR was automatically generated by the GitHub Actions release workflow in this repository.
132-
branch: ${{ format('version/bump-to-{0}', steps.bump-patch-version.outputs.next_version) }}
133-
base: main
134-
draft: true
132+
head-branch: ${{ format('version/bump-to-{0}', steps.bump-patch-version.outputs.next_version) }}
133+
base-branch: main
135134

136135
vscode-publish:
137136
name: Publish to VS Code Marketplace

0 commit comments

Comments
 (0)