Skip to content

Commit

Permalink
Add code samples merge action
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 25, 2024
1 parent 5c77124 commit 5b1b24f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/merge_code_samples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Merge Code Samples Into OpenAPI Spec
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 comments on commit 5b1b24f

Please sign in to comment.