MCPcopy Create free account
hub / github.com/SethGammon/Citadel / validatePrUrl

Function validatePrUrl

scripts/pr-ready.js:109–113  ·  view source on GitHub ↗
(pr)

Source from the content-addressed store, hash-verified

107}
108
109function validatePrUrl(pr) {
110 if (!pr) return 'missing pull request URL';
111 if (!/^https?:\/\/.+\/pull\/\d+/i.test(pr)) return 'PR must be a pull request URL';
112 return null;
113}
114
115function summarizeDashboard(snapshot) {
116 const pending = snapshot.pending || {};

Callers 1

assessReadinessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected