mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-17 16:36:25 +08:00
25 lines
617 B
YAML
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
|