9 matches across 1 files for error path:.github/workflows/require_issue_link.yml
snippet_mode: grep · sorted by relevance
.github/workflows/require_issue_link.yml YAML 9 matches · showing 5 view file →
86 const sender = context.payload.sender?.login;
87 if (!sender) {
88 throw new Error('Event has no sender — cannot check permissions');
89 }
90 try {
· · ·
105 }
106 const status = e.status ?? 'unknown';
107 throw new Error(
108 `Permission check failed for ${sender} (HTTP ${status}): ${e.message}`,
109 );
· · ·
264 console.log(`PR author "${prAuthor}" is NOT assigned to #${num} (assignees: ${assignees.join(', ') || 'none'})`);
265 }
266 } catch (error) {
267 if (error.status === 404) {
268 console.log(`Issue #${num} not found — skipping`);
· · ·
267 if (error.status === 404) {
268 console.log(`Issue #${num} not found — skipping`);
269 } else {
· · ·
270 // Non-404 errors (rate limit, server error) must not be
271 // silently skipped — they could cause false enforcement
272 // (closing a legitimate PR whose assignment can't be verified).
+ 4 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.