Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed Feb 13, 2025
1 parent 3d63a52 commit 1ac25fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ jobs:
echo "App Version: $APPVERSION"
echo "PR Labels: $PRLABELS"
# Loop through all labels
echo "$PRLABELS" | jq -r '.[]' | while read -r LABEL; do
# Loop through all labels correctly
for LABEL in $(echo "$PRLABELS" | jq -r '.[]'); do
if [ "$LABEL" == "$APPVERSION" ]; then
MATCH_FOUND=true
echo "Match found: APPVERSION='$APPVERSION' matches PR label '$LABEL'"
break # No need to check further, exit loop early
fi
done
Expand Down

0 comments on commit 1ac25fc

Please sign in to comment.