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 :
@@ -240,10 +249,10 @@ jobs:
240249 uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
241250 with :
242251 token : ${{ steps.app-token.outputs.token }}
243- title : " chore: regenerate client from updated OpenAPI spec"
252+ title : " ${{ inputs.title || ' chore: regenerate client from updated OpenAPI spec' }} "
244253 branch : openapi-update-${{ github.run_id }}
245- commit-message : " chore: regenerate client from OpenAPI spec"
246- body : " Auto-generated from updated HotData OpenAPI spec."
254+ commit-message : " ${{ inputs.title || ' chore: regenerate client from OpenAPI spec' }} "
255+ body : " ${{ inputs.summary || ' Auto-generated from updated HotData OpenAPI spec.' }} "
247256
248257 # Enable native auto-merge (squash). Branch protection on main gates the
249258 # merge on the test checks (scenario-parity, integration) plus the org
You can’t perform that action at this time.
0 commit comments