mirror of
https://github.com/sys-32Dev/hoyolab-auto-daily.git
synced 2026-10-07 20:10:03 +00:00
Features - Telegram notifier via TELEGRAM_TOKEN / TELEGRAM_CHAT_ID, sent alongside the existing Discord webhook (either, both, or neither) - emoji status prefixes in notifications for faster scanning Fixes - wrap each game's fetch/json in try/catch so a network error or non-JSON response logs and continues instead of aborting the whole run - correct Content-Type (application/json) and sec-fetch-mode headers - fix quote-stripping regex (missing global flag) - throw the friendly COOKIE/GAMES errors before use instead of a raw TypeError - keep send-confirmation lines out of the notification body Hardening - pin liskin/gh-workflow-keepalive to a commit SHA - add least-privilege permissions to both workflows Chores - add .gitignore (node_modules, .env, logs) to prevent committing local cookies Docs - document Telegram setup in README
5 lines
35 B
Plaintext
5 lines
35 B
Plaintext
node_modules/
|
|
.env
|
|
*.log
|
|
.DS_Store
|