Waka Readme #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Waka Readme | |
on: | |
# for manual workflow trigger | |
workflow_dispatch: | |
schedule: | |
# runs at 12 AM UTC (5:30 AM IST) | |
- cron: "0 0 * * *" | |
jobs: | |
update-readme: | |
name: WakaReadme DevMetrics | |
runs-on: ubuntu-latest | |
steps: | |
# this action name | |
- uses: athul/waka-readme@master # do NOT replace with anything else | |
with: | |
# GH_TOKEN: ${{ secrets.GH_TOKEN }} # optional if on profile readme | |
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} # required | |
# ### meta | |
# API_BASE_URL: https://wakatime.com/api # optional | |
# REPOSITORY: YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME # optional | |
# ### content | |
# SHOW_TITLE: true # optional | |
# SECTION_NAME: waka # optional | |
# BLOCKS: -> # optional | |
# CODE_LANG: rust # optional | |
# TIME_RANGE: all_time # optional | |
# LANG_COUNT: 10 # optional | |
# SHOW_TIME: true # optional | |
# SHOW_TOTAL: true # optional | |
# SHOW_MASKED_TIME: false # optional | |
# STOP_AT_OTHER: true # optional | |
# IGNORED_LANGUAGES: YAML JSON TOML # optional | |
# ### commit | |
# COMMIT_MESSAGE: Updated waka-readme graph with new metrics # optional | |
# TARGET_BRANCH: master # optional | |
# TARGET_PATH: README.md # optional | |
# COMMITTER_NAME: GitHubActionBot # optional | |
# COMMITTER_EMAIL: [email protected] # optional | |
AUTHOR_NAME: zKurisu # optional | |
AUTHOR_EMAIL: [email protected] # optional | |
# # you can populate email-id with secretes instead |