21 lines
622 B
YAML
21 lines
622 B
YAML
name: waka2readme
|
|
|
|
on:
|
|
workflow_dispatch: # for manual workflow trigger
|
|
schedule:
|
|
- cron: "0 0 * * *" # runs at every 12AM UTC
|
|
push:
|
|
|
|
jobs:
|
|
update-readme:
|
|
name: Update latest wakatime metrics to README
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: toshikidev/waka2readme@master
|
|
with:
|
|
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
|
SHOW_TITLE: 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> |