Skip to content

Commit e0b32ad

Browse files
committed
create PR for change?
1 parent 3361ace commit e0b32ad

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,14 @@ jobs:
251251
uses: ./dev-packages/external-contributor-gh-action
252252
with:
253253
name: ${{ github.event.pull_request.user.login }}
254-
- name: Commit changes
255-
uses: stefanzweifel/git-auto-commit-action@v5
256-
with:
257-
commit_message: "Add external contributor to CHANGELOG.md"
258-
skip_fetch: true
259-
skip_checkout: true
254+
- name: Create PR with changes
255+
uses: peter-evans/create-pull-request@v6
256+
with:
257+
commit-message: "ref: Add external contributor to CHANGELOG.md"
258+
title: "ref: Add external contributor to CHANGELOG.md"
259+
branch: 'external-contributor/patch-${{ github.event.pull_request.user.login }}'
260+
delete-branch: true
261+
path: 'CHANGELOG.md'
260262

261263
job_build:
262264
name: Build

0 commit comments

Comments
 (0)