Skip to content

Commit 04667c1

Browse files
committed
Add support for github actions
1 parent b359b34 commit 04667c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/feat-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ jobs:
3636
env:
3737
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
3838
GH_TOKEN: ${{ github.token }}
39+
BODY: ${{ github.event.head_commit.message }}
3940
steps:
4041
- uses: actions/checkout@v4
4142
- name: Create pull request
4243
run: |
4344
gh_pr_up() {
44-
gh pr create --draft $* || gh pr edit $*
45+
gh pr create --draft $* --body "${BODY}" || gh pr edit $* --body "${BODY}"
4546
}
46-
gh_pr_up --base master --title "${BRANCH_NAME}" --body "Description"
47+
gh_pr_up --base master --title "${BRANCH_NAME}"

0 commit comments

Comments
 (0)