{"repo":"stainless-api/upload-openapi-spec-action","free":true,"listed":false,"github":"https://github.com/stainless-api/upload-openapi-spec-action","clone":"git clone https://github.com/stainless-api/upload-openapi-spec-action.git","description":"A GitHub action to build Stainless SDKs.","language":"TypeScript","stars":43,"topics":["actions","api","api-rest","github-actions","openapi","readme","sdk"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Build Stainless SDKs from GitHub Actions GitHub Actions for building Stainless SDKs and previewing changes to an SDK from a pull request. Refer to our docs on automating builds for more information. Support for GitLab CI is available. See the GitLab example. Authentication The action supports two authentication methods: GitHub OIDC (recommended): Install the Stainless GitHub App in your GitHub organization and link it to your Stainless organization. The app doesn't need access to the repository containing the workflow — just the org-level installation is enough. The action will authenticate automatically using GitHub OIDC. This is the default method shown in our examples. With OIDC (short for OpenID Connect), there's no secret to set up or rotate — GitHub mints a short-lived, cryptographically signed token for each workflow run that can be validated by Stainless. [!NOTE] OIDC authentication requires the GitHub organization running the workflow is the same GitHub organization that is linked to your Stainless organization. If your spec is in a different GitHub organization, you must use API key authentication instead. API keys: Generate an API key from your Stainless organization dashboard and add it as a STAINLESS API KEY secret. This works well for getting started or when you don't have admin permissions to install the GitHub App. See pull request api key.yml for the workflow setup. [!NOTE] GitLab CI: OIDC isn't yet supported. Use the API key method and set the STAINLESS API ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stainless-api","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stainless-api/upload-openapi-spec-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}