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

chore: fix curl failure by passing GitHub token #33

Merged
merged 16 commits into from
Dec 29, 2022

Conversation

ghaiszaher
Copy link
Member

@ghaiszaher ghaiszaher commented Dec 24, 2022

entrypoint.sh Outdated
Comment on lines 9 to 10
content=$(curl -L https://api.github.com/repos/pinterest/ktlint/releases/latest)
echo "$content"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renatoabreu11 finally got the actual error:
https://github.com/ScaCap/action-ktlint/actions/runs/3773090106/jobs/6414367317

{"message":"API rate limit exceeded for 172.177.36.112. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

@ghaiszaher ghaiszaher changed the title chore: test retry failure chore: fix curl failure by passing GitHub token Dec 24, 2022
@ghaiszaher ghaiszaher marked this pull request as ready for review December 25, 2022 13:32
@ghaiszaher ghaiszaher requested a review from a team as a code owner December 25, 2022 13:32
Copy link
Contributor

@renatoabreu11 renatoabreu11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@ghaiszaher ghaiszaher merged commit 762c364 into master Dec 29, 2022
@ghaiszaher ghaiszaher deleted the chore/retry-failure branch December 29, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants