Skip to content

Feature request: Add Workflow for Manual Version Bumps #258

@taj54

Description

@taj54

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions