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

Fix GitHub links in Repository Activity Score pattern #404

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

spier
Copy link
Member

@spier spier commented Apr 13, 2022

GitHub moved some of the REST API documentation.
This fixes the links in the Repository Activity Score pattern.

This fixes the links in the Repository Activity Score pattern.
@spier
Copy link
Member Author

spier commented Apr 13, 2022

The link checker still returns an error.

ERROR	https://docs.github.com/en/rest/reference/metrics#statistics
	Forbidden (HTTP error 403)
ERROR	https://docs.github.com/en/rest/reference/search#search-repositories
	Forbidden (HTTP error 403)

Not sure what's up there.

@spier spier added the 📖 Type - Content Work Working on contents is the main focus of this issue / PR label Apr 13, 2022
@spier
Copy link
Member Author

spier commented Apr 15, 2022

@zkoppert maybe you can help me with a broken link problem of my own, given that these are github.com links? 😈

In this repo we use an automatic link checker, which spotted that the old links were broken.
However when fixing them to e.g. https://docs.github.com/en/rest/reference/metrics#statistics, the link checker reports a 403 status for these.

Do you know if maybe it isn't allowed (by GitHub) to do automatic link checks on pages below docs.github.com?

@zkoppert
Copy link
Member

@spier I don't see any reason why the link checker should have failed. If you have permissions, Can you rerun the action to see if it was a temporary error. We have had some hosting interruptions recently and I want to rule that out here if possible.

@spier
Copy link
Member Author

spier commented Apr 18, 2022

Thanks @zkoppert , that was a great lead!
I re-ran the link checker GHA and now all checks are passing.

@spier spier merged commit b1fe048 into main Apr 18, 2022
@spier spier deleted the fix-repository-activity-score-links branch April 18, 2022 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 Type - Content Work Working on contents is the main focus of this issue / PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants