EpicGames Weekly Giveaways Auto Claimer
This is a supplementary repository for Revadike/epicgames-freebies-claimer
All you need to set this up, is to create 3 secret values for this repository
-
Go to Actions tab and click on the big green button that says "I understand my workflows, go ahead and run them"
-
Go to the secrets menu in settings tab
-
Create 3 new secrets with the name
USERNAME
,PASSWORD
andSECRETKEY
(all uppercase) and update the secrets with the corresponding valuesUSERNAME
- Your EpicGames email addressPASSWORD
- Your EpicGames passwordSECRETKEY
- Your Authenticator Key for 2FA
You can skip or delete SECRETKEY
if 2FA is disabled. The two-step verification secret will be displayed when you enable enable two-step verification using the "Authenticator" app. If you have already enabled it, you can see it by turning it off and then on again.
Yep, that's it. This will run as scheduled and automatically claim free games available.
You can change the behavior of this workflow by editing the claim.yml file.
You can change the trigger schedule using cron expressions. You can use crontab guru if you don't know how cron expressions work.
schedule:
- cron: "0 0 * * *" # Everyday at 00:00 UTC
Note: The schedule trigger of GitHub Actions is a bit inaccurate, so there may be a delay of about 5 to 10 minutes.
If you want to set this up for multiple accounts, You need to create more secrets. You can label them accordingly for easy identification. You also need to create more jobs in order to do this.
jobs:
claim:
By default, there is only one job. You can create multiple jobs by duplicating the jobs
jobs:
claim1:
...
claim2:
...
This is setup because sometimes the script fails to login and asks for manual login, which you can't do. So, it would just wait forever.
timeout-minutes: 5 # Automatically stop after 5 minutes
You can trigger the action manually by starring the repository.
To enable this feature, uncomment the following lines. (remove the #
sign from the starting)
# watch:
# types: [started] # When repo owner stars this repo
Note This feature is not limited to you. Anyone who stars your fork can trigger the action.