
- 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>
24 lines
637 B
YAML
24 lines
637 B
YAML
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
|