Skip to content

Commit e1c2c05

Browse files
chore: Refactor changelog workflow to use a different pull request creation action
Updated the changelog workflow to use peter-evans/create-pull-request@v7 and modified pull request details.
1 parent 5c07091 commit e1c2c05

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,12 @@ jobs:
3030
git-push: 'false'
3131

3232
- name: Create Pull Request
33-
# This step only runs if the changelog action created a new version
3433
if: steps.changelog.outputs.skipped == 'false'
35-
uses: misha-brt/create-pull-request@v0.0.1
34+
uses: peter-evans/create-pull-request@v7
3635
with:
3736

38-
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
40-
# The name of the new branch to create
41-
branch: 'changelog/release-v${{ steps.changelog.outputs.version }}'
42-
43-
head: ${{ github.ref }}
44-
# The branch to merge into
45-
base: 'main'
46-
47-
# The title of the pull request
48-
title: 'chore(release): v${{ steps.changelog.outputs.version }}'
37+
title: 'Automated Changelog Pull Request (request made by peter-evans/create-pull-request@v7)'
38+
39+
body: 'Changelog update created by TriPSs/conventional-changelog-action@v5'
40+
41+
base: main

0 commit comments

Comments
 (0)