waka-readme-stats icon indicating copy to clipboard operation
waka-readme-stats copied to clipboard

BUG

Open Joknaa opened this issue 8 months ago • 0 comments

Describe the bug Something about a secondary rate limit bug preventing me from finishing this action

To Reproduce Steps to reproduce the behavior:

  1. Have 179 repo in my case.
  2. Start the Action manually for testing purposes:
name: Waka Full Readme

on:
  schedule:
    # Runs at 12am IST
    - cron:  '0 8,13,20 * * *'
  workflow_dispatch:
jobs:
  update-readme:
    name: Update Readme with Metrics
    runs-on: ubuntu-latest
    steps:
      - uses: anmol098/waka-readme-stats@master
        with:
          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY_FULL_README }}
          GH_TOKEN: ${{ secrets.GH_TOKEN }}
          SECTION_NAME: waka-Readme # optional
          SHOW_DAYS_OF_WEEK: false
          SHOW_COMMIT: True
          SHOW_LANGUAGE: false
          SHOW_EDITORS: false
          SHOW_LANGUAGE_PER_REPO: false
          SHOW_OS: false
          SHOW_PROJECTS: false
          SHOW_TIMEZONE: false
          SHOW_LINES_OF_CODE: False
          SHOW_LOC_CHART: false
          SHOW_PROFILE_VIEWS: false
          SHOW_SHORT_INFO: false
          SHOW_UPDATED_DATE: false
          SHOW_TOTAL_CODE_TIME: false
          COMMIT_BY_ME: False
          COMMIT_MESSAGE: Updated with Dev Metrics
          COMMIT_SINGLE: False
  1. See error :
Exception: Query 'repo_branch_list' failed to run by returning code of 403: {'documentation_url': 'https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits', 
'message': 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID BC00:3D9175:138CCBB:247ACFF:667A9FE6.'}
sys:1: RuntimeWarning: coroutine 'AsyncClient.get' was never awaited

Expected behavior Run normally and print the wakatime readme metrics.

Github repository link Github repo action link: https://github.com/Joknaa/Joknaa/actions/workflows/WakaFullReadme.yml

Joknaa avatar Jun 25 '24 11:06 Joknaa