File tree Expand file tree Collapse file tree 4 files changed +42
-22
lines changed Expand file tree Collapse file tree 4 files changed +42
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Generate
2
+ " on " :
3
+ workflow_dispatch :
4
+ inputs :
5
+ force :
6
+ description : Force the generation of the SDKs
7
+ type : boolean
8
+ default : false
9
+ schedule :
10
+ - cron : 0 0 * * *
11
+ jobs :
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
+ npm_token : ${{ secrets.NPM_TOKEN }}
21
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ permissions :
3
+ checks : write
4
+ contents : write
5
+ pull-requests : write
6
+ statuses : write
7
+ " on " :
8
+ push :
9
+ branches :
10
+ - main
11
+ paths :
12
+ - RELEASES.md
13
+ - ' */RELEASES.md'
14
+ jobs :
15
+ publish :
16
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
17
+ secrets :
18
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
19
+ npm_token : ${{ secrets.NPM_TOKEN }}
20
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ targets:
12
12
source : my-source
13
13
publish :
14
14
npm :
15
- token : $NPM_TOKEN
15
+ token : $npm_token
You can’t perform that action at this time.
0 commit comments