Skip to content

Commit

Permalink
try different parsing command
Browse files Browse the repository at this point in the history
Signed-off-by: Peter St. John <[email protected]>
  • Loading branch information
pstjohn committed Jan 22, 2025
1 parent 98b9e3f commit 071a4c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/approvals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:
TIER2_APPROVED=false
echo "Approved Users: $APPROVED_USERS"
IFS=$'\n' read -d '' -ra TIER2_REVIEWERS_ARR <<< "$TIER2_REVIEWERS"
echo "TIER2_REVIEWERS: ${!TIER2_REVIEWERS_ARR[@]}"
echo "Tier 2 Reviewers: $TIER2_REVIEWERS"
IFS=$'\n' read -r -d '' -a TIER2_REVIEWERS_ARRAY <<< "$TIER2_REVIEWERS"
echo "TIER2_REVIEWERS_ARRAY: ${!TIER2_REVIEWERS_ARR[@]}"
# Iterate over approved users and compare with cleaned TIER2_REVIEWERS
for USER in ${APPROVED_USERS//,/ }; do
Expand Down

0 comments on commit 071a4c5

Please sign in to comment.