Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 9 additions & 19 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
name: Change Logs
name: Release changelog

on:
release:
types: [ released ]
push:

jobs:
latest-changes:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.target_commitish }}

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
release-notes: ${{ github.event.release.body }}
latest-version: ${{ github.event.release.tag_name }}
path-to-changelog: docs/changelog.md

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
- uses: TriPSs/conventional-changelog-action@v5
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: 📝 Update release notes
file_pattern: docs/changelog.md
github-token: ${{ secrets.github_token }}
git-message: '📝 Update release notes'
git-user-name: 'github-actions[bot]'
git-user-email: 'github-actions[bot]@users.noreply.github.com'
output-file: 'docs/changelog.md'
22 changes: 0 additions & 22 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,22 +0,0 @@
# Change Logs

## 1.6.0 - 2024-11-09

### What's Changed

* Add the flush usage by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/32
* Prepare for 1.6.0 release by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/33

**Full Changelog**: https://github.com/fastapi-practices/sqlalchemy-crud-plus/compare/1.5.0...1.6.0

## 1.5.0 - 2024-11-03

### What's Changed

* Update some usage documents by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/27
* Update the interactive link address by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/28
* update interactive link descriptions by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/29
* Update package manager pdm to uv by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/31
* Add create and update kwargs usage by @wu-clan in https://github.com/fastapi-practices/sqlalchemy-crud-plus/pull/30

**Full Changelog**: https://github.com/fastapi-practices/sqlalchemy-crud-plus/compare/1.4.0...1.5.0
Loading