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

Update links.yml #772

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Update links.yml #772

merged 2 commits into from
Jul 24, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 22, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced link-checking workflow to mimic common browser behavior for greater reliability.

πŸ“Š Key Changes

  • Updated GitHub Actions for link checking to include a specific 'User-Agent' header:
    --header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.183 Safari/537.36"
    

🎯 Purpose & Impact

  • Improved Accuracy: Mimicking browser behavior can reduce false negatives by ensuring links that are valid in a browser are less likely to be falsely flagged as broken.
  • Enhanced Reliability: This change enhances the consistency and reliability of the automated link-checking process, providing more accurate results for developers and users reviewing documentation.

Copy link

sourcery-ai bot commented Jul 22, 2024

πŸ§™ Sourcery has finished reviewing your pull request!


Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.

@glenn-jocher glenn-jocher merged commit d58aee4 into main Jul 24, 2024
3 checks passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch July 24, 2024 23:36
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.

1 participant