Skip to content

Merge pull request #66 from cipherstash/release-plz-2026-05-01T05-46-04Z #3

Merge pull request #66 from cipherstash/release-plz-2026-05-01T05-46-04Z

Merge pull request #66 from cipherstash/release-plz-2026-05-01T05-46-04Z #3

Workflow file for this run

name: Release-plz
permissions:
pull-requests: write
contents: write
id-token: write
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: release-plz
cancel-in-progress: false
jobs:
release-pr:
name: Release PR
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
name: Release
runs-on: ubuntu-latest
needs: release-pr
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
git_tag_gpgsign: true
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}