froi / add_invite_user

GitHub Action to invite user into a GitHub Organization.
MIT License
0 stars 0 forks source link

[FEATURE] - Retry on API Limit Failure #25

Closed jasonmacgowan closed 4 years ago

jasonmacgowan commented 4 years ago

If this action runs into the API rate limiting, add a label of retry

Every day at 1am UTC, pick up 500 issues with the retry label and attempt to process them again.

jasonmacgowan commented 4 years ago

Error signature for rate-limited message:

{
  "name": "HttpError",
  "status": 422,
  "headers": {
    ...
  },
  "request": {
    ...
  },
  "errors": [
    {
      "resource": "OrganizationInvitation",
      "code": "unprocessable",
      "field": "data",
      "message": "Over invitation rate limit"
    }
  ],
  "documentation_url": "https://developer.github.com/v3/orgs/members/#create-organization-invitation"
}
Chocrates commented 4 years ago

This is done, going to enable it and close this. I will open a new ticket to catch api rate limits and apply the retry label