Skip to content

Open a release PR

Open a release PR #2

Workflow file for this run

name: Open a release PR
# check https://release-plz.ieni.dev/docs/github with `workflow_dispatch`
# check https://github.com/cargo-bins/release-pr for workflow_dispatch stuff
on:
workflow_dispatch:
inputs:
crate:
description: Crate to release
required: true
type: choice
options:
- aes256ctr_poly1305aes
version:
description: Version to release
required: true
type: string
jobs:
make-release-pr:
permissions:
id-token: write # Enable OIDC
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: chainguard-dev/actions/setup-gitsign@main
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2
- name: Install cargo-release
uses: taiki-e/install-action@4d8504289abd3a644c6237dea6005f9f28fba01b # v2
with:
tool: cargo-release
- uses: cargo-bins/release-pr@deeacca5a38bacc74a3f444b798f4b9bba40f6ad # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ inputs.version }}
crate-name: ${{ inputs.crate }}
check-semver: true