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 11name : Generate
22permissions :
3- checks : write
4- contents : write
5- pull-requests : write
6- statuses : write
7- id-token : write
3+ checks : write
4+ contents : write
5+ pull-requests : write
6+ statuses : write
7+ id-token : write
88" on " :
9- workflow_dispatch :
10- inputs :
11- force :
12- description : Force generation of SDKs
13- type : boolean
14- default : false
15- set_version :
16- description : optionally set a specific SDK version
17- type : string
18- schedule :
19- - cron : 0 0 * * *
9+ workflow_dispatch :
10+ inputs :
11+ force :
12+ description : Force generation of SDKs
13+ type : boolean
14+ default : false
15+ set_version :
16+ description : optionally set a specific SDK version
17+ type : string
18+ target :
19+ description : ' optionally: set a specific target to generate, default is all'
20+ type : string
21+ schedule :
22+ - cron : 0 0 * * *
2023jobs :
21- generate :
22- uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
23- with :
24- force : ${{ github.event.inputs.force }}
25- mode : pr
26- set_version : ${{ github.event.inputs.set_version }}
27- secrets :
28- github_access_token : ${{ secrets.GITHUB_TOKEN }}
29- npm_token : ${{ secrets.NPM_TOKEN }}
30- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
24+ generate :
25+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
26+ with :
27+ force : ${{ github.event.inputs.force }}
28+ mode : pr
29+ set_version : ${{ github.event.inputs.set_version }}
30+ target : ${{ github.event.inputs.target }}
31+ secrets :
32+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
33+ npm_token : ${{ secrets.NPM_TOKEN }}
34+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments