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

📦 Add link check action #37

Merged
merged 1 commit into from
Sep 6, 2022
Merged

📦 Add link check action #37

merged 1 commit into from
Sep 6, 2022

Conversation

TechWiz-3
Copy link
Contributor

In this PR, I have added a workflow which checks links and fails if any of them are broken.

Disclaimer: this action is my own action, the repo is here

You can view the logs of the workflow on my fork here. 9 links were found to be broken. Please note because of the amount of links, the workflow took 30 minutes.

Also, you may note a little bug in the logs --> Link validity unkwown with 402 Forbidden return code 403 - this bug has been fixed.

Let me know if you'd like me to change anything, any feedback is appreciated either way :)

@krzjoa krzjoa merged commit 61e1daf into krzjoa:master Sep 6, 2022
@krzjoa
Copy link
Owner

krzjoa commented Sep 6, 2022

Thank you for this contribution, it'll help a lot 😎

@TechWiz-3
Copy link
Contributor Author

Thanks you, glad it'll help ☺️

Just some helpful notes:

  • since submitting this PR I created a 'fast' version. If you'd like the workflow to be much faster (a few minutes maximum) check it out. It just requires a GitHub token used to make requests to the github api without getting rate limited.
  • if you wish the workflow to run regardless of pushes you can add
    on:
      schedule:
        - cron: '0 1 * * *'  # 1 am everyday
      push:

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.

2 participants