Metrics and WakaTime #302
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
name: Metrics and WakaTime | |
on: | |
# Schedule daily updates | |
schedule: [{ cron: "0 0 * * *" }] | |
# (optional) Run workflow manually | |
workflow_dispatch: | |
# (optional) Run workflow when pushing on master/main | |
push: { branches: ["master", "main"] } | |
jobs: | |
metrics-wakatime: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Metrics | |
uses: lowlighter/metrics@latest | |
with: | |
token: ${{ secrets.GithubReadME }} | |
- name: WakaTime | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.wakatime.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_wakatime: yes | |
plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os | |
plugin_wakatime_token: ${{ secrets.WAKATIME }} |