mirror of
https://github.com/LukeHagar/plexterraform.git
synced 2025-12-06 04:20:52 +00:00
migrated to v15
This commit is contained in:
46
.github/workflows/speakeasy_sdk_generation.yml
vendored
46
.github/workflows/speakeasy_sdk_generation.yml
vendored
@@ -1,29 +1,25 @@
|
|||||||
name: Generate
|
name: Generate
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
statuses: write
|
statuses: write
|
||||||
"on":
|
"on":
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
force:
|
force:
|
||||||
description: Force generation of SDKs
|
description: Force generation of SDKs
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * *
|
- cron: 0 0 * * *
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
generate:
|
||||||
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
|
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
|
||||||
with:
|
with:
|
||||||
force: ${{ github.event.inputs.force }}
|
force: ${{ github.event.inputs.force }}
|
||||||
languages: |
|
mode: direct
|
||||||
- terraform
|
speakeasy_version: latest
|
||||||
mode: direct
|
secrets:
|
||||||
openapi_docs: |
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
||||||
speakeasy_version: latest
|
|
||||||
secrets:
|
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
|
||||||
|
|||||||
9
.speakeasy/workflow.yaml
Normal file
9
.speakeasy/workflow.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
workflowVersion: 1.0.0
|
||||||
|
sources:
|
||||||
|
my-source:
|
||||||
|
inputs:
|
||||||
|
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
||||||
|
targets:
|
||||||
|
plexterraform:
|
||||||
|
target: terraform
|
||||||
|
source: my-source
|
||||||
Reference in New Issue
Block a user