Skip to content

Commit

Permalink
Create speakeasy_sdk_suggestion.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored Sep 6, 2023
1 parent aecebe8 commit db6ca2d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/speakeasy_sdk_suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Suggest Epilot Automation Spec

on:
workflow_dispatch: {} # Allows manual triggering of the workflow to suggest OpenAPI document
push:
branches:
- test-suggestion

jobs:
suggest:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-suggestion.yaml@v14
with:
speakeasy_version: latest
openapi_docs: |
- ./automation.yaml
openapi_doc_output: ./automation.yaml
max_suggestions: 3
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
openai_api_key: ${{ secrets.OPENAI_API_KEY }}

0 comments on commit db6ca2d

Please sign in to comment.