Skip to content

Commit 500c337

Browse files
committed
Potentially fix release workflow
1 parent 2246d40 commit 500c337

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cd-release.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ jobs:
4343
add: ${{ format('{0}/server/server.go', github.workspace) }}
4444
cwd: "."
4545
pull: "--ff"
46+
new_branch: cd-release
47+
- name: Create Pull Request
48+
id: cpr
49+
uses: peter-evans/create-pull-request@v5
50+
with:
51+
branch: cd-release
52+
title: "Release v${{ needs.format-version.outputs.version }}"
53+
token: ${{ secrets.GITHUB_TOKEN }}
54+
body: "Created by the Release workflow to update DoltgreSQL's version"
55+
- name: Enable Pull Request Auto-Merge
56+
run: gh pr merge --merge --auto "cd-release"
57+
env:
58+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4659
- name: Build SQL Syntax
4760
run: ./build.sh
4861
working-directory: ./postgres/parser

0 commit comments

Comments
 (0)