mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 01:48:16 +01:00
Update weekly_stats.yaml
This commit is contained in:
4
.github/workflows/weekly_stats.yaml
vendored
4
.github/workflows/weekly_stats.yaml
vendored
@@ -56,8 +56,10 @@ jobs:
|
||||
# Create line if not existing
|
||||
if ! grep -q "$SLUG" Stats; then
|
||||
sed -ie "\$a$SLUG" Stats
|
||||
# shellcheck disable=SC2046
|
||||
for i in $(seq $(head -n 1 Stats | tr -cd ' \t' | wc -c )); do
|
||||
sed -i "/$slug/s|^|- |" Stats
|
||||
echo "$i"
|
||||
sed -i "/$slug/s|^|- |" Stats
|
||||
done
|
||||
fi
|
||||
# Add data
|
||||
|
||||
Reference in New Issue
Block a user