Feature: Add Workflow for Manual Version Bumps
- Ngôn ngữ chính
- Python
- Star
- 93.8k
- Fork
- 7.7k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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.8.2
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.