File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ name: Regenerate Client
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ title :
7+ description : PR title, auto-generated from the spec diff in www.
8+ required : false
9+ type : string
10+ summary :
11+ description : PR body summarizing the spec changes.
12+ required : false
13+ type : string
514
615jobs :
716 regenerate :
5968 uses : peter-evans/create-pull-request@v8.1.1
6069 with :
6170 token : ${{ steps.app-token.outputs.token }}
62- title : " chore: regenerate client from updated OpenAPI spec"
71+ title : " ${{ inputs.title || ' chore: regenerate client from updated OpenAPI spec' }} "
6372 branch : openapi-update-${{ github.run_id }}
64- commit-message : " chore: regenerate client from OpenAPI spec"
65- body : " Auto-generated from updated HotData OpenAPI spec."
73+ commit-message : " ${{ inputs.title || ' chore: regenerate client from OpenAPI spec' }} "
74+ body : " ${{ inputs.summary || ' Auto-generated from updated HotData OpenAPI spec.' }} "
You can’t perform that action at this time.
0 commit comments