File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,20 @@ PLUGIN_NAME="$1"
77VERSION=" $2 "
88OWNER=" $3 "
99REPO=" $4 "
10- VERSION_MATCH=" $5 "
11- ID_MATCH=" $6 "
10+
11+ # Checks
12+ ID_MATCH=" $5 "
13+ VERSION_MATCH=" $6 "
1214README_PRESENT=" $7 "
1315REQUIRED_ARTIFACTS=" $8 "
1416SIGNATURE_VALID=" $9 "
1517
18+ # Output header
19+ echo " ## Plugin Validation Results for $PLUGIN_NAME v$VERSION "
20+ echo
21+ echo " **Repository:** [$OWNER /$REPO ](https://github.com/$OWNER /$REPO )"
22+ echo
23+
1624# Build check list
1725CHECKS=(
1826 " Version Match=$VERSION_MATCH "
@@ -22,22 +30,13 @@ CHECKS=(
2230 " Signature Validation=$SIGNATURE_VALID "
2331)
2432
25- # Format check list with emojis
26- CHECK_LIST=" "
33+ # Output check results
2734for check in " ${CHECKS[@]} " ; do
2835 NAME=$( echo " $check " | cut -d= -f1)
2936 STATUS=$( echo " $check " | cut -d= -f2)
30- echo " $NAME : $STATUS "
3137 if [ " $STATUS " = " true" ]; then
32- CHECK_LIST+= " ✅ $NAME \n "
38+ echo " ✅ $NAME "
3339 else
34- CHECK_LIST+= " ❌ $NAME \n "
40+ echo " ❌ $NAME "
3541 fi
36- done
37-
38- # Create comment with proper multiline formatting
39- echo " ## Plugin Validation Results for $PLUGIN_NAME v$VERSION
40-
41- **Repository:** [$OWNER /$REPO ](https://github.com/$OWNER /$REPO )
42-
43- $CHECK_LIST "
42+ done
You can’t perform that action at this time.
0 commit comments