Skip to content

Commit 366617a

Browse files
committed
CCM-11870 Revert workflow change
1 parent d21a21e commit 366617a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dispatch_internal_repo_workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
--arg targetAccountGroup "${{ inputs.targetAccountGroup }}" \
115115
--arg targetComponent "${{ inputs.targetComponent }}" \
116116
--arg terraformAction "${{ inputs.terraformAction }}" \
117-
'[.workflow_runs[]
117+
'.workflow_runs[]
118118
| select(.path == ".github/workflows/" + $targetWorkflow)
119119
| select(.name
120120
| contains($targetEnvironment)
@@ -126,7 +126,7 @@ jobs:
126126
then select(.name | contains("caller:" + $callerRunId))
127127
else .
128128
end
129-
] | sort_by(.id) | last | .url')
129+
| .url')
130130
131131
if [[ -n "$workflow_run_url" && "$workflow_run_url" != null ]]; then
132132
ui_url=${workflow_run_url/api./}

0 commit comments

Comments
 (0)