feat: fix CI workflow issues and improve release automation
- Add workflow_call trigger to test.yml to make it reusable by other workflows - Fix codecov action parameter from 'file' to 'files' for v4 compatibility - Update deprecated actions/create-release@v1 to softprops/action-gh-release@v2 - Add automated version bumping with commitizen - Implement PyPI trusted publishing for secure, token-free uploads - Add changelog generation with smart commit filtering - Update to Python 3.13 and enhance dependency caching - Use PERSONAL_ACCESS_TOKEN for enhanced permissions Signed-off-by: longhao <hal.long@outlook.com>
This commit is contained in:
parent
af4040916c
commit
3d0eda0acf
3 changed files with 87 additions and 79 deletions
23
.github/workflows/bumpversion.yml
vendored
Normal file
23
.github/workflows/bumpversion.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Bump version
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
if: "!startsWith(github.event.head_commit.message, 'bump:')"
|
||||
runs-on: ubuntu-latest
|
||||
name: "Bump version and create changelog with commitizen"
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
|
||||
- name: Create bump and changelog
|
||||
uses: commitizen-tools/commitizen-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
branch: main
|
||||
Loading…
Add table
Add a link
Reference in a new issue