booking-microservices/.github/workflows/update-changelog.yml
2023-01-14 00:50:35 +03:30

25 lines
617 B
YAML

name: "update changelog"
on:
release:
types: [published]
jobs:
update-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update changelog
run: |
npm install github-release-notes
export GREN_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
npm run overrideChangelog
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: update changelog
title: Update Changelog
body: Update changelog to reflect release changes
branch: update-changelog
base: main