diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..e4ecddf27 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Open a release PR +on: + workflow_dispatch: + inputs: + version: + description: Version to release + required: true + type: string + +jobs: + make-release-pr: + runs-on: ubuntu-latest + steps: + - name: Install cargo-release + uses: taiki-e/install-action@v1 + with: + tool: cargo-release + + - uses: actions/checkout@v3 + with: + ref: main + + - uses: cargo-bins/release-pr@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ inputs.version }}