File tree 2 files changed +33
-42
lines changed
2 files changed +33
-42
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
- schedule :
15
- - cron : 0 0 * * *
8
+ workflow_dispatch :
9
+ inputs :
10
+ force :
11
+ description : Force generation of SDKs
12
+ type : boolean
13
+ default : false
14
+ schedule :
15
+ - cron : 0 0 * * *
16
16
jobs :
17
- generate :
18
- uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
19
- with :
20
- force : ${{ github.event.inputs.force }}
21
- languages : |
22
- - python
23
- mode : pr
24
- openapi_doc_auth_header : x-api-key
25
- openapi_docs : |
26
- - https://app.speakeasyapi.dev/v1/apis/public-api/version/1.0.0/schema/download
27
- publish_python : true
28
- speakeasy_version : latest
29
- secrets :
30
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
31
- openapi_doc_auth_token : ${{ secrets.SPEAKEASY_API_KEY }}
32
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
17
+ generate :
18
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
19
+ with :
20
+ force : ${{ github.event.inputs.force }}
21
+ mode : pr
22
+ speakeasy_version : latest
23
+ secrets :
24
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
25
+ openapi_doc_auth_token : ${{ secrets.SPEAKEASY_API_KEY }}
26
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change 1
1
name : Publish
2
2
" on " :
3
- push :
4
- branches :
5
- - main
6
- paths :
7
- - RELEASES.md
3
+ push :
4
+ branches :
5
+ - main
6
+ paths :
7
+ - RELEASES.md
8
8
jobs :
9
- publish :
10
- uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11
- with :
12
- create_release : true
13
- publish_python : true
14
- secrets :
15
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
16
- pypi_token : ${{ secrets.PYPI_TOKEN }}
17
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
9
+ publish :
10
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
11
+ secrets :
12
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
13
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
14
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments