Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 9, 2025

Implements automated validation of all URLs in the repository: GitHub profiles, repositories, internal links, and external resources across documentation, blog posts, data files, and README.

Changes

Extended markdown link checking

  • Added blog/ and README.md to existing docs/ workflow
  • PR workflow now triggers on changes to docs/, blog/, or README.md
  • Weekly scheduled checks cover all markdown content

New data file link validation

  • Created scripts/check-data-links.js to check URLs in JSON/JS data files
  • Validates links in users.json and all adapter/middleware/dispatcher/watcher data
  • Includes retry logic, configurable ignore patterns, and security controls
  • Available locally via yarn check:links

Coverage

docs/**/*.{md,mdx}           → markdown-link-check (existing + enhanced)
blog/**/*.md                 → markdown-link-check (new)
README.md                    → markdown-link-check (new)
static/data/*.json           → custom Node.js script (new)
src/tableData/**/*.js        → custom Node.js script (new)

Security

  • Added explicit permissions: contents: read to all workflows
  • URL validation rejects non-http(s) protocols

Documentation

  • docs/LinkChecking.md - Complete reference guide
  • scripts/README.md - Script usage and configuration
  • Updated main README with link checking section

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • apachecon.com
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • beego.wiki
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • en.wikipedia.org
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • entgo.io
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • jdlt.co.uk
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • loopback.io
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • www.elastic.co
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • www.linkedin.com
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)
  • www.musma.net
    • Triggering command: /usr/local/bin/node node scripts/check-data-links.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[feature] check the availability of all URL links (github profiles, repos, internal links, external links, etc.)</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@netlify
Copy link

netlify bot commented Dec 9, 2025

Deploy Preview for casbin ready!

Name Link
🔨 Latest commit 929c2d4
🔍 Latest deploy log https://app.netlify.com/projects/casbin/deploys/6938501b7bc74c0008076d1e
😎 Deploy Preview https://deploy-preview-343--casbin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nomeguy nomeguy marked this pull request as ready for review December 9, 2025 16:28
Copilot AI changed the title [WIP] Check availability of all URL links Add comprehensive link checking for all URL types Dec 9, 2025
Copilot AI requested a review from nomeguy December 9, 2025 16:41
@hsluoyz hsluoyz force-pushed the master branch 2 times, most recently from c015365 to c146f41 Compare December 20, 2025 09:58
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.

[feature] check the availability of all URL links (github profiles, repos, internal links, external links, etc.)

3 participants