Skip to content

Commit 5a5220e

Browse files
Feature/ccm 9979 deploy selects wrong internal workflow v2 (#500)
1 parent 4493f88 commit 5a5220e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable_internal_repo_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ jobs:
9090
run_id=$(echo "$in_progress" | jq -r \
9191
--arg env "${{ inputs.targetEnvironment }}" \
9292
--arg component "${{ inputs.targetComponent }}" \
93-
--arg repoName "nhs-notify-web-template-management" \
93+
--arg group "${{ inputs.targetAccountGroup }} \
9494
--arg releaseVersion "${{ inputs.releaseVersion }}" \
9595
'.workflow_runs[]
96-
| select(.name | contains($env) and contains($component) and contains($repoName) and contains($releaseVersion))
96+
| select(.name | contains($env) and contains($component) and contains($group) and contains($releaseVersion))
9797
| .id' | head -n 1)
9898
9999
if [[ -n "$run_id" && "$run_id" != null ]]; then

0 commit comments

Comments
 (0)