openlatch-client 0.0.1

The open-source security layer for AI agents — client forwarder
Documentation
# Version Bump — automated version bumping and changelog generation via release-plz.
#
# On every push to main:
#   1. release-plz-pr: opens/updates a "Release PR" with bumped Cargo.toml,
#      Cargo.lock, and CHANGELOG.md based on conventional commits.
#   2. release-plz-release: when the Release PR is merged, creates a v*.*.* tag
#      which triggers publish.yml (binary builds → GitHub Release → npm).

name: Version Bump

on:
  push:
    branches:
      - main

jobs:
  release-plz-pr:
    name: Release-PLZ Create PR
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    concurrency:
      group: release-plz-${{ github.ref }}
      cancel-in-progress: false
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          persist-credentials: false

      - uses: ./.github/actions/setup-rust

      - name: Run release-plz
        uses: release-plz/action@v0.5
        with:
          command: release-pr
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  release-plz-release:
    name: Release-PLZ Read PR
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: read
      id-token: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          persist-credentials: false

      - uses: ./.github/actions/setup-rust

      - name: Run release-plz
        uses: release-plz/action@v0.5
        with:
          command: release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}