diff --git a/.github/workflows/waka-readme.yml b/.github/workflows/waka-readme.yml new file mode 100644 index 0000000..f6cd892 --- /dev/null +++ b/.github/workflows/waka-readme.yml @@ -0,0 +1,24 @@ +name: Update weekly wakatime metrics to README section + +on: + workflow_dispatch: # for manual workflow trigger + push: # instant trigger after push to see effect + schedule: + - cron: "0 0 * * *" # runs at every 12AM UTC + +jobs: + update-readme: + name: WakaReadme DevMetrics + runs-on: ubuntu-latest + steps: + - uses: athul/waka-readme@master + with: + WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} + SHOW_TITLE: true + BLOCKS: ░▒▓█ + TIME_RANGE: all_time + SHOW_TIME: true + # following flags are required, only if this is not on + # profile readme, remove the leading `#` to use them + #GH_TOKEN: ${{ secrets.GH_TOKEN }} + #REPOSITORY: \ No newline at end of file diff --git a/README.md b/README.md index 5249bcf..9fd5d83 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ - - - header banner @@ -21,6 +18,11 @@ dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd andatoshiki's dynamic github language stats

+## Development metrics + + + +