Insert name with COOKIE and secret with
your cookie, then click Add secret
Now for the games, go to Variables and click New repository variable
Insert name with GAMES and value with the game codes you want to check in, separated by space like the example screenshot.
Supported values are: zzz, gi, hsr, hi3, tot
For the first day, you have to trigger this manually.
Simply go HERE and click on Run workflow
Refresh the page, wait for 15-25 secs, and see if it ran successfully. You should now see the check in status on top of README.
You're set! Hop on your game the next day and see if you got the rewards
Multiple Accounts
To add other accounts, you can add another cookie and games in a new line like below.
Discord Webhook
You may use Discord webhook to send notifications to your channel!
Go to channel settings
Go to Integrations and click Create Webhook
You can edit the name and picture freely, then Copy Webhook URL
Create a new repository variable named DISCORD_WEBHOOK with value of the webhook URL
(Optional) If you want to be tagged on check in, add `DISCORD_USER` variable with your Discord ID.
You may trigger the check in manually and see if the messages got sent
FAQ
Is this safe?
There should be no issues, automated check-in exists for years and there hasn't been any reports about hoyo doing anything against it
How to update my (fork) repository version?
Go to your repository and click Sync fork
Error not logged in
This is a common issue even if you seem to get the cookies right. Here's another method to get your cookies: