anmol098 / waka-readme-stats

This GitHub action helps to add cool dev metrics to your github profile Readme
MIT License
3.39k stars 555 forks source link

BUG #456

Closed Nagi-ovo closed 1 year ago

Nagi-ovo commented 1 year ago

Describe the bug my actions trigger every single minutes

To Reproduce Steps to reprod prtsc I found this problem because I receive a error mail everyday from github, and discoverd that what cause the error is github api limits, so I went to my .yml file in Nagi-ovo/Nagi-ovo. and found thoudsands of commit...

Expected behavior trigger once every day on 16:00 UTC

Github repository link my profile's .yml file

name: Waka Readme

on:
  push:
  schedule:
    - cron: '0 16 * * *'
  issue_comment:

jobs:
  update-readme:
    name: Update Readme with Metrics
    runs-on: ubuntu-latest
    steps:
      - uses: Nagi-ovo/waka-readme-stats@master
#       - uses: athul/waka-readme@master
        with:
          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
          SHOW_LINES_OF_CODE: False
          SHOW_PROFILE_VIEWS : False
          SHOW_COMMIT : False
          SHOW_DAYS_OF_WEEK : False
          SHOW_LANGUAGE : True
          SHOW_OS : True
          SHOW_PROJECTS : False
          SHOW_TIMEZONE : False
          SHOW_EDITORS : True
          SHOW_LANGUAGE_PER_REPO : False
          SHOW_SHORT_INFO : False
          SHOW_LOC_CHART : False

Additional context I think I set the config correctly.