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 #673

Merged
merged 85 commits into from
Feb 29, 2024
Merged

Conversation

cansavvy
Copy link
Collaborator

@cansavvy cansavvy commented Sep 20, 2023

Purpose/implementation Section

What changes are being implemented in this Pull Request?

This is a start to having a GHA that will check URLs periodically on a course without being provoked.

A few things we have to develop here:

  1. We probably want it to make an issue if there's a URL error found.
  2. If no error is found, we want it to clean up the preview branch and everything it does.

The last bit I have to put in here is if an issue is already open for broken URLs, we don't want to create another one. There doesn't seem to be a convenient GitHub Action for this, so I'm going to have to write a GitHub API accessing script to do it myself. I'll add it to the github-helpers or cow package.

I tried https://github.com/nickderobertis/check-if-issue-exists-action and https://actions-cool.github.io/issues-helper/advanced#find-issues but both assume the GitHub Action you are running is being triggered by an issue based trigger which is not what is happening for us.

@cansavvy cansavvy linked an issue Sep 20, 2023 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2023

Re-rendered previews from the latest commit:

Updated at 2024-02-29 with changes from 8642465

@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2023

No spelling errors! 🎉
Comment updated at 2024-02-29 with changes from 8642465

@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2023

⚠️ broken urls ⚠️
There are broken urls that need to be addressed.
Click here ➡️ for broken urls errors!
Add errors that aren't errors to the resources/ignore-urls.txt file of this repo.
If you are having troubles see this guide
Comment updated at 2024-02-29 with changes from 8642465

@cansavvy cansavvy merged commit 993b6ac into main Feb 29, 2024
5 of 6 checks passed
@cansavvy cansavvy deleted the 501-have-urls-periodically-checked branch February 29, 2024 14: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.

Have URLs periodically checked
2 participants