1
0
.profile/.gitea/workflows/waka-readme.yml
2024-01-22 13:39:56 +08:00

27 lines
690 B
YAML

name: Waka Readme
on:
push:
paths:
- '.gitea/workflows/**'
# for manual workflow trigger
workflow_dispatch:
schedule:
- cron: "0 10 * * *"
jobs:
update-readme:
name: WakaReadme DevMetrics
runs-on: ubuntu-latest
steps:
- uses: https://git.mamahaha.work/sangge/waka-readme@master # this action name
with:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GITEA_TOKEN: ${{ secrets.TOKEN }}
SHOW_TITLE: true # optional
SECTION_NAME: waka # optional
TIME_RANGE: all_time # optional
LANG_COUNT: 10 # optional
SHOW_TIME: true # optional
SHOW_TOTAL: true # optional