File tree Expand file tree Collapse file tree 2 files changed +27
-26
lines changed Expand file tree Collapse file tree 2 files changed +27
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate
2
-
3
- on :
4
- workflow_dispatch : # Allows manual triggering of the workflow to generate SDK
5
- inputs :
6
- force :
7
- description : " Force generation of SDKs"
8
- type : boolean
9
- default : false
10
- schedule :
11
- - cron : 0 0 * * * # Runs every day at midnight
12
-
2
+ " on " :
3
+ workflow_dispatch :
4
+ inputs :
5
+ force :
6
+ description : Force generation of SDKs
7
+ type : boolean
8
+ default : false
9
+ schedule :
10
+ - cron : 0 0 * * *
13
11
jobs :
14
- generate :
15
- uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
16
- with :
17
- speakeasy_version : latest
18
- openapi_docs : |
19
- - https://docs.api.epilot.io/template-variables.yaml
20
- overlay_docs : |
21
- - ./overlay.yaml
22
- languages : |
23
- - terraform
24
- mode : pr
25
- force : ${{ github.event.inputs.force }}
26
- secrets :
27
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
28
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
12
+ generate :
13
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
14
+ with :
15
+ force : ${{ github.event.inputs.force }}
16
+ mode : pr
17
+ speakeasy_version : latest
18
+ secrets :
19
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
20
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change
1
+ workflowVersion : 1.0.0
2
+ sources :
3
+ my-source :
4
+ inputs :
5
+ - location : https://docs.api.epilot.io/template-variables.yaml
6
+ targets :
7
+ terraform :
8
+ target : terraform
9
+ source : my-source
You can’t perform that action at this time.
0 commit comments