.profile/.github/workflows/waka-readme.yml
2022-12-04 00:25:57 +08:00

24 lines
774 B
YAML

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: <gh_username/gh_username>