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

Have URLs periodically checked #501

Closed
cansavvy opened this issue Mar 10, 2022 · 4 comments · Fixed by #673
Closed

Have URLs periodically checked #501

cansavvy opened this issue Mar 10, 2022 · 4 comments · Fixed by #673
Assignees

Comments

@cansavvy
Copy link
Collaborator

I'd love to have something that periodically checks the urls on my courses even if I haven't filed a pull request and then if can alert me to broken ones that would be perfect.

I know this is possible with GitHub actions, I'd just need to set it up.

@cansavvy
Copy link
Collaborator Author

I'll make this a priority too because it should be a fairly quick add. should....

@cansavvy cansavvy self-assigned this Jan 31, 2023
@cansavvy
Copy link
Collaborator Author

cansavvy commented Apr 5, 2023

That was a lie. I did not make this a priority. But now this would be a good issue for @howardbaek to do to get familiar with OTTR. So let’s chat about it.

@cansavvy cansavvy assigned howardbaik and unassigned cansavvy Apr 5, 2023
@howardbaik
Copy link
Contributor

howardbaik commented Sep 5, 2023

This post suggests a GHA for periodically checking for broken links using the schedule event.

Also, it seems like GHA natively sends email notifications: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs

@cansavvy
Copy link
Collaborator Author

cansavvy commented Sep 7, 2023

The other thing that would be great for this, is to have it create a new branch and file a pull request that tells someone what the broken URLs are. That way there's already the branch they can check out to fix it.

Grab code from here:
https://github.com/jhudsl/OTTR_Template/blob/main/.github/workflows/pull_request.yml

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 a pull request may close this issue.

2 participants