Update a pinned gist to contain an overview of your WakTime stats
- Fork the repository
- Create a public Gist here - The content or title does not matter
- Setup the repository secrets
- Repository secrets should be created on the repository page, in
Settings >> Security >> Secrets and Variables >> Actions
(https://github.com/[USERNAME]/wakagist/settings/secrets/actions)
GIST_ID
- Copy the identifier from the Gist you created
- The identifier will be the end of the url - e.g. for this gist, the identifier is
e975b19012d1b268884a5bb7354a19b3
- The identifier will be the end of the url - e.g. for this gist, the identifier is
- Create a new repository secret called
GIST_ID
, where the secret content is the previously copied identifier
- Copy the identifier from the Gist you created
GH_PAT
- Generate a new Personal Access Token here. Once you generate a token, you will not be able to see it again - Ensure you have copied it after clicking the
Generate
button.- You can name this token whatever you want, but it'd be best to name it something such as
WakaGist
. - The expiration can be set to any value, but I recommend
90 days
- Repository Access should be set to
All repositories
- Under
Account permissions
, find theGist
permission and set it toAccess: Read and write
- You can name this token whatever you want, but it'd be best to name it something such as
- Create a new repository secret called
GH_PAT
, where the secret content is the access token
- Generate a new Personal Access Token here. Once you generate a token, you will not be able to see it again - Ensure you have copied it after clicking the
WAKATIME_KEY
- Repository secrets should be created on the repository page, in
- Run the action for the first time
- Ensure the Gist has updated