WakaTime on Readme #8
This file contains hidden or 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
| name: WakaTime on Readme | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "30 1 * * *" | |
| jobs: | |
| update-readme: | |
| name: WakaReadme DevMetrics | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Update Readme with WakaTime Stats | |
| uses: athul/waka-readme@master | |
| with: | |
| WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} | |
| BLOCKS: ⣀⣄⣤⣦⣶⣷⣿ | |
| TIME_RANGE: all_time | |
| SHOW_TIME: true | |
| SHOW_TOTAL: true | |
| SHOW_MASKED_TIME: true | |
| - name: Update WakaTime Stats | |
| run: | | |
| git config --local user.email "${{ secrets.GIT_EMAIL }}" | |
| git config --local user.name "${{ secrets.GIT_USERNAME }}" | |
| git add -A | |
| git diff-index --quiet HEAD || git commit -m "Updated README.md" |