Build failed with GitHub ratelimit error on Markdown
simonw opened this issue · 2 comments
simonw commented
https://github.com/simonw/til/actions/runs/7673134644/job/20915103157
Relevant code:
Lines 73 to 104 in 5f7591a
I don't have a MARKDOWN_GITHUB_TOKEN
set in GitHub Actions so it's using the default anonymous rate limit which is very low.
simonw commented
I'll try fixing that with:
env:
MARKDOWN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
https://docs.github.com/en/actions/security-guides/automatic-token-authentication
simonw commented
That fixed it.