Skip to content

Commit

Permalink
Merge pull request openai#143 from openai/dev/atty/stainless-upload
Browse files Browse the repository at this point in the history
[github] Add GitHub Action to upload to Stainless
  • Loading branch information
athyuttamre committed Dec 16, 2023
2 parents 0aadd17 + 9615302 commit b5fdca6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/upload-to-stainless.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Upload to Stainless
on:
push:
branches:
- master

jobs:
upload_to_stainless:
runs-on: ubuntu-latest
name: Stainless — Upload OpenAPI specification
steps:
- uses: actions/checkout@v3
- uses: stainless-api/[email protected]
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
input_path: "openapi.yaml"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [opened, reopened, synchronize]

jobs:
test_swagger_editor_validator_service:
validate_openapi:
runs-on: ubuntu-latest
name: Swagger Editor Validator Service

Expand Down

0 comments on commit b5fdca6

Please sign in to comment.