Skip to content

Commit

Permalink
Merge pull request #543 from hydephp/develop
Browse files Browse the repository at this point in the history
Create update-changelog.yml
  • Loading branch information
caendesilva authored Jun 16, 2022
2 parents 777e208 + 5ca08c4 commit d940bf4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update Changelog

on:
release:
types: [published]

workflow_dispatch:

jobs:
update-changelog:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3

- name: Install Auto Changelog
run: npm install -g auto-changelog

- name: Generate the Changelog
run: auto-changelog

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Automatic Changelog Update
title: Update Changelog
body: Update changelog to reflect release changes
branch: update-changelog
base: master
labels: ignore-for-release
delete-branch: true

0 comments on commit d940bf4

Please sign in to comment.