Welcome to the Trailhead Stats GitHub Action! This action allows you to automatically update your Trailhead badges and points on your GitHub profile README. We consider that you don't have a GitHub profile readme yet, otherwise, follow the README.md.
- A GitHub account
- A Salesforce Trailhead account
- 2 minutes of your time
- Log in your GitHub account
- Go to Trailhead-Stats-template
- Click on the green button Use this template
- Select Create a new repository
- Select your personal GitHub account as Owner
- Type your exact username as Repository name
- Select Public
- Click Create repository
- Go to your newly created profile repository
- Go to
.github/workflows/Trailhead-Stats.yml
- Put your Trailhead username instead of
your_trailhead_username
- Save and commit
- And voilà ! The GitHub action will run once a day and update your profile readme with your Trailhead stats
- Go to the Actions tab
- Click on Update Trailhead Stats
- Click on the grey Run workflow
- Click on the green Run workflow
- Watch the workflow running
- Check that it is all green
You can adjust the cron schedule in the workflow file to update your stats more or less frequently. Customize the action further if needed, based on the action's documentation.
You can edit your README.md to add more information about yourself, see more explanation here. Don't remove the specific tag needed by the action, you can write things before or after but not in between the tags.
Thank you for using Trailhead Stats GitHub Action! Happy learning and sharing your Salesforce journey! Do not hesitate to contribute and read more on the Trailhead Stats repository.