-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.Automatically applied to new issues and PRs, indicating they haven't been looked at.type/featureFeature requestFeature request
Description
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
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/[email protected]
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.
Metadata
Metadata
Assignees
Labels
stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.Automatically applied to new issues and PRs, indicating they haven't been looked at.type/featureFeature requestFeature request