Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG #509

Open
Joknaa opened this issue Jun 25, 2024 · 0 comments
Open

BUG #509

Joknaa opened this issue Jun 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Joknaa
Copy link

Joknaa commented Jun 25, 2024

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 Joknaa added the bug Something isn't working label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants