Skip to content

Open a release PR

Open a release PR #1

Workflow file for this run

name: Open a release PR
on:
workflow_dispatch:
inputs:
version:
description: Semver kind to bump
required: true
type: choice
# only allow minor + patch releases by automation for now
options:
- minor
- patch
jobs:
make-release-pr:
permissions:
id-token: write # Enable OIDC
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chainguard-dev/actions/setup-gitsign@main
- name: Install cargo-release
uses: taiki-e/install-action@v1
with:
tool: cargo-release
- uses: cargo-bins/release-pr@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ inputs.version }}