File tree Expand file tree Collapse file tree 1 file changed +30
-26
lines changed Expand file tree Collapse file tree 1 file changed +30
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate
2
2
permissions :
3
- checks : write
4
- contents : write
5
- pull-requests : write
6
- statuses : write
3
+ checks : write
4
+ contents : write
5
+ pull-requests : write
6
+ statuses : write
7
7
" on " :
8
- workflow_dispatch :
9
- inputs :
10
- force :
11
- description : Force generation of SDKs
12
- type : boolean
13
- default : false
14
- set_version :
15
- description : optionally set a specific SDK version
16
- type : string
17
- schedule :
18
- - cron : 0 0 * * *
8
+ workflow_dispatch :
9
+ inputs :
10
+ force :
11
+ description : Force generation of SDKs
12
+ type : boolean
13
+ default : false
14
+ set_version :
15
+ description : optionally set a specific SDK version
16
+ type : string
17
+ target :
18
+ description : ' optionally: set a specific target to generate, default is all'
19
+ type : string
20
+ schedule :
21
+ - cron : 0 0 * * *
19
22
jobs :
20
- generate :
21
- uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
22
- with :
23
- force : ${{ github.event.inputs.force }}
24
- mode : pr
25
- set_version : ${{ github.event.inputs.set_version }}
26
- speakeasy_version : latest
27
- secrets :
28
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
29
- rubygems_auth_token : ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
30
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
23
+ generate :
24
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
25
+ with :
26
+ force : ${{ github.event.inputs.force }}
27
+ mode : pr
28
+ set_version : ${{ github.event.inputs.set_version }}
29
+ speakeasy_version : latest
30
+ target : ${{ github.event.inputs.target }}
31
+ secrets :
32
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
33
+ rubygems_auth_token : ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
34
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments