You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screwdriver API requests to GitHub to fetch repository data (permission, files, etc...).
But there are many same requests to get repository name from its id during starting build.
Thus it uses too much GitHub rate limit.
What you expected to happen:
Repository name is stored in pipelines.scmRepo column, so we can use this data to get repository name.
Indeed, scmRepo is already used in several places.
What happened:
Screwdriver API requests to GitHub to fetch repository data (permission, files, etc...).
But there are many same requests to get repository name from its id during starting build.
Thus it uses too much GitHub rate limit.
What you expected to happen:
Repository name is stored in
pipelines.scmRepo
column, so we can use this data to get repository name.Indeed,
scmRepo
is already used in several places.It would be better to skip requests to GitHub if
scmRepo
is available.https://github.com/screwdriver-cd/scm-github/blob/dbd4ba539d5cc5871af1cca82f67959bc3a71d7d/index.js#L308-L311
How to reproduce it:
The text was updated successfully, but these errors were encountered: