33 matches across 3 files for func main lang:YAML lang:YAML lang:YAML lang:YAML
snippet_mode: grep · sorted by relevance
.github/ISSUE_TEMPLATE/feature-request.yml YAML 3 matches view file →
22 * [LangChain Forum](https://forum.langchain.com/),
23
24 **Note:** Do not begin work on a PR unless explicitly assigned to this issue by a maintainer.
25 - type: checkboxes
26 id: checks
· · ·
81 Please provide a clear and concise description of the feature you would like to see added to LangChain.
82
83 What specific functionality are you requesting? Be as detailed as possible.
84 placeholder: |
85 I would like LangChain to support...
· · ·
111 If you have ideas about how this feature could be implemented, please describe them here.
112
113 This is optional but can be helpful for maintainers to understand your vision.
114 placeholder: |
115 I think this could be implemented by...
.github/workflows/pr_lint_trailer.yml YAML 4 matches view file →
60 const squashMessage = `${title} (#${number})\n\n${fullBody}`;
61
62 async function findStickyComment() {
63 const comments = await github.paginate(github.rest.issues.listComments, {
64 ...context.repo,
· · ·
72 // turn this advisory job red on its own: fork PRs run with
73 // restricted tokens, secondary rate limits, transient API errors.
74 // Fall back to `core.summary` so a maintainer can paste the
75 // remediation manually. The check still fails — `setFailed` is
76 // invoked before this function, so the failure signal is already
· · ·
76 // invoked before this function, so the failure signal is already
77 // recorded by the time the comment write is attempted.
78 //
· · ·
80 // `findStickyComment` (e.g., pagination throwing) surfaces with
81 // its true cause instead of being misattributed to "fork PR token".
82 async function postStickyOrSummary(commentBody, summaryHeading) {
83 const existing = await findStickyComment();
84 try {
.github/workflows/require_issue_link.yml YAML 26 matches · showing 5 view file →
3# labeled "missing-issue-link", commented on, and closed.
4#
5# Maintainer override: an org member can reopen the PR or remove
6# "missing-issue-link" — both add "bypass-issue-check" and reopen.
7#
· · ·
32 check-issue-link:
33 # Run when the "external" label is added, on edit/reopen if already labeled,
34 # or when "missing-issue-link" is removed (triggers maintainer override check).
35 # Skip entirely when the PR already carries "trusted-contributor" or
36 # "bypass-issue-check".
· · ·
59
60 // ── Helper: ensure a label exists, then add it to the PR ────────
61 async function ensureAndAddLabel(labelName, color) {
62 try {
63 await github.rest.issues.getLabel({ owner, repo, name: labelName });
· · ·
83 // to be an org member, which GITHUB_TOKEN (an app installation
84 // token) never is — so it always returns 403.
85 async function senderIsOrgMember() {
86 const sender = context.payload.sender?.login;
87 if (!sender) {
· · ·
93 });
94 const perm = data.permission;
95 if (['admin', 'maintain', 'write'].includes(perm)) {
96 console.log(`${sender} has ${perm} permission — treating as maintainer`);
97 return { isMember: true, login: sender };
+ 21 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.