mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-14 20:54:05 +08:00
28 lines
661 B
YAML
28 lines
661 B
YAML
name: Update Changelog
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- released
|
|
|
|
jobs:
|
|
update:
|
|
name: Update Changelog
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Update Changelog
|
|
uses: stefanzweifel/changelog-updater-action@v1
|
|
with:
|
|
latest-version: ${{ github.event.release.name }}
|
|
release-notes: ${{ github.event.release.body }}
|
|
|
|
- name: Commit updated Changelog
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
branch: main
|
|
commit_message: 'docs(changelog): update changelog'
|
|
file_pattern: CHANGELOG.md |