Skip to content

Use danger standalone? (danger triggers github rate limit exceeding) #989

Open
@divramod

Description

Hey,

i am running danger standalone in a kubernets pod-container.
The command i use to run danger looks like that:

export DANGER_GITHUB_API_TOKEN=${GIT_TOKEN} 
danger pr https://github.com/${GIT_OWNER}/${GIT_REPO}/pull/${GIT_PULL_REQUEST}

This is running fine and gives the expected results.
My problem is, that our repo seems to be really large and while running that process danger makes about 1900 calls to the github api, which lets us run into the rate limit really fast.

Now i wanted to ask, if i can somehow avoid that?
I am not really sure where to start here to avoid the github api calls.

thx in advance!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions