dropbox-sdk 0.20.3

Rust bindings to the Dropbox API, generated by Stone from the official spec.
Documentation
name: Dispatch Spec Update

on:
  workflow_dispatch:
  push:
    branches:
      - main

permissions:
  id-token: write
  contents: read

jobs:
  dispatch:
    name: Dispatch spec update to ${{ matrix.repository }}
    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        repository:
          - dropbox-sdk-python
          - dropbox-sdk-js
          - dropbox-sdk-dotnet
          - dropbox-sdk-go-unofficial
          - dropbox-sdk-java
          - dropbox-sdk-obj-c
          - SwiftyDropbox
          - dropbox-api-v2-explorer

    steps:
      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v6
        with:
          role-to-assume: arn:aws:iam::082972943155:role/oidc-github-dropbox-dropbox-api-spec-repo
          aws-region: us-west-2

      - name: Fetch GitHub App credentials from Secrets Manager
        uses: aws-actions/aws-secretsmanager-get-secrets@v3
        with:
          secret-ids: |
            SDK_UPDATER,sdk-updater-github-app
          parse-json-secrets: true

      - name: Generate GitHub App installation token
        id: app-token
        uses: actions/create-github-app-token@v3
        with:
          client-id: ${{ env.SDK_UPDATER_CLIENT_ID }}
          private-key: ${{ env.SDK_UPDATER_PRIVATE_KEY }}
          owner: dropbox
          repositories: ${{ matrix.repository }}

      - name: Dispatch spec update
        uses: peter-evans/repository-dispatch@v4
        with:
          token: ${{ steps.app-token.outputs.token }}
          repository: dropbox/${{ matrix.repository }}
          event-type: spec_update
          client-payload: >-
            {
              "repository": "${{ github.repository }}",
              "ref": "${{ github.ref }}",
              "sha": "${{ github.sha }}"
            }