0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-08-29 23:05:32 +00:00

feat: Make pull request for updated changelog

This commit is contained in:
alex289 2024-04-26 13:34:35 +02:00
parent a91cec6a81
commit 585a976089
No known key found for this signature in database
GPG Key ID: 573F77CD2D87F863

View File

@ -62,10 +62,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.get_next_version.outputs.version }}
- name: Commit CHANGELOG.md
- name: Create Changelog Pull Request
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
uses: stefanzweifel/git-auto-commit-action@v5
uses: peter-evans/create-pull-request@v6
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ steps.get_next_version.outputs.version }} [skip ci]'
file_pattern: CHANGELOG.md
token: ${{ secrets.PAT }}
branch: release/${{ steps.get_next_version.outputs.version }}
title: 'docs: update CHANGELOG.md for ${{ steps.get_next_version.outputs.version }}'
commit-message: 'docs: update CHANGELOG.md for ${{ steps.get_next_version.outputs.version }}'
labels: changelog
body: |
This PR updates the CHANGELOG.md file for the release of version ${{ steps.get_next_version.outputs.version }}.