Skip to content

Commit ef8a3e5

Browse files
committed
implement NPM
Signed-off-by: Jefferson <jefferson.rios.caro@gmail.com>
1 parent d9a3851 commit ef8a3e5

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/check-vulns.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,10 @@ jobs:
117117
LABELS_ARRAY+=("nsolid-${NSOLID_VERSION}")
118118
fi
119119
120-
# Join array elements with newlines for proper YAML array format
120+
# Create proper YAML array format
121121
LABELS_YAML=""
122122
for label in "${LABELS_ARRAY[@]}"; do
123-
if [ -z "$LABELS_YAML" ]; then
124-
LABELS_YAML="$label"
125-
else
126-
LABELS_YAML="$LABELS_YAML\n$label"
127-
fi
123+
LABELS_YAML="${LABELS_YAML}- \"${label}\"\n"
128124
done
129125
130126
echo "ISSUE_LABELS<<EOF" >> $GITHUB_ENV

0 commit comments

Comments
 (0)