mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
chore: Update update-charts workflow to exclude update_summary.txt and improve notification payload
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git add --all -- ':!update_summary.txt'
|
||||
git commit -m "chore: Automated version update for Helm charts"
|
||||
git pull --rebase origin main
|
||||
git push
|
||||
@@ -55,12 +55,14 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
SUMMARY=$(cat update_summary.txt)
|
||||
MESSAGE="🚀 **Helm Charts Updated**\n\n$SUMMARY\n\nView changes: https://github.com/shadoll/helm-charts/commits/main"
|
||||
|
||||
MESSAGE=$(printf '🚀 Helm Charts Updated\n\n%s\n\nView changes: https://github.com/shadoll/helm-charts/commits/main' "$SUMMARY")
|
||||
|
||||
PAYLOAD=$(jq -n \
|
||||
--arg msg "$MESSAGE" \
|
||||
--arg num "$SIGNAL_SENDER" \
|
||||
--arg rec "$SIGNAL_RECIPIENT" \
|
||||
'{message: $msg, number: $num, recipients: [$rec]}')
|
||||
|
||||
curl -X POST "$SIGNAL_URL" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
\"message\": \"$MESSAGE\",
|
||||
\"number\": \"$SIGNAL_SENDER\",
|
||||
\"recipients\": [\"$SIGNAL_RECIPIENT\"]
|
||||
}"
|
||||
-d "$PAYLOAD"
|
||||
|
||||
@@ -27,3 +27,4 @@ charts/*/tmpcharts/
|
||||
# Temporary files
|
||||
tmp/
|
||||
*.bak
|
||||
update_summary.txt
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
- **esphome**: 2026.2.4 ➔ 2026.3.0 (Chart v0.1.1)
|
||||
- **home-assistant**: 2026.3.1 ➔ 2026.3.3 (Chart v0.1.8)
|
||||
Reference in New Issue
Block a user