File tree 2 files changed +33
-6
lines changed
2 files changed +33
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Invoke Speakeasy resusable workflow
2
+ on :
3
+ workflow_call :
4
+ inputs :
5
+ force :
6
+ description : Force generation of SDKs
7
+ type : boolean
8
+ default : false
9
+ set_version :
10
+ description : optionally set a specific SDK version
11
+ type : string
12
+ target :
13
+ description : Generate a specific target by name
14
+ required : false
15
+ type : string
16
+ jobs :
17
+ test :
18
+ name : test
19
+ run : echo "hello world"
20
+ # generate:
21
+ # uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
22
+ # with:
23
+ # force: ${{ inputs.force }}
24
+ # mode: pr
25
+ # set_version: ${{ inputs.set_version }}
26
+ # target: gusto-embedded
27
+ # secrets:
28
+ # github_access_token: ${{ secrets.GITHUB_TOKEN }}
29
+ # npm_token: ${{ secrets.NPM_TOKEN }}
30
+ # openapi_doc_auth_token: ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}
31
+ # speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -21,14 +21,10 @@ jobs:
21
21
runs-on :
22
22
group : gusto-ubuntu-default
23
23
step :
24
- - uses : speakeasy-api/sdk-generation-action/ .github/workflows/workflow-executor .yaml@15
24
+ - uses : .github/actions/speakeasy-workflow .yaml
25
25
with :
26
26
force : ${{ github.event.inputs.force }}
27
27
mode : pr
28
28
set_version : ${{ github.event.inputs.set_version }}
29
29
target : gusto-embedded
30
- secrets :
31
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
32
- npm_token : ${{ secrets.NPM_TOKEN }}
33
- openapi_doc_auth_token : ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}
34
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
30
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments