.profile/.github/workflows/waka-readme.yml
2022-12-04 17:56:58 +08:00

25 lines
807 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
SECTION_NAME: wakabox-lang
# 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>