Skip to content

Commit aa75b3e

Browse files
authored
add dispatch ID parameter to create-release.yaml GH action (#641)
**What changed?** Added the input param dispatch_id to the create-release.yaml GH action. **Why?** This parameter is required by the launchpad release tooling to track GH actions that are run as part of Temporal WFs. <https://temporal.io/blog/running-github-actions-temporal-guide#the-dispatch-id-challenge> **Breaking changes** None. A default value of "none" is provided. The new parameter can be ignored when the action is run manually.
1 parent e1c9754 commit aa75b3e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,16 @@ on:
1616
skip_sdk_check:
1717
description: "Skip sdk-go compatibility check"
1818
type: boolean
19-
19+
dispatch_id:
20+
description: An ID used by external tools to identify workflow runs(can be left empty when running manually)
21+
default: "none"
22+
type: string
2023
jobs:
24+
dispatch:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Dispatch ${{ inputs.dispatch_id }}
28+
run: echo "Dispatch ${{ inputs.dispatch_id }}"
2129
prepare-inputs:
2230
name: "Prepare inputs"
2331
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)