Skip to content

Commit

Permalink
Another attempt at changelog automation
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Jan 23, 2022
1 parent 84233d8 commit 6b2163f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update Changelog

on:
release:
types: [ published ]

jobs:
update-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update changelog
uses: thomaseizinger/keep-a-changelog-new-release@v1
with:
version: ${{ github.event.release.tag_name }}
- name: Commit changelog back to repo
uses: EndBug/add-and-commit@v8
with:
add: 'CHANGELOG.md'
message: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ format. This project adheres to [Semantic Versioning](https://semver.org/spec/v2

## [Unreleased]

### Added

- Added Laravel 9 support

## [0.3.0]

### Added
Expand Down

0 comments on commit 6b2163f

Please sign in to comment.