Skip to content

Commit

Permalink
Merge pull request #315 from junpataleta/tagCLRs
Browse files Browse the repository at this point in the history
Tag Component Lead Reviewers when moving issue to CLR
  • Loading branch information
HuongNV13 authored Nov 14, 2024
2 parents e0a676e + efabbe1 commit 175395f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tracker_automations/component_leads_integration_mover/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,16 @@ function verify_revievers_availability() {
# There is some component lead reviewer available, let's send the issue to CLR. This check is done.
echo " - There are available reviewers (${available}) for the issue."
outcome=CLR
outcomedesc="Sending to CLR, there are available reviewers (${available}) for the issue."
availableProfiles=()
IFS=, read -r -a availableCLRs <<<"$available"
for availableCLR in "${availableCLRs[@]}"; do
availableCLR=$(trimstring "$availableCLR")
if [[ -z ${available} ]]; then
continue
fi
availableProfiles+=("[~${availableCLR}]")
done
outcomedesc=$(IFS=, ; echo "Sending to CLR, there are available reviewers for the issue: ${availableProfiles[*]}")
return # Outcome set, and function finished we are done.
}

Expand Down

0 comments on commit 175395f

Please sign in to comment.