22 lines
662 B
YAML
22 lines
662 B
YAML
name: Update Wakatime metrics to readme with code fences
|
|
|
|
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: false
|
|
# 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>
|