[{"data":1,"prerenderedAt":1981},["ShallowReactive",2],{"navigation_docs":3,"-providers-github":199,"-providers-github-surround":1976},[4,23,65,87,133,159,177],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Guides","i-lucide-compass","\u002Fguides","2.guides",[29,33,37,41,45,49,53,57,61],{"title":30,"path":31,"stem":32},"Authenticate","\u002Fguides\u002Fauthentication","2.guides\u002F1.authentication",{"title":34,"path":35,"stem":36},"Work with several forges","\u002Fguides\u002Fmultiple-forges","2.guides\u002F2.multiple-forges",{"title":38,"path":39,"stem":40},"Configure from the environment","\u002Fguides\u002Fenvironment","2.guides\u002F3.environment",{"title":42,"path":43,"stem":44},"Receive webhooks","\u002Fguides\u002Fwebhooks","2.guides\u002F4.webhooks",{"title":46,"path":47,"stem":48},"Check what a forge supports","\u002Fguides\u002Fcapabilities","2.guides\u002F5.capabilities",{"title":50,"path":51,"stem":52},"Handle errors and rate limits","\u002Fguides\u002Ferrors","2.guides\u002F6.errors",{"title":54,"path":55,"stem":56},"Page through results","\u002Fguides\u002Fpagination","2.guides\u002F7.pagination",{"title":58,"path":59,"stem":60},"Browser bundles","\u002Fguides\u002Fbundling","2.guides\u002F8.bundling",{"title":62,"path":63,"stem":64},"Test your code","\u002Fguides\u002Ftesting","2.guides\u002F9.testing",{"title":66,"icon":67,"path":68,"stem":69,"children":70,"page":22},"Concepts","i-lucide-lightbulb","\u002Fconcepts","3.concepts",[71,75,79,83],{"title":72,"path":73,"stem":74},"Data model","\u002Fconcepts\u002Fdata-model","3.concepts\u002F1.data-model",{"title":76,"path":77,"stem":78},"Capabilities","\u002Fconcepts\u002Fcapabilities","3.concepts\u002F2.capabilities",{"title":80,"path":81,"stem":82},"Providers and factories","\u002Fconcepts\u002Fproviders","3.concepts\u002F3.providers",{"title":84,"path":85,"stem":86},"Events","\u002Fconcepts\u002Fevents","3.concepts\u002F4.events",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":22},"Providers","i-lucide-server","\u002Fproviders","4.providers",[93,97,101,105,109,113,117,121,125,129],{"title":94,"path":95,"stem":96},"Azure DevOps","\u002Fproviders\u002Fazure-devops","4.providers\u002Fazure-devops",{"title":98,"path":99,"stem":100},"Bitbucket Cloud","\u002Fproviders\u002Fbitbucket","4.providers\u002Fbitbucket",{"title":102,"path":103,"stem":104},"Cursor Origin","\u002Fproviders\u002Fcursor-origin","4.providers\u002Fcursor-origin",{"title":106,"path":107,"stem":108},"Forgejo and Codeberg","\u002Fproviders\u002Fforgejo","4.providers\u002Fforgejo",{"title":110,"path":111,"stem":112},"Gitea","\u002Fproviders\u002Fgitea","4.providers\u002Fgitea",{"title":114,"path":115,"stem":116},"Gitee","\u002Fproviders\u002Fgitee","4.providers\u002Fgitee",{"title":118,"path":119,"stem":120},"GitHub","\u002Fproviders\u002Fgithub","4.providers\u002Fgithub",{"title":122,"path":123,"stem":124},"GitLab","\u002Fproviders\u002Fgitlab","4.providers\u002Fgitlab",{"title":126,"path":127,"stem":128},"pushin.eu","\u002Fproviders\u002Fpushin","4.providers\u002Fpushin",{"title":130,"path":131,"stem":132},"Tangled","\u002Fproviders\u002Ftangled","4.providers\u002Ftangled",{"title":134,"icon":135,"path":136,"stem":137,"children":138,"page":22},"Reference","i-lucide-book-marked","\u002Freference","5.reference",[139,143,147,151,155],{"title":140,"path":141,"stem":142},"Provider API","\u002Freference\u002Fprovider-api","5.reference\u002F1.provider-api",{"title":144,"path":145,"stem":146},"Capability matrix","\u002Freference\u002Fcapability-matrix","5.reference\u002F2.capability-matrix",{"title":148,"path":149,"stem":150},"Errors","\u002Freference\u002Ferrors","5.reference\u002F3.errors",{"title":152,"path":153,"stem":154},"Environment variables","\u002Freference\u002Fenvironment-variables","5.reference\u002F4.environment-variables",{"title":156,"path":157,"stem":158},"JSON Schemas","\u002Freference\u002Fjson-schemas","5.reference\u002F5.json-schemas",{"title":160,"icon":161,"path":162,"stem":163,"children":164,"page":22},"Examples","i-lucide-boxes","\u002Fexamples","6.examples",[165,169,173],{"title":166,"path":167,"stem":168},"Inbox CLI","\u002Fexamples\u002Finbox-cli","6.examples\u002F1.inbox-cli",{"title":170,"path":171,"stem":172},"Label bot","\u002Fexamples\u002Flabel-bot","6.examples\u002F2.label-bot",{"title":174,"path":175,"stem":176},"Release digest","\u002Fexamples\u002Frelease-digest","6.examples\u002F3.release-digest",{"title":178,"icon":179,"path":180,"stem":181,"children":182,"page":22},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","7.contributing",[183,187,191,195],{"title":184,"path":185,"stem":186},"Contribution guide","\u002Fcontributing\u002Fguidelines","7.contributing\u002F1.guidelines",{"title":188,"path":189,"stem":190},"Write a provider","\u002Fcontributing\u002Fwrite-a-provider","7.contributing\u002F2.write-a-provider",{"title":192,"path":193,"stem":194},"Record fixtures","\u002Fcontributing\u002Frecord-fixtures","7.contributing\u002F3.record-fixtures",{"title":196,"path":197,"stem":198},"Contributors","\u002Fcontributing\u002Fcontributors","7.contributing\u002F4.contributors",{"id":200,"title":118,"body":201,"description":1969,"extension":1970,"links":1971,"meta":1972,"navigation":323,"path":119,"seo":1974,"stem":120,"__hash__":1975},"docs\u002F4.providers\u002Fgithub.md",{"type":202,"value":203,"toc":1957},"minimark",[204,208,269,274,277,532,554,561,565,576,635,638,648,662,666,679,692,715,729,735,738,744,762,766,777,781,799,803,810,816,820,842,852,856,862,989,992,1039,1051,1055,1066,1088,1091,1098,1953],[205,206,207],"p",{},"The GitHub provider covers github.com and GitHub Enterprise Server. It reads and writes issues, pull requests, discussions and commit comments. It also covers notifications, Actions runs and jobs, checks, releases, security alerts, webhooks and GitHub App installations.",[209,210,211,224],"table",{},[212,213,214],"thead",{},[215,216,217,221],"tr",{},[218,219,220],"th",{},"Detail",[218,222,223],{},"Value",[225,226,227,239,253],"tbody",{},[215,228,229,233],{},[230,231,232],"td",{},"Import",[230,234,235],{},[236,237,238],"code",{},"forges\u002Fgithub",[215,240,241,244],{},[230,242,243],{},"Factories",[230,245,246,249,250],{},[236,247,248],{},"github()",", ",[236,251,252],{},"githubLite()",[215,254,255,258],{},[230,256,257],{},"Auth",[230,259,260,249,263,249,266],{},[236,261,262],{},"token",[236,264,265],{},"app",[236,267,268],{},"anonymous",[270,271,273],"h2",{"id":272},"authentication","Authentication",[205,275,276],{},"The provider accepts a personal access token (classic or fine-grained), an OAuth token or GitHub App credentials:",[278,279,284],"pre",{"className":280,"code":281,"language":282,"meta":283,"style":283},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { github } from 'forges\u002Fgithub'\n\nconst forge = github({\n  auth: { type: 'token', token: process.env.GITHUB_TOKEN! },\n}).create()\n\nconst app = github({\n  auth: {\n    type: 'app',\n    appId: 123456,\n    privateKey: process.env.GITHUB_APP_PRIVATE_KEY!,\n    installationId: 7890,\n  },\n}).create()\n","ts","",[236,285,286,318,325,347,399,416,421,437,447,464,478,500,513,519],{"__ignoreMap":283},[287,288,291,295,299,303,306,309,312,315],"span",{"class":289,"line":290},"line",1,[287,292,294],{"class":293},"s7zQu","import",[287,296,298],{"class":297},"sMK4o"," {",[287,300,302],{"class":301},"sTEyZ"," github",[287,304,305],{"class":297}," }",[287,307,308],{"class":293}," from",[287,310,311],{"class":297}," '",[287,313,238],{"class":314},"sfazB",[287,316,317],{"class":297},"'\n",[287,319,321],{"class":289,"line":320},2,[287,322,324],{"emptyLinePlaceholder":323},true,"\n",[287,326,328,332,335,338,341,344],{"class":289,"line":327},3,[287,329,331],{"class":330},"spNyl","const",[287,333,334],{"class":301}," forge ",[287,336,337],{"class":297},"=",[287,339,302],{"class":340},"s2Zo4",[287,342,343],{"class":301},"(",[287,345,346],{"class":297},"{\n",[287,348,350,354,357,359,362,364,366,368,371,374,377,379,382,385,388,390,393,396],{"class":289,"line":349},4,[287,351,353],{"class":352},"swJcz","  auth",[287,355,356],{"class":297},":",[287,358,298],{"class":297},[287,360,361],{"class":352}," type",[287,363,356],{"class":297},[287,365,311],{"class":297},[287,367,262],{"class":314},[287,369,370],{"class":297},"'",[287,372,373],{"class":297},",",[287,375,376],{"class":352}," token",[287,378,356],{"class":297},[287,380,381],{"class":301}," process",[287,383,384],{"class":297},".",[287,386,387],{"class":301},"env",[287,389,384],{"class":297},[287,391,392],{"class":301},"GITHUB_TOKEN",[287,394,395],{"class":297},"!",[287,397,398],{"class":297}," },\n",[287,400,402,405,408,410,413],{"class":289,"line":401},5,[287,403,404],{"class":297},"}",[287,406,407],{"class":301},")",[287,409,384],{"class":297},[287,411,412],{"class":340},"create",[287,414,415],{"class":301},"()\n",[287,417,419],{"class":289,"line":418},6,[287,420,324],{"emptyLinePlaceholder":323},[287,422,424,426,429,431,433,435],{"class":289,"line":423},7,[287,425,331],{"class":330},[287,427,428],{"class":301}," app ",[287,430,337],{"class":297},[287,432,302],{"class":340},[287,434,343],{"class":301},[287,436,346],{"class":297},[287,438,440,442,444],{"class":289,"line":439},8,[287,441,353],{"class":352},[287,443,356],{"class":297},[287,445,446],{"class":297}," {\n",[287,448,450,453,455,457,459,461],{"class":289,"line":449},9,[287,451,452],{"class":352},"    type",[287,454,356],{"class":297},[287,456,311],{"class":297},[287,458,265],{"class":314},[287,460,370],{"class":297},[287,462,463],{"class":297},",\n",[287,465,467,470,472,476],{"class":289,"line":466},10,[287,468,469],{"class":352},"    appId",[287,471,356],{"class":297},[287,473,475],{"class":474},"sbssI"," 123456",[287,477,463],{"class":297},[287,479,481,484,486,488,490,492,494,497],{"class":289,"line":480},11,[287,482,483],{"class":352},"    privateKey",[287,485,356],{"class":297},[287,487,381],{"class":301},[287,489,384],{"class":297},[287,491,387],{"class":301},[287,493,384],{"class":297},[287,495,496],{"class":301},"GITHUB_APP_PRIVATE_KEY",[287,498,499],{"class":297},"!,\n",[287,501,503,506,508,511],{"class":289,"line":502},12,[287,504,505],{"class":352},"    installationId",[287,507,356],{"class":297},[287,509,510],{"class":474}," 7890",[287,512,463],{"class":297},[287,514,516],{"class":289,"line":515},13,[287,517,518],{"class":297},"  },\n",[287,520,522,524,526,528,530],{"class":289,"line":521},14,[287,523,404],{"class":297},[287,525,407],{"class":301},[287,527,384],{"class":297},[287,529,412],{"class":340},[287,531,415],{"class":301},[205,533,534,535,538,539,542,543,545,546,549,550,553],{},"For app auth, ",[236,536,537],{},"privateKey"," is the app's PEM key, in PKCS#1 or PKCS#8 format. With ",[236,540,541],{},"installationId",", the provider mints and caches installation tokens as it needs them. Without ",[236,544,541],{},", the provider authenticates as the app itself. In that case, ",[236,547,548],{},"installations.list()"," lists the app's installations, and ",[236,551,552],{},"installations.provider(installation)"," returns a provider for one installation.",[205,555,556,557,560],{},"Without ",[236,558,559],{},"auth",", the provider makes anonymous public reads.",[270,562,564],{"id":563},"github-enterprise-server","GitHub Enterprise Server",[205,566,567,568,571,572,575],{},"Set ",[236,569,570],{},"baseUrl"," to the API root of the server. The ",[236,573,574],{},"instance"," in every ref is the server's host:",[278,577,579],{"className":280,"code":578,"language":282,"meta":283,"style":283},"github({\n  baseUrl: 'https:\u002F\u002Fghe.example.com\u002Fapi\u002Fv3',\n  auth,\n  instanceVersion: '3.14.0',\n})\n",[236,580,581,590,606,612,628],{"__ignoreMap":283},[287,582,583,586,588],{"class":289,"line":290},[287,584,585],{"class":340},"github",[287,587,343],{"class":301},[287,589,346],{"class":297},[287,591,592,595,597,599,602,604],{"class":289,"line":320},[287,593,594],{"class":352},"  baseUrl",[287,596,356],{"class":297},[287,598,311],{"class":297},[287,600,601],{"class":314},"https:\u002F\u002Fghe.example.com\u002Fapi\u002Fv3",[287,603,370],{"class":297},[287,605,463],{"class":297},[287,607,608,610],{"class":289,"line":327},[287,609,353],{"class":301},[287,611,463],{"class":297},[287,613,614,617,619,621,624,626],{"class":289,"line":349},[287,615,616],{"class":352},"  instanceVersion",[287,618,356],{"class":297},[287,620,311],{"class":297},[287,622,623],{"class":314},"3.14.0",[287,625,370],{"class":297},[287,627,463],{"class":297},[287,629,630,632],{"class":289,"line":401},[287,631,404],{"class":297},[287,633,634],{"class":301},")\n",[205,636,637],{},"Two capabilities depend on the server version:",[639,640,641,645],"ul",{},[642,643,644],"li",{},"Marking notifications done requires 3.13 or later.",[642,646,647],{},"Dependabot alerts require 3.8 or later.",[205,649,650,651,654,655,658,659,384],{},"Pass ",[236,652,653],{},"instanceVersion"," if you know the version. Otherwise, ",[236,656,657],{},"refreshCapabilities()"," reads it from ",[236,660,661],{},"\u002Fmeta",[270,663,665],{"id":664},"merging","Merging",[205,667,668,669,249,672,675,676,384],{},"If you don't pass ",[236,670,671],{},"method",[236,673,674],{},"merge()"," reads the repository's allowed merge methods. When exactly one method is allowed, it uses that method. When several are allowed, it throws ",[236,677,678],{},"MergeMethodRequiredError",[205,680,681,683,684,687,688,691],{},[236,682,674],{}," and ",[236,685,686],{},"approveAndMerge()"," request a direct merge through GitHub's asynchronous merge API, so neither adds the pull request to a merge queue. Both wait for the result, within the provider's ",[236,689,690],{},"timeout"," (30 seconds by default), and resolve once GitHub reports the pull request merged, including when it was already merged. Otherwise, they reject with one of these errors:",[639,693,694,700,706],{},[642,695,696,699],{},[236,697,698],{},"MergeBlockedError"," when GitHub refuses or fails the merge, for example for a draft, a failing required check or a pull request already in a merge queue. When GitHub reports a failed merge, the error message is GitHub's description of the failure.",[642,701,702,705],{},[236,703,704],{},"MergeConflictError"," when GitHub responds with a conflict status that names no pending merge request.",[642,707,708,711,712,714],{},[236,709,710],{},"ForgeTimeoutError"," when the merge is still pending after ",[236,713,690],{},". The message includes the merge request's UUID. GitHub can still complete the merge after this error, so read the pull request's state before you retry.",[205,716,717,718,721,722,724,725,728],{},"If a direct merge with the same method is already pending, and it expects the same head sha when you pass ",[236,719,720],{},"sha",", the operation waits for that request instead. A pending request with different options rejects with ",[236,723,698],{},". Supplying ",[236,726,727],{},"message"," also prevents adopting a pending request because GitHub doesn't return its commit message.",[205,730,731,732,734],{},"When the pull request is part of a stack, GitHub also merges every open pull request below it in the stack. ",[236,733,686],{}," approves only the pull request you pass.",[205,736,737],{},"GitHub Enterprise Server releases without the asynchronous merge API use the synchronous merge endpoint instead. That endpoint doesn't support stacked pull requests.",[205,739,740,741,356],{},"These options reject with ",[236,742,743],{},"UnsupportedOperationError",[639,745,746,752],{},[642,747,748,751],{},[236,749,750],{},"whenChecksPass",", because the REST API doesn't enable auto-merge.",[642,753,754,755,683,758,761],{},"The ",[236,756,757],{},"rebase_merge",[236,759,760],{},"fast_forward_only"," methods, which GitHub doesn't have.",[270,763,765],{"id":764},"checks","Checks",[205,767,768,769,772,773,776],{},"With an app installation credential, ",[236,770,771],{},"checks.report()"," writes a check run. With any other credential, it writes a commit status. ",[236,774,775],{},"checks.rerun()"," re-requests a check run. Commit statuses can't be re-run.",[270,778,780],{"id":779},"large-files-and-trees","Large files and trees",[205,782,783,786,787,790,791,794,795,798],{},[236,784,785],{},"contents.file()"," reads files over 1 MB through the Git blobs API, so these files have ",[236,788,789],{},"encoding: 'none'",". When GitHub truncates a large tree, ",[236,792,793],{},"contents.tree()"," adds a ",[236,796,797],{},"tree_truncated"," warning.",[270,800,802],{"id":801},"search","Search",[205,804,805,806,809],{},"GitHub gives search a lower rate limit than the rest of the API. Commit search has its own limit, separate from issue and repository search. After a search, ",[236,807,808],{},"page.rateLimit"," reports the limit that the search used.",[205,811,812,813,798],{},"Repository search can't sort by creation time. A request for that sort order returns results by relevance, with a ",[236,814,815],{},"sort_unsupported",[270,817,819],{"id":818},"webhook-management","Webhook management",[205,821,822,823,826,827,830,831,834,835,838,839,384],{},"GitHub responds with ",[236,824,825],{},"404"," on its webhook endpoints when the credential lacks ",[236,828,829],{},"admin:repo_hook"," or ",[236,832,833],{},"admin:org_hook",". The provider raises this response as ",[236,836,837],{},"ForbiddenError"," with ",[236,840,841],{},"reason: 'resource_protected'",[205,843,844,847,848,851],{},[236,845,846],{},"webhooks.deliveries()"," reads a hook's delivery log, and ",[236,849,850],{},"webhooks.redeliver()"," sends a delivery again.",[270,853,855],{"id":854},"webhooks","Webhooks",[205,857,567,858,861],{},[236,859,860],{},"webhookSecret"," to the secret configured on the hook:",[278,863,865],{"className":280,"code":864,"language":282,"meta":283,"style":283},"const forge = github({\n  webhookSecret: process.env.GITHUB_WEBHOOK_SECRET,\n}).create()\n\nconst events = await forge.webhooks.ingest({\n  headers: request.headers,\n  body: await request.text(),\n})\n",[236,866,867,881,901,913,917,945,962,983],{"__ignoreMap":283},[287,868,869,871,873,875,877,879],{"class":289,"line":290},[287,870,331],{"class":330},[287,872,334],{"class":301},[287,874,337],{"class":297},[287,876,302],{"class":340},[287,878,343],{"class":301},[287,880,346],{"class":297},[287,882,883,886,888,890,892,894,896,899],{"class":289,"line":320},[287,884,885],{"class":352},"  webhookSecret",[287,887,356],{"class":297},[287,889,381],{"class":301},[287,891,384],{"class":297},[287,893,387],{"class":301},[287,895,384],{"class":297},[287,897,898],{"class":301},"GITHUB_WEBHOOK_SECRET",[287,900,463],{"class":297},[287,902,903,905,907,909,911],{"class":289,"line":327},[287,904,404],{"class":297},[287,906,407],{"class":301},[287,908,384],{"class":297},[287,910,412],{"class":340},[287,912,415],{"class":301},[287,914,915],{"class":289,"line":349},[287,916,324],{"emptyLinePlaceholder":323},[287,918,919,921,924,926,929,932,934,936,938,941,943],{"class":289,"line":401},[287,920,331],{"class":330},[287,922,923],{"class":301}," events ",[287,925,337],{"class":297},[287,927,928],{"class":293}," await",[287,930,931],{"class":301}," forge",[287,933,384],{"class":297},[287,935,854],{"class":301},[287,937,384],{"class":297},[287,939,940],{"class":340},"ingest",[287,942,343],{"class":301},[287,944,346],{"class":297},[287,946,947,950,952,955,957,960],{"class":289,"line":418},[287,948,949],{"class":352},"  headers",[287,951,356],{"class":297},[287,953,954],{"class":301}," request",[287,956,384],{"class":297},[287,958,959],{"class":301},"headers",[287,961,463],{"class":297},[287,963,964,967,969,971,973,975,978,981],{"class":289,"line":423},[287,965,966],{"class":352},"  body",[287,968,356],{"class":297},[287,970,928],{"class":293},[287,972,954],{"class":301},[287,974,384],{"class":297},[287,976,977],{"class":340},"text",[287,979,980],{"class":301},"()",[287,982,463],{"class":297},[287,984,985,987],{"class":289,"line":439},[287,986,404],{"class":297},[287,988,634],{"class":301},[205,990,991],{},"GitHub sends these headers with each delivery:",[209,993,994,1004],{},[212,995,996],{},[215,997,998,1001],{},[218,999,1000],{},"Header",[218,1002,1003],{},"Content",[225,1005,1006,1019,1029],{},[215,1007,1008,1013],{},[230,1009,1010],{},[236,1011,1012],{},"X-Hub-Signature-256",[230,1014,1015,1018],{},[236,1016,1017],{},"sha256="," followed by the hex HMAC-SHA256 of the body",[215,1020,1021,1026],{},[230,1022,1023],{},[236,1024,1025],{},"X-GitHub-Event",[230,1027,1028],{},"The event name",[215,1030,1031,1036],{},[230,1032,1033],{},[236,1034,1035],{},"X-GitHub-Delivery",[230,1037,1038],{},"The delivery ID",[205,1040,1041,683,1044,1047,1048,1050],{},[236,1042,1043],{},"installation",[236,1045,1046],{},"installation_repositories"," deliveries become ",[236,1049,1043],{}," events.",[270,1052,1054],{"id":1053},"recording-fixtures","Recording fixtures",[278,1056,1060],{"className":1057,"code":1058,"language":1059,"meta":283,"style":283},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GITHUB_TOKEN=ghp_... pnpm record-fixtures github\n","sh",[236,1061,1062],{"__ignoreMap":283},[287,1063,1064],{"class":289,"line":290},[287,1065,1058],{},[205,1067,1068,1069,249,1072,249,1075,249,1078,830,1081,1084,1085,384],{},"To record different targets, set ",[236,1070,1071],{},"FIXTURE_GITHUB_REPO",[236,1073,1074],{},"FIXTURE_GITHUB_PULL",[236,1076,1077],{},"FIXTURE_GITHUB_ISSUE",[236,1079,1080],{},"FIXTURE_GITHUB_DISCUSSION_REPO",[236,1082,1083],{},"FIXTURE_GITHUB_DISCUSSION",". To record a GitHub Enterprise Server instance, set ",[236,1086,1087],{},"GITHUB_BASE_URL",[270,1089,76],{"id":1090},"capabilities",[205,1092,1093,1094,1097],{},"Generated by ",[236,1095,1096],{},"pnpm capability-matrix","; do not edit by hand.",[209,1099,1100,1110],{},[212,1101,1102],{},[215,1103,1104,1107],{},[218,1105,1106],{},"Capability",[218,1108,1109],{},"Support",[225,1111,1112,1122,1132,1141,1150,1159,1168,1177,1186,1195,1204,1213,1222,1231,1240,1250,1260,1270,1279,1288,1298,1307,1316,1325,1334,1343,1352,1361,1370,1379,1389,1399,1408,1418,1428,1438,1448,1457,1466,1476,1485,1494,1504,1513,1522,1531,1540,1549,1558,1567,1576,1585,1594,1603,1612,1621,1630,1639,1648,1657,1666,1675,1684,1693,1702,1711,1720,1729,1738,1747,1756,1765,1774,1783,1792,1801,1810,1819,1828,1837,1846,1855,1864,1873,1882,1891,1900,1909,1919,1929,1943],{},[215,1113,1114,1119],{},[230,1115,1116],{},[236,1117,1118],{},"experimental",[230,1120,1121],{},"❌",[215,1123,1124,1129],{},[230,1125,1126],{},[236,1127,1128],{},"sources.poll",[230,1130,1131],{},"✅",[215,1133,1134,1139],{},[230,1135,1136],{},[236,1137,1138],{},"sources.webhook",[230,1140,1131],{},[215,1142,1143,1148],{},[230,1144,1145],{},[236,1146,1147],{},"sources.subscribe",[230,1149,1121],{},[215,1151,1152,1157],{},[230,1153,1154],{},[236,1155,1156],{},"repos.get",[230,1158,1131],{},[215,1160,1161,1166],{},[230,1162,1163],{},[236,1164,1165],{},"users.get",[230,1167,1131],{},[215,1169,1170,1175],{},[230,1171,1172],{},[236,1173,1174],{},"repos.list",[230,1176,1131],{},[215,1178,1179,1184],{},[230,1180,1181],{},[236,1182,1183],{},"repos.labels",[230,1185,1131],{},[215,1187,1188,1193],{},[230,1189,1190],{},[236,1191,1192],{},"repos.createLabel",[230,1194,1118],{},[215,1196,1197,1202],{},[230,1198,1199],{},[236,1200,1201],{},"repos.milestones",[230,1203,1131],{},[215,1205,1206,1211],{},[230,1207,1208],{},[236,1209,1210],{},"repos.collaborators",[230,1212,1131],{},[215,1214,1215,1220],{},[230,1216,1217],{},[236,1218,1219],{},"repos.permissionFor",[230,1221,1131],{},[215,1223,1224,1229],{},[230,1225,1226],{},[236,1227,1228],{},"repos.addCollaborator",[230,1230,1118],{},[215,1232,1233,1238],{},[230,1234,1235],{},[236,1236,1237],{},"repos.assignableUsers",[230,1239,1131],{},[215,1241,1242,1247],{},[230,1243,1244],{},[236,1245,1246],{},"repos.reviewerCandidates",[230,1248,1249],{},"emulated",[215,1251,1252,1257],{},[230,1253,1254],{},[236,1255,1256],{},"threads.get",[230,1258,1259],{},"issue, PR, discussion, commit (experimental)",[215,1261,1262,1267],{},[230,1263,1264],{},[236,1265,1266],{},"threads.list",[230,1268,1269],{},"issue, PR, discussion",[215,1271,1272,1277],{},[230,1273,1274],{},[236,1275,1276],{},"threads.getMany",[230,1278,1131],{},[215,1280,1281,1286],{},[230,1282,1283],{},[236,1284,1285],{},"comments.list",[230,1287,1259],{},[215,1289,1290,1295],{},[230,1291,1292],{},[236,1293,1294],{},"comments.edit",[230,1296,1297],{},"issue (experimental), PR, discussion (experimental), commit (experimental)",[215,1299,1300,1305],{},[230,1301,1302],{},[236,1303,1304],{},"comments.delete",[230,1306,1297],{},[215,1308,1309,1314],{},[230,1310,1311],{},[236,1312,1313],{},"reactions.list",[230,1315,1269],{},[215,1317,1318,1323],{},[230,1319,1320],{},[236,1321,1322],{},"notifications.list",[230,1324,1131],{},[215,1326,1327,1332],{},[230,1328,1329],{},[236,1330,1331],{},"notifications.markRead",[230,1333,1131],{},[215,1335,1336,1341],{},[230,1337,1338],{},[236,1339,1340],{},"notifications.markDone",[230,1342,1131],{},[215,1344,1345,1350],{},[230,1346,1347],{},[236,1348,1349],{},"notifications.unsubscribe",[230,1351,1131],{},[215,1353,1354,1359],{},[230,1355,1356],{},[236,1357,1358],{},"notifications.markAllRead",[230,1360,1131],{},[215,1362,1363,1368],{},[230,1364,1365],{},[236,1366,1367],{},"notifications.markAllDone",[230,1369,1121],{},[215,1371,1372,1377],{},[230,1373,1374],{},[236,1375,1376],{},"notifications.unreadCount",[230,1378,1121],{},[215,1380,1381,1386],{},[230,1382,1383],{},[236,1384,1385],{},"writes.comment",[230,1387,1388],{},"issue (experimental), PR, discussion, commit (experimental)",[215,1390,1391,1396],{},[230,1392,1393],{},[236,1394,1395],{},"writes.upsertComment",[230,1397,1398],{},"issue (emulated), PR (emulated), discussion (emulated), commit (emulated)",[215,1400,1401,1406],{},[230,1402,1403],{},[236,1404,1405],{},"writes.close",[230,1407,1269],{},[215,1409,1410,1415],{},[230,1411,1412],{},[236,1413,1414],{},"writes.reopen",[230,1416,1417],{},"issue (experimental), PR, discussion",[215,1419,1420,1425],{},[230,1421,1422],{},[236,1423,1424],{},"writes.create",[230,1426,1427],{},"issue, PR (experimental)",[215,1429,1430,1435],{},[230,1431,1432],{},[236,1433,1434],{},"writes.update",[230,1436,1437],{},"issue (experimental), PR, discussion (experimental)",[215,1439,1440,1445],{},[230,1441,1442],{},[236,1443,1444],{},"writes.setLabels",[230,1446,1447],{},"issue (experimental), PR",[215,1449,1450,1455],{},[230,1451,1452],{},[236,1453,1454],{},"writes.addLabels",[230,1456,1447],{},[215,1458,1459,1464],{},[230,1460,1461],{},[236,1462,1463],{},"writes.removeLabels",[230,1465,1447],{},[215,1467,1468,1473],{},[230,1469,1470],{},[236,1471,1472],{},"writes.setMilestone",[230,1474,1475],{},"issue (experimental), PR (experimental)",[215,1477,1478,1483],{},[230,1479,1480],{},[236,1481,1482],{},"writes.react",[230,1484,1437],{},[215,1486,1487,1492],{},[230,1488,1489],{},[236,1490,1491],{},"writes.setAssignees",[230,1493,1447],{},[215,1495,1496,1501],{},[230,1497,1498],{},[236,1499,1500],{},"writes.requestReview",[230,1502,1503],{},"PR",[215,1505,1506,1511],{},[230,1507,1508],{},[236,1509,1510],{},"writes.merge",[230,1512,1131],{},[215,1514,1515,1520],{},[230,1516,1517],{},[236,1518,1519],{},"writes.approveAndMerge",[230,1521,1131],{},[215,1523,1524,1529],{},[230,1525,1526],{},[236,1527,1528],{},"writes.transfer",[230,1530,1118],{},[215,1532,1533,1538],{},[230,1534,1535],{},[236,1536,1537],{},"writes.markDuplicate",[230,1539,1118],{},[215,1541,1542,1547],{},[230,1543,1544],{},[236,1545,1546],{},"subscriptions.get",[230,1548,1269],{},[215,1550,1551,1556],{},[230,1552,1553],{},[236,1554,1555],{},"subscriptions.set",[230,1557,1269],{},[215,1559,1560,1565],{},[230,1561,1562],{},[236,1563,1564],{},"installations",[230,1566,1131],{},[215,1568,1569,1574],{},[230,1570,1571],{},[236,1572,1573],{},"checks.thread",[230,1575,1503],{},[215,1577,1578,1583],{},[230,1579,1580],{},[236,1581,1582],{},"checks.list",[230,1584,1131],{},[215,1586,1587,1592],{},[230,1588,1589],{},[236,1590,1591],{},"checks.report",[230,1593,1131],{},[215,1595,1596,1601],{},[230,1597,1598],{},[236,1599,1600],{},"checks.rerun",[230,1602,1131],{},[215,1604,1605,1610],{},[230,1606,1607],{},[236,1608,1609],{},"ci.runs",[230,1611,1131],{},[215,1613,1614,1619],{},[230,1615,1616],{},[236,1617,1618],{},"ci.run",[230,1620,1131],{},[215,1622,1623,1628],{},[230,1624,1625],{},[236,1626,1627],{},"ci.jobs",[230,1629,1131],{},[215,1631,1632,1637],{},[230,1633,1634],{},[236,1635,1636],{},"ci.log",[230,1638,1131],{},[215,1640,1641,1646],{},[230,1642,1643],{},[236,1644,1645],{},"contents.file",[230,1647,1131],{},[215,1649,1650,1655],{},[230,1651,1652],{},[236,1653,1654],{},"contents.tree",[230,1656,1131],{},[215,1658,1659,1664],{},[230,1660,1661],{},[236,1662,1663],{},"contents.branches",[230,1665,1131],{},[215,1667,1668,1673],{},[230,1669,1670],{},[236,1671,1672],{},"contents.tags",[230,1674,1131],{},[215,1676,1677,1682],{},[230,1678,1679],{},[236,1680,1681],{},"contents.resolveRef",[230,1683,1131],{},[215,1685,1686,1691],{},[230,1687,1688],{},[236,1689,1690],{},"contents.commits",[230,1692,1131],{},[215,1694,1695,1700],{},[230,1696,1697],{},[236,1698,1699],{},"contents.commit",[230,1701,1131],{},[215,1703,1704,1709],{},[230,1705,1706],{},[236,1707,1708],{},"contents.compare",[230,1710,1131],{},[215,1712,1713,1718],{},[230,1714,1715],{},[236,1716,1717],{},"contents.threadFiles",[230,1719,1131],{},[215,1721,1722,1727],{},[230,1723,1724],{},[236,1725,1726],{},"contents.threadCommits",[230,1728,1131],{},[215,1730,1731,1736],{},[230,1732,1733],{},[236,1734,1735],{},"reviews.list",[230,1737,1131],{},[215,1739,1740,1745],{},[230,1741,1742],{},[236,1743,1744],{},"reviews.create",[230,1746,1131],{},[215,1748,1749,1754],{},[230,1750,1751],{},[236,1752,1753],{},"reviews.submit",[230,1755,1131],{},[215,1757,1758,1763],{},[230,1759,1760],{},[236,1761,1762],{},"reviews.approve",[230,1764,1131],{},[215,1766,1767,1772],{},[230,1768,1769],{},[236,1770,1771],{},"reviews.resolveThread",[230,1773,1131],{},[215,1775,1776,1781],{},[230,1777,1778],{},[236,1779,1780],{},"releases.list",[230,1782,1131],{},[215,1784,1785,1790],{},[230,1786,1787],{},[236,1788,1789],{},"releases.get",[230,1791,1131],{},[215,1793,1794,1799],{},[230,1795,1796],{},[236,1797,1798],{},"releases.latest",[230,1800,1131],{},[215,1802,1803,1808],{},[230,1804,1805],{},[236,1806,1807],{},"releases.getByTag",[230,1809,1131],{},[215,1811,1812,1817],{},[230,1813,1814],{},[236,1815,1816],{},"releases.downloadAsset",[230,1818,1131],{},[215,1820,1821,1826],{},[230,1822,1823],{},[236,1824,1825],{},"webhooks.list",[230,1827,1131],{},[215,1829,1830,1835],{},[230,1831,1832],{},[236,1833,1834],{},"webhooks.create",[230,1836,1131],{},[215,1838,1839,1844],{},[230,1840,1841],{},[236,1842,1843],{},"webhooks.update",[230,1845,1131],{},[215,1847,1848,1853],{},[230,1849,1850],{},[236,1851,1852],{},"webhooks.delete",[230,1854,1131],{},[215,1856,1857,1862],{},[230,1858,1859],{},[236,1860,1861],{},"webhooks.rotateSecret",[230,1863,1118],{},[215,1865,1866,1871],{},[230,1867,1868],{},[236,1869,1870],{},"webhooks.deliveries",[230,1872,1131],{},[215,1874,1875,1880],{},[230,1876,1877],{},[236,1878,1879],{},"webhooks.redeliver",[230,1881,1131],{},[215,1883,1884,1889],{},[230,1885,1886],{},[236,1887,1888],{},"search.threads",[230,1890,1131],{},[215,1892,1893,1898],{},[230,1894,1895],{},[236,1896,1897],{},"search.repos",[230,1899,1131],{},[215,1901,1902,1907],{},[230,1903,1904],{},[236,1905,1906],{},"search.commits",[230,1908,1131],{},[215,1910,1911,1916],{},[230,1912,1913],{},[236,1914,1915],{},"securityAlerts",[230,1917,1918],{},"dependency (experimental), code scanning (experimental), secret (experimental)",[215,1920,1921,1926],{},[230,1922,1923],{},[236,1924,1925],{},"eventKinds",[230,1927,1928],{},"native",[215,1930,1931,1935],{},[230,1932,1933],{},[236,1934,559],{},[230,1936,1937,249,1939,249,1941],{},[236,1938,262],{},[236,1940,265],{},[236,1942,268],{},[215,1944,1945,1950],{},[230,1946,1947],{},[236,1948,1949],{},"limits",[230,1951,1952],{},"body 65536, comment 65536, label 50",[1954,1955,1956],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":283,"searchDepth":320,"depth":320,"links":1958},[1959,1960,1961,1962,1963,1964,1965,1966,1967,1968],{"id":272,"depth":320,"text":273},{"id":563,"depth":320,"text":564},{"id":664,"depth":320,"text":665},{"id":764,"depth":320,"text":765},{"id":779,"depth":320,"text":780},{"id":801,"depth":320,"text":802},{"id":818,"depth":320,"text":819},{"id":854,"depth":320,"text":855},{"id":1053,"depth":320,"text":1054},{"id":1090,"depth":320,"text":76},"Use github.com and GitHub Enterprise Server: issues, pull requests, discussions, notifications, Actions, checks, releases and webhooks.","md",null,{"icon":1973},"i-simple-icons-github",{"title":118,"description":1969},"6g7WCpGQ5vffzDDQpx_p2S-9zuQdC-MsdmkCEyI90FA",[1977,1979],{"title":114,"path":115,"stem":116,"description":1978,"children":-1},"Use gitee.com through the Gitee Open API v5: issues, pull requests, notifications, releases and webhooks.",{"title":122,"path":123,"stem":124,"description":1980,"children":-1},"Use gitlab.com and self-managed GitLab: issues, merge requests, to-dos, pipelines, releases and webhooks.",1791296689727]