Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag Component Lead Reviewers when moving issue to CLR #315

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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