This repository includes a GitHub Actions workflow that automatically monitors the ticket status for MikuExpo 2025 (Asia) and sends notifications when the status changes.
- Checks the official MikuExpo Asia 2025 website every 15 minutes (currently controlled via Github API.
- Uses Puppeteer to scrape the ticket status.
- Tracks status changes from current status and checkes via a cron schedule.
- Sends notifications to Slack and Telegram when status has changed.
- Commits status changes to the repository for tracking.
-
Scheduled Monitoring:
The workflow runs every 30 minutes and can also be triggered manually. -
Status Check:
- Puppeteer navigates to the ticket page and scrapes the ticket status.
- Compares the current status to the previous status stored in
previous_status.txt.
-
Notification:
- If the status changes from previous status to something else, notifications are sent to Slack and Telegram using secrets for webhook URLs and tokens.
-
Commit Tracking:
- Updates
previous_status.txtand commits changes to the repository.
- Updates
Add your Slack webhook URL, Telegram bot token, and Telegram chat ID as GitHub secrets:
SLACK_WEBHOOK_URLTELEGRAM_BOT_TOKENTELEGRAM_CHAT_ID
Telegram Notification Logic:
- Only the chat specified by
TELEGRAM_CHAT_IDwill receive notifications. - To notify a different user or group, update the
TELEGRAM_CHAT_IDsecret with their chat ID. - To notify multiple chats, modify the workflow to send messages to each chat ID (e.g., duplicate the Telegram notification step for each chat).
See .github/workflows/mikuexpo2025.yml for the full workflow configuration.