Skip to content

Commit 5855cff

Browse files
authored
Update App_Header_Merge_update .app-headers_in_update-app-headers
1 parent 6981774 commit 5855cff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/App_Header_Merge_update .app-headers_in_update-app-headers

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
for script in ct/*.sh; do
2525
if grep -q 'APP=' "$script"; then
2626
APP_NAME=$(grep -oP 'APP=\K\w+' "$script")
27-
figlet "$APP_NAME" >> ct/.app-headers 2>/dev/null
27+
if [ ! -z "$APP_NAME" ]; then
28+
echo "Adding $APP_NAME to .app-headers"
29+
figlet "$APP_NAME" >> ct/.app-headers 2>/dev/null || echo "figlet failed for $APP_NAME"
30+
fi
2831
fi
2932
done
3033
env:

0 commit comments

Comments
 (0)