Skip to content

Commit ca99656

Browse files
committed
CCM-11726 Update ID to be specific to job and filter by workflow
1 parent 2605e09 commit ca99656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dispatch_internal_repo_workflow.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
--arg targetAccountGroup ${{ inputs.targetAccountGroup }} \
6666
--arg targetComponent ${{ inputs.targetComponent }} \
6767
--arg terraformAction "${{ inputs.terraformAction }}" \
68-
--arg callerRunId "${GITHUB_RUN_ID}" \
68+
--arg callerRunId "${GITHUB_RUN_ID}-${GITHUB_JOB}" \
6969
'{
7070
"ref": "${{ inputs.internalRef }}",
7171
"inputs": (
@@ -112,6 +112,7 @@ jobs:
112112
contains("'${{ inputs.targetAccountGroup }}'") and
113113
contains("'${{ inputs.targetComponent }}'") and
114114
contains("'${{ inputs.terraformAction }}'"))
115+
| select(.path == ".github/workflows/'${{ inputs.targetWorkflow }}'")
115116
| .url')
116117
117118
if [[ -n "$workflow_run_url" && "$workflow_run_url" != null ]]; then

0 commit comments

Comments
 (0)