π Add Wakatime Stats into the 'README.md' file #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For more information see: https://github.com/marketplace/actions/profile-readme-development-stats | |
name: π Add Wakatime Stats into the 'README.md' file | |
on: | |
schedule: | |
# The scheduled task will be executed at midnight (00:00) every day. | |
# In terms of frequency, this is once a day. | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
name: 𧩠Update WakaTime stats | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Checkout code from repository | |
uses: actions/checkout@v4 | |
- name: ποΈ Generate WakaTime stats and commit | |
uses: anmol098/waka-readme-stats@master | |
with: | |
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
SHOW_UPDATED_DATE: "False" | |
SHOW_DAYS_OF_WEEK: "True" | |
SHOW_COMMIT: "True" | |
COMMIT_MESSAGE: "docs(readme-bot): update wakatime stats" |