bobheadxi / deployments

🔖 GitHub Action for working painlessly with deployment statuses
https://github.com/marketplace/actions/github-deployments
MIT License
385 stars 64 forks source link

Error: unexpected error encountered: API rate limit exceeded for installation ID 12770951. #67

Closed gajus closed 2 years ago

gajus commented 2 years ago
Run bobheadxi/deployments@v0.6.1
  with:
    deployment_id: 469535842
    env_url: https://***/
    status: success
    step: finish
    token: ***
    no_override: true
    log_args: false
targeting contra/contra-web-app
finishing deployment for 469535842 with status success
Error: unexpected error encountered: API rate limit exceeded for installation ID 12770951.

Not clear where this error is coming from or how to mitigate it.

bobheadxi commented 2 years ago

It appears you are hitting the rate limit for your GitHub credentials or application - what token is provided? Is it from a bot account that is used for a lot of automation on this repository?

bobheadxi commented 2 years ago

@gajus I'm pretty sure this can be fixed by creating a bot account, and using a token from a bot account to ensure that the bot will always have available API request quotas :) Please feel free to ping me if you have any more questions!

(also very cool to see Contra using this action! 😁 )