Skip to content

Embedding commit history on pages #22234

Discussion options

You must be logged in to vote
Bassoonian:

I wasn’t sure if I could use the GitHub API through GitHub pages

You should be able to, as long as you do it in a script on the web site itself. However, there’s pretty strict rate limiting for unauthenticated requests.

An alternative might be to use Actions to statically build your changelog page from the commit history. Use actions/checkout with fetch-depth: 0, parse whatever you need from the repository and generate the page, and then commit & push.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants