Feature: Add Workflow for Manual Version Bumps
You should add a GitHub Actions workflow that allows you to **manually trigger version bumps**. This will help you keep your version and changelog consistent in the project.
**Proposed Workflow**
```yaml
name: Version Bump
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
inputs:
release_type:
description: 'Select version bump type'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major
jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Universal Version Bump
uses: taj54/universal-version-bump@v0.14.0
with:
release_type: ${{ inputs.release_type }}
git_tag: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
### ✅ Acceptance Criteria
- [ ] You can see the workflow in the **Actions** tab.
- [ ] You can choose bump type (`patch`, `minor`, `major`).
- [ ] The workflow bumps the version .
- [ ] (Optional) You can extend this workflow later to include tagging + release creation.
---
🙋 If you want, I can open a PR.
关闭于 2025-09-04 1 条评论