Skip to content

Commit e293ce3

Browse files
committed
ci: add co-author info from issue author in auto-generated PRs
1 parent d2d5f53 commit e293ce3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/auto-pr-on-issue.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
- name: Create Pull Request
3939
uses: peter-evans/create-pull-request@v6
4040
with:
41-
commit-message: "Add guideline for issue #${{ github.event.issue.number }}"
41+
commit-message: |
42+
Add guideline for issue #${{ github.event.issue.number }}
43+
44+
Co-authored-by: ${{ github.event.issue.user.login }} <${{ github.event.issue.user.login }}@users.noreply.github.com>
45+
4246
branch: guideline-${{ github.event.issue.number }}
4347
title: "[auto-pr] #${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
4448
body: |

0 commit comments

Comments
 (0)