privy-rs 0.1.0-alpha.6

Privy SDK for Rust
Documentation
name: OpenAPI
on:
  schedule:
    # run every Monday at 10am UTC
    - cron: "0 10 * * 1"
  workflow_dispatch:
jobs:
  update-openapi:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6

      - uses: jdx/mise-action@v2
        with:
          install: false
          experimental: true

      - name: Install toolchains
        run: |
          mise install rust
          mise install

      - name: Run Codegen
        run: mise gen-openapi

      - name: create pull request
        uses: peter-evans/create-pull-request@v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          commit-message: Generate latest changes from OpenApi spec
          title: Generate latest changes from OpenApi spec
          body: |
            This is an automated PR that tries to build the latest changes generated from the [Privy OpenApi spec](https://api.privy.io/v1/openapi.json).
          branch: openapi
          branch-suffix: timestamp
          reviewers: arlyon