name: Bump & Release on: workflow_dispatch: inputs: bump: description: 'Override bump type (leave empty to auto-detect)' required: false type: choice options: - '' - patch - minor - major jobs: bump: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Configure git run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - uses: actions/setup-node@v4 with: node-version: 22 - name: Run release script run: bash scripts/release.sh ${{ github.event.inputs.bump }}