From 851f138c498ffc01ed06f376b43921d529c0ccaf Mon Sep 17 00:00:00 2001 From: Andrew Musgrave Date: Mon, 9 Sep 2019 15:36:38 -0400 Subject: [PATCH] Update --- dist/index.js | 2 +- index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 14d1ac8..43a9aec 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1 +1 @@ -module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={i:r,l:false,exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(104)}return startup()}({0:function(e,r,t){e.exports=withDefaults;const n=t(500);function withDefaults(e,r){const t=e.defaults(r);const i=function(e,r){return n(t,e,r)};i.defaults=withDefaults.bind(null,t);return i}},2:function(e,r,t){"use strict";const n=t(87);const i=t(118);const s=t(49);const o=(e,r)=>{if(!e&&r){throw new Error("You can't specify a `release` without specifying `platform`")}e=e||n.platform();let t;if(e==="darwin"){if(!r&&n.platform()==="darwin"){r=n.release()}const e=r?Number(r.split(".")[0])>15?"macOS":"OS X":"macOS";t=r?i(r).name:"";return e+(t?" "+t:"")}if(e==="linux"){if(!r&&n.platform()==="linux"){r=n.release()}t=r?r.replace(/^(\d+\.\d+).*/,"$1"):"";return"Linux"+(t?" "+t:"")}if(e==="win32"){if(!r&&n.platform()==="win32"){r=n.release()}t=r?s(r):"";return"Windows"+(t?" "+t:"")}return e};e.exports=o},8:function(e,r,t){e.exports=iterator;const n=t(301);function iterator(e,r){const t=r.headers;let i=e.request.endpoint(r).url;return{[Symbol.asyncIterator]:()=>({next(){if(!i){return Promise.resolve({done:true})}return e.request({url:i,headers:t}).then(r=>{n(e,i,r);i=((r.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:r}})}})}}},9:function(e,r,t){var n=t(969);var i=function(){};var s=function(e){return e.setHeader&&typeof e.abort==="function"};var o=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var a=function(e,r,t){if(typeof r==="function")return a(e,null,r);if(!r)r={};t=n(t||i);var u=e._writableState;var p=e._readableState;var c=r.readable||r.readable!==false&&e.readable;var d=r.writable||r.writable!==false&&e.writable;var l=function(){if(!e.writable)g()};var g=function(){d=false;if(!c)t.call(e)};var m=function(){c=false;if(!d)t.call(e)};var h=function(r){t.call(e,r?new Error("exited with error code: "+r):null)};var y=function(r){t.call(e,r)};var f=function(){if(c&&!(p&&p.ended))return t.call(e,new Error("premature close"));if(d&&!(u&&u.ended))return t.call(e,new Error("premature close"))};var b=function(){e.req.on("finish",g)};if(s(e)){e.on("complete",g);e.on("abort",f);if(e.req)b();else e.on("request",b)}else if(d&&!u){e.on("end",l);e.on("close",l)}if(o(e))e.on("exit",h);e.on("end",m);e.on("finish",g);if(r.error!==false)e.on("error",y);e.on("close",f);return function(){e.removeListener("complete",g);e.removeListener("abort",f);e.removeListener("request",b);if(e.req)e.req.removeListener("finish",g);e.removeListener("end",l);e.removeListener("close",l);e.removeListener("finish",g);e.removeListener("exit",h);e.removeListener("end",m);e.removeListener("error",y);e.removeListener("close",f)}};e.exports=a},11:function(e){e.exports=wrappy;function wrappy(e,r){if(e&&r)return wrappy(e)(r);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(r){wrapper[r]=e[r]});return wrapper;function wrapper(){var r=new Array(arguments.length);for(var t=0;te.warn(r));const o=t(674);const a=t(471);const u=t(349);function authenticationPlugin(e,r){if(r.auth){e.authenticate=(()=>{s(e.log,new n('[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'))});return}const t={octokit:e,auth:false};e.authenticate=o.bind(null,t);e.hook.before("request",a.bind(null,t));e.hook.error("request",u.bind(null,t))}},20:function(e,r,t){"use strict";const n=t(129);const i=t(568);const s=t(881);function spawn(e,r,t){const o=i(e,r,t);const a=n.spawn(o.command,o.args,o.options);s.hookChildProcess(a,o);return a}function spawnSync(e,r,t){const o=i(e,r,t);const a=n.spawnSync(o.command,o.args,o.options);a.error=a.error||s.verifyENOENTSync(a.status,o);return a}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=i;e.exports._enoent=s},39:function(e){"use strict";e.exports=(e=>{e=e||{};const r=e.env||process.env;const t=e.platform||process.platform;if(t!=="win32"){return"PATH"}return Object.keys(r).find(e=>e.toUpperCase()==="PATH")||"Path"})},47:function(e,r,t){e.exports=factory;const n=t(402);const i=t(855);function factory(e){const r=n.bind(null,e||[]);r.plugin=i.bind(null,e||[]);return r}},49:function(e,r,t){"use strict";const n=t(87);const i=t(955);const s=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);const o=e=>{const r=/\d+\.\d/.exec(e||n.release());if(e&&!r){throw new Error("`release` argument doesn't match `n.n`")}const t=(r||[])[0];if((!e||e===n.release())&&["6.1","6.2","6.3","10.0"].includes(t)){const e=i.sync("wmic",["os","get","Caption"]).stdout||"";const r=(e.match(/2008|2012|2016/)||[])[0];if(r){return`Server ${r}`}}return s.get(t)};e.exports=o},87:function(e){e.exports=require("os")},104:function(e,r,t){const n=t(470);const i=t(469);const s=n.getInput("repo-token");const o=n.getInput("event");const a=n.getInput("body");const u=new i.GitHub(s);if((o==="COMMENT"||o==="REQUEST_CHANGES")&&!a){n.error("Event type COMMENT & REQUEST_CHANGES require a body.")}u.graphql(`\n mutation {\n addPullRequestReview(input: {\n pullRequestId: "${i.context.payload["pull_request"]["node_id"]}",\n event: ${o},\n body: "${a}"\n }) {clientMutationId} }`).catch(e=>n.error(e))},118:function(e,r,t){"use strict";const n=t(87);const i=new Map([[19,"Catalina"],[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]);const s=e=>{e=Number((e||n.release()).split(".")[0]);return{name:i.get(e),version:"10."+(e-4)}};e.exports=s;e.exports.default=s},126:function(e){var r=200;var t="__lodash_hash_undefined__";var n=1/0;var i="[object Function]",s="[object GeneratorFunction]";var o=/[\\^$.*+?()[\]{}|]/g;var a=/^\[object .+?Constructor\]$/;var u=typeof global=="object"&&global&&global.Object===Object&&global;var p=typeof self=="object"&&self&&self.Object===Object&&self;var c=u||p||Function("return this")();function arrayIncludes(e,r){var t=e?e.length:0;return!!t&&baseIndexOf(e,r,0)>-1}function arrayIncludesWith(e,r,t){var n=-1,i=e?e.length:0;while(++n-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r=r){var c=t?null:T(e);if(c){return setToArray(c)}a=false;s=cacheHas;p=new SetCache}else{p=t?[]:u}e:while(++i{const u=e=>{if(e){e.bufferedData=s.getBufferedValue()}a(e)};s=n(e,i(r),e=>{if(e){u(e);return}o()});s.on("data",()=>{if(s.getBufferedLength()>t){u(new MaxBufferError)}})}).then(()=>s.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,r)=>getStream(e,Object.assign({},r,{encoding:"buffer"})));e.exports.array=((e,r)=>getStream(e,Object.assign({},r,{array:true})));e.exports.MaxBufferError=MaxBufferError},148:function(e,r,t){e.exports=paginatePlugin;const n=t(8);const i=t(807);function paginatePlugin(e){e.paginate=i.bind(null,e);e.paginate.iterator=n.bind(null,e)}},168:function(e){"use strict";const r=["stdin","stdout","stderr"];const t=e=>r.some(r=>Boolean(e[r]));e.exports=(e=>{if(!e){return null}if(e.stdio&&t(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${r.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const n=e.stdio||[];if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const i=[];const s=Math.max(n.length,r.length);for(let t=0;t dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","generate-routes":"node scripts/generate-routes","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},license:"MIT",files:["index.js","index.d.ts","lib","plugins"],nyc:{ignore:["test"]},release:{publish:["@semantic-release/npm",{path:"@semantic-release/github",assets:["dist/*","!dist/*.map.gz"]}]},standard:{globals:["describe","before","beforeEach","afterEach","after","it","expect","cy"],ignore:["/docs"]},bundlesize:[{path:"./dist/octokit-rest.min.js.gz",maxSize:"33 kB"}]}},248:function(e,r,t){e.exports=octokitRegisterEndpoints;const n=t(899);function octokitRegisterEndpoints(e){e.registerEndpoints=n.bind(null,e)}},260:function(e,r,t){var n=t(357);var i=t(654);var s=t(614);if(typeof s!=="function"){s=s.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new s;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,r){n.equal(typeof e,"function","a callback must be provided for exit handler");if(u===false){load()}var t="exit";if(r&&r.alwaysLast){t="afterexit"}var i=function(){o.removeListener(t,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(t,e);return i};e.exports.unload=unload;function unload(){if(!u){return}u=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=c;process.reallyExit=p;o.count-=1}function emit(e,r,t){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,r,t)}var a={};i.forEach(function(e){a[e]=function listener(){var r=process.listeners(e);if(r.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var u=false;function load(){if(u){return}u=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var c=process.emit;function processEmit(e,r){if(e==="exit"){if(r!==undefined){process.exitCode=r}var t=c.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return t}else{return c.apply(this,arguments)}}},262:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});const n=t(747);const i=t(87);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(n.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(n.readFileSync(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{process.stdout.write(`GITHUB_EVENT_PATH ${process.env.GITHUB_EVENT_PATH} does not exist${i.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pullRequest||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}r.Context=Context},265:function(e,r,t){e.exports=getPage;const n=t(370);const i=t(577);const s=t(297);function getPage(e,r,t,o){n(`octokit.get${t.charAt(0).toUpperCase()+t.slice(1)}Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);const a=i(r)[t];if(!a){const e=new s(`No ${t} page found`,404);return Promise.reject(e)}const u={url:a,headers:applyAcceptHeader(r,o)};const p=e.request(u);return p}function applyAcceptHeader(e,r){const t=e.headers&&e.headers["x-github-media-type"];if(!t||r&&r.accept){return r}r=r||{};r.accept="application/vnd."+t.replace("; param=",".").replace("; format=","+");return r}},280:function(e,r){r=e.exports=SemVer;var t;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){t=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{t=function(){}}r.SEMVER_SPEC_VERSION="2.0.0";var n=256;var i=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var o=r.re=[];var a=r.src=[];var u=0;var p=u++;a[p]="0|[1-9]\\d*";var c=u++;a[c]="[0-9]+";var d=u++;a[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var l=u++;a[l]="("+a[p]+")\\."+"("+a[p]+")\\."+"("+a[p]+")";var g=u++;a[g]="("+a[c]+")\\."+"("+a[c]+")\\."+"("+a[c]+")";var m=u++;a[m]="(?:"+a[p]+"|"+a[d]+")";var h=u++;a[h]="(?:"+a[c]+"|"+a[d]+")";var y=u++;a[y]="(?:-("+a[m]+"(?:\\."+a[m]+")*))";var f=u++;a[f]="(?:-?("+a[h]+"(?:\\."+a[h]+")*))";var b=u++;a[b]="[0-9A-Za-z-]+";var _=u++;a[_]="(?:\\+("+a[b]+"(?:\\."+a[b]+")*))";var q=u++;var w="v?"+a[l]+a[y]+"?"+a[_]+"?";a[q]="^"+w+"$";var v="[v=\\s]*"+a[g]+a[f]+"?"+a[_]+"?";var E=u++;a[E]="^"+v+"$";var T=u++;a[T]="((?:<|>)?=?)";var j=u++;a[j]=a[c]+"|x|X|\\*";var S=u++;a[S]=a[p]+"|x|X|\\*";var P=u++;a[P]="[v=\\s]*("+a[S]+")"+"(?:\\.("+a[S]+")"+"(?:\\.("+a[S]+")"+"(?:"+a[y]+")?"+a[_]+"?"+")?)?";var C=u++;a[C]="[v=\\s]*("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:"+a[f]+")?"+a[_]+"?"+")?)?";var k=u++;a[k]="^"+a[T]+"\\s*"+a[P]+"$";var O=u++;a[O]="^"+a[T]+"\\s*"+a[C]+"$";var x=u++;a[x]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var G=u++;a[G]="(?:~>?)";var R=u++;a[R]="(\\s*)"+a[G]+"\\s+";o[R]=new RegExp(a[R],"g");var A="$1~";var D=u++;a[D]="^"+a[G]+a[P]+"$";var $=u++;a[$]="^"+a[G]+a[C]+"$";var F=u++;a[F]="(?:\\^)";var H=u++;a[H]="(\\s*)"+a[F]+"\\s+";o[H]=new RegExp(a[H],"g");var I="$1^";var U=u++;a[U]="^"+a[F]+a[P]+"$";var L=u++;a[L]="^"+a[F]+a[C]+"$";var B=u++;a[B]="^"+a[T]+"\\s*("+v+")$|^$";var N=u++;a[N]="^"+a[T]+"\\s*("+w+")$|^$";var z=u++;a[z]="(\\s*)"+a[T]+"\\s*("+v+"|"+a[P]+")";o[z]=new RegExp(a[z],"g");var V="$1$2$3";var K=u++;a[K]="^\\s*("+a[P]+")"+"\\s+-\\s+"+"("+a[P]+")"+"\\s*$";var X=u++;a[X]="^\\s*("+a[C]+")"+"\\s+-\\s+"+"("+a[C]+")"+"\\s*$";var W=u++;a[W]="(<|>)?=?\\s*\\*";for(var J=0;Jn){return null}var t=r.loose?o[E]:o[q];if(!t.test(e)){return null}try{return new SemVer(e,r)}catch(e){return null}}r.valid=valid;function valid(e,r){var t=parse(e,r);return t?t.version:null}r.clean=clean;function clean(e,r){var t=parse(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}r.SemVer=SemVer;function SemVer(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===r.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,r)}t("SemVer",e,r);this.options=r;this.loose=!!r.loose;var s=e.trim().match(r.loose?o[E]:o[q]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var r=+e;if(r>=0&&r=0){if(typeof this.prerelease[t]==="number"){this.prerelease[t]++;t=-2}}if(t===-1){this.prerelease.push(0)}}if(r){if(this.prerelease[0]===r){if(isNaN(this.prerelease[1])){this.prerelease=[r,0]}}else{this.prerelease=[r,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};r.inc=inc;function inc(e,r,t,n){if(typeof t==="string"){n=t;t=undefined}try{return new SemVer(e,t).inc(r,n).version}catch(e){return null}}r.diff=diff;function diff(e,r){if(eq(e,r)){return null}else{var t=parse(e);var n=parse(r);var i="";if(t.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var o in t){if(o==="major"||o==="minor"||o==="patch"){if(t[o]!==n[o]){return i+o}}}return s}}r.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,r){var t=Y.test(e);var n=Y.test(r);if(t&&n){e=+e;r=+r}return e===r?0:t&&!n?-1:n&&!t?1:e0}r.lt=lt;function lt(e,r,t){return compare(e,r,t)<0}r.eq=eq;function eq(e,r,t){return compare(e,r,t)===0}r.neq=neq;function neq(e,r,t){return compare(e,r,t)!==0}r.gte=gte;function gte(e,r,t){return compare(e,r,t)>=0}r.lte=lte;function lte(e,r,t){return compare(e,r,t)<=0}r.cmp=cmp;function cmp(e,r,t,n){switch(r){case"===":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e===t;case"!==":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e!==t;case"":case"=":case"==":return eq(e,t,n);case"!=":return neq(e,t,n);case">":return gt(e,t,n);case">=":return gte(e,t,n);case"<":return lt(e,t,n);case"<=":return lte(e,t,n);default:throw new TypeError("Invalid operator: "+r)}}r.Comparator=Comparator;function Comparator(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!r.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,r)}t("comparator",e,r);this.options=r;this.loose=!!r.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}t("comp",this)}var Q={};Comparator.prototype.parse=function(e){var r=this.options.loose?o[B]:o[N];var t=e.match(r);if(!t){throw new TypeError("Invalid comparator: "+e)}this.operator=t[1];if(this.operator==="="){this.operator=""}if(!t[2]){this.semver=Q}else{this.semver=new SemVer(t[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){t("Comparator.test",e,this.options.loose);if(this.semver===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,r){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}var t;if(this.operator===""){t=new Range(e.value,r);return satisfies(this.value,t,r)}else if(e.operator===""){t=new Range(this.value,r);return satisfies(e.semver,t,r)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var a=cmp(this.semver,"<",e.semver,r)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,r)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||i||s&&o||a||u};r.Range=Range;function Range(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease){return e}else{return new Range(e.raw,r)}}if(e instanceof Comparator){return new Range(e.value,r)}if(!(this instanceof Range)){return new Range(e,r)}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var r=this.options.loose;e=e.trim();var n=r?o[X]:o[K];e=e.replace(n,hyphenReplace);t("hyphen replace",e);e=e.replace(o[z],V);t("comparator trim",e,o[z]);e=e.replace(o[R],A);e=e.replace(o[H],I);e=e.split(/\s+/).join(" ");var i=r?o[B]:o[N];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(i)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,r){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(t){return t.every(function(t){return e.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})};r.toComparators=toComparators;function toComparators(e,r){return new Range(e,r).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,r){t("comp",e,r);e=replaceCarets(e,r);t("caret",e);e=replaceTildes(e,r);t("tildes",e);e=replaceXRanges(e,r);t("xrange",e);e=replaceStars(e,r);t("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,r){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,r)}).join(" ")}function replaceTilde(e,r){var n=r.loose?o[$]:o[D];return e.replace(n,function(r,n,i,s,o){t("tilde",e,r,n,i,s,o);var a;if(isX(n)){a=""}else if(isX(i)){a=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else if(o){t("replaceTilde pr",o);a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+(+i+1)+".0"}else{a=">="+n+"."+i+"."+s+" <"+n+"."+(+i+1)+".0"}t("tilde return",a);return a})}function replaceCarets(e,r){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,r)}).join(" ")}function replaceCaret(e,r){t("caret",e,r);var n=r.loose?o[L]:o[U];return e.replace(n,function(r,n,i,s,o){t("caret",e,r,n,i,s,o);var a;if(isX(n)){a=""}else if(isX(i)){a=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){if(n==="0"){a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else{a=">="+n+"."+i+".0 <"+(+n+1)+".0.0"}}else if(o){t("replaceCaret pr",o);if(n==="0"){if(i==="0"){a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+i+"."+(+s+1)}else{a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+(+i+1)+".0"}}else{a=">="+n+"."+i+"."+s+"-"+o+" <"+(+n+1)+".0.0"}}else{t("no pr");if(n==="0"){if(i==="0"){a=">="+n+"."+i+"."+s+" <"+n+"."+i+"."+(+s+1)}else{a=">="+n+"."+i+"."+s+" <"+n+"."+(+i+1)+".0"}}else{a=">="+n+"."+i+"."+s+" <"+(+n+1)+".0.0"}}t("caret return",a);return a})}function replaceXRanges(e,r){t("replaceXRanges",e,r);return e.split(/\s+/).map(function(e){return replaceXRange(e,r)}).join(" ")}function replaceXRange(e,r){e=e.trim();var n=r.loose?o[O]:o[k];return e.replace(n,function(r,n,i,s,o,a){t("xRange",e,r,n,i,s,o,a);var u=isX(i);var p=u||isX(s);var c=p||isX(o);var d=c;if(n==="="&&d){n=""}if(u){if(n===">"||n==="<"){r="<0.0.0"}else{r="*"}}else if(n&&d){if(p){s=0}o=0;if(n===">"){n=">=";if(p){i=+i+1;s=0;o=0}else{s=+s+1;o=0}}else if(n==="<="){n="<";if(p){i=+i+1}else{s=+s+1}}r=n+i+"."+s+"."+o}else if(p){r=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(c){r=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}t("xRange return",r);return r})}function replaceStars(e,r){t("replaceStars",e,r);return e.trim().replace(o[W],"")}function hyphenReplace(e,r,t,n,i,s,o,a,u,p,c,d,l){if(isX(t)){r=""}else if(isX(n)){r=">="+t+".0.0"}else if(isX(i)){r=">="+t+"."+n+".0"}else{r=">="+r}if(isX(u)){a=""}else if(isX(p)){a="<"+(+u+1)+".0.0"}else if(isX(c)){a="<"+u+"."+(+p+1)+".0"}else if(d){a="<="+u+"."+p+"."+c+"-"+d}else{a="<="+a}return(r+" "+a).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var r=0;r0){var s=e[i].semver;if(s.major===r.major&&s.minor===r.minor&&s.patch===r.patch){return true}}}return false}return true}r.satisfies=satisfies;function satisfies(e,r,t){try{r=new Range(r,t)}catch(e){return false}return r.test(e)}r.maxSatisfying=maxSatisfying;function maxSatisfying(e,r,t){var n=null;var i=null;try{var s=new Range(r,t)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||i.compare(e)===-1){n=e;i=new SemVer(n,t)}}});return n}r.minSatisfying=minSatisfying;function minSatisfying(e,r,t){var n=null;var i=null;try{var s=new Range(r,t)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||i.compare(e)===1){n=e;i=new SemVer(n,t)}}});return n}r.minVersion=minVersion;function minVersion(e,r){e=new Range(e,r);var t=new SemVer("0.0.0");if(e.test(t)){return t}t=new SemVer("0.0.0-0");if(e.test(t)){return t}t=null;for(var n=0;n":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!t||gt(t,r)){t=r}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(t&&e.test(t)){return t}return null}r.validRange=validRange;function validRange(e,r){try{return new Range(e,r).range||"*"}catch(e){return null}}r.ltr=ltr;function ltr(e,r,t){return outside(e,r,"<",t)}r.gtr=gtr;function gtr(e,r,t){return outside(e,r,">",t)}r.outside=outside;function outside(e,r,t,n){e=new SemVer(e,n);r=new Range(r,n);var i,s,o,a,u;switch(t){case">":i=gt;s=lte;o=lt;a=">";u=">=";break;case"<":i=lt;s=gte;o=gt;a="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,r,n)){return false}for(var p=0;p=0.0.0")}d=d||e;l=l||e;if(i(e.semver,d.semver,n)){d=e}else if(o(e.semver,l.semver,n)){l=e}});if(d.operator===a||d.operator===u){return false}if((!l.operator||l.operator===a)&&s(e,l.semver)){return false}else if(l.operator===u&&o(e,l.semver)){return false}}return true}r.prerelease=prerelease;function prerelease(e,r){var t=parse(e,r);return t&&t.prerelease.length?t.prerelease:null}r.intersects=intersects;function intersects(e,r,t){e=new Range(e,t);r=new Range(r,t);return e.intersects(r)}r.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var r=e.match(o[x]);if(r==null){return null}return parse(r[1]+"."+(r[2]||"0")+"."+(r[3]||"0"))}},293:function(e,r,t){e.exports=authenticationRequestError;const{RequestError:n}=t(463);function authenticationRequestError(e,r,t){if(!r.headers)throw r;const i=/required/.test(r.headers["x-github-otp"]||"");if(r.status!==401||!i){throw r}if(r.status===401&&i&&r.request&&r.request.headers["x-github-otp"]){if(e.otp){delete e.otp}else{throw new n("Invalid one-time password for two-factor authentication",401,{headers:r.headers,request:t})}}if(typeof e.auth.on2fa!=="function"){throw new n("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:r.headers,request:t})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(r=>{const n=Object.assign(t,{headers:Object.assign(t.headers,{"x-github-otp":r})});return e.octokit.request(n).then(t=>{e.otp=r;return t})})}},294:function(e,r,t){e.exports=parseOptions;const{Deprecation:n}=t(692);const{getUserAgent:i}=t(796);const s=t(969);const o=t(215);const a=s((e,r)=>e.warn(r));const u=s((e,r)=>e.warn(r));const p=s((e,r)=>e.warn(r));function parseOptions(e,r,t){if(e.headers){e.headers=Object.keys(e.headers).reduce((r,t)=>{r[t.toLowerCase()]=e.headers[t];return r},{})}const s={headers:e.headers||{},request:e.request||{},mediaType:{previews:[],format:""}};if(e.baseUrl){s.baseUrl=e.baseUrl}if(e.userAgent){s.headers["user-agent"]=e.userAgent}if(e.previews){s.mediaType.previews=e.previews}if(e.timeout){a(r,new n("[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request"));s.request.timeout=e.timeout}if(e.agent){u(r,new n("[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request"));s.request.agent=e.agent}if(e.headers){p(r,new n("[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"))}const c=s.headers["user-agent"];const d=`octokit.js/${o.version} ${i()}`;s.headers["user-agent"]=[c,d].filter(Boolean).join(" ");s.request.hook=t.bind(null,"request");return s}},297:function(e){e.exports=class HttpError extends Error{constructor(e,r,t){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.code=r;this.headers=t}}},301:function(e,r,t){e.exports=normalizePaginatedListResponse;const{Deprecation:n}=t(692);const i=t(969);const s=i((e,r)=>e.warn(r));const o=i((e,r)=>e.warn(r));const a=i((e,r)=>e.warn(r));const u=/^\/search\//;const p=/^\/repos\/[^\/]+\/[^\/]+\/commits\/[^\/]+\/(check-runs|check-suites)/;const c=/^\/installation\/repositories/;const d=/^\/user\/installations/;function normalizePaginatedListResponse(e,r,t){const i=r.replace(e.request.endpoint.DEFAULTS.baseUrl,"");if(!u.test(i)&&!p.test(i)&&!c.test(i)&&!d.test(i)){return}const l=t.data.incomplete_results;const g=t.data.repository_selection;const m=t.data.total_count;delete t.data.incomplete_results;delete t.data.repository_selection;delete t.data.total_count;const h=Object.keys(t.data)[0];t.data=t.data[h];Object.defineProperty(t.data,h,{get(){a(e.log,new n(`[@octokit/rest] "result.data.${h}" is deprecated. Use "result.data" instead`));return t.data}});if(typeof l!=="undefined"){Object.defineProperty(t.data,"incomplete_results",{get(){s(e.log,new n('[@octokit/rest] "result.data.incomplete_results" is deprecated.'));return l}})}if(typeof g!=="undefined"){Object.defineProperty(t.data,"repository_selection",{get(){o(e.log,new n('[@octokit/rest] "result.data.repository_selection" is deprecated.'));return g}})}Object.defineProperty(t.data,"total_count",{get(){o(e.log,new n('[@octokit/rest] "result.data.total_count" is deprecated.'));return m}})}},309:function(e,r,t){e.exports=octokitRestNormalizeGitReferenceResponses;const{RequestError:n}=t(463);function octokitRestNormalizeGitReferenceResponses(e){e.hook.wrap("request",(e,r)=>{const t=/\/repos\/:?\w+\/:?\w+\/git\/refs\/:?\w+/.test(r.url);if(!t){return e(r)}const i="ref"in r;return e(r).then(e=>{if(i){if(Array.isArray(e.data)){throw new n(`More than one reference found for "${r.ref}"`,404,{request:r})}return e}if(!Array.isArray(e.data)){e.data=[e.data]}return e}).catch(e=>{if(i){throw e}if(e.status===404){return{status:200,headers:e.headers,data:[]}}throw e})})}},314:function(e){e.exports={name:"@octokit/graphql",version:"2.1.3",publishConfig:{access:"public"},description:"GitHub GraphQL API client for browsers and Node",main:"index.js",scripts:{prebuild:"mkdirp dist/",build:"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",coverage:"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls",pretest:"standard",test:"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},repository:{type:"git",url:"https://github.com/octokit/graphql.js.git"},keywords:["octokit","github","api","graphql"],author:"Gregor Martynus (https://github.com/gr2m)",license:"MIT",bugs:{url:"https://github.com/octokit/graphql.js/issues"},homepage:"https://github.com/octokit/graphql.js#readme",dependencies:{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},devDependencies:{chai:"^4.2.0","compression-webpack-plugin":"^2.0.0",coveralls:"^3.0.3",cypress:"^3.1.5","fetch-mock":"^7.3.1",mkdirp:"^0.5.1",mocha:"^6.0.0","npm-run-all":"^4.1.3",nyc:"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0",standard:"^12.0.1",webpack:"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},bundlesize:[{path:"./dist/octokit-graphql.min.js.gz",maxSize:"5KB"}],release:{publish:["@semantic-release/npm",{path:"@semantic-release/github",assets:["dist/*","!dist/*.map.gz"]}]},standard:{globals:["describe","before","beforeEach","afterEach","after","it","expect"]},files:["lib"]}},323:function(e){"use strict";var r=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};r.writable=function(e){return r(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};r.readable=function(e){return r(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};r.duplex=function(e){return r.writable(e)&&r.readable(e)};r.transform=function(e){return r.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},336:function(e,r,t){e.exports=hasLastPage;const n=t(370);const i=t(577);function hasLastPage(e){n(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).last}},348:function(e,r,t){"use strict";e.exports=validate;const{RequestError:n}=t(463);const i=t(854);const s=t(883);function validate(e,r){if(!r.request.validate){return}const{validate:t}=r.request;Object.keys(t).forEach(e=>{const o=i(t,e);const a=o.type;let u;let p;let c=true;let d=false;if(/\./.test(e)){u=e.replace(/\.[^.]+$/,"");d=u.slice(-2)==="[]";if(d){u=u.slice(0,-2)}p=i(r,u);c=u==="headers"||typeof p==="object"&&p!==null}const l=d?(i(r,u)||[]).map(r=>r[e.split(/\./).pop()]):[i(r,e)];l.forEach((t,i)=>{const u=typeof t!=="undefined";const p=t===null;const l=d?e.replace(/\[\]/,`[${i}]`):e;if(!o.required&&!u){return}if(!c){return}if(o.allowNull&&p){return}if(!o.allowNull&&p){throw new n(`'${l}' cannot be null`,400,{request:r})}if(o.required&&!u){throw new n(`Empty value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}if(a==="integer"){const e=t;t=parseInt(t,10);if(isNaN(t)){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(e)} is NaN`,400,{request:r})}}if(o.enum&&o.enum.indexOf(t)===-1){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}if(o.validation){const e=new RegExp(o.validation);if(!e.test(t)){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}}if(a==="object"&&typeof t==="string"){try{t=JSON.parse(t)}catch(e){throw new n(`JSON parse error of value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}}s(r,o.mapTo||l,t)})});return r}},349:function(e,r,t){e.exports=authenticationRequestError;const{RequestError:n}=t(463);function authenticationRequestError(e,r,t){if(!r.headers)throw r;const i=/required/.test(r.headers["x-github-otp"]||"");if(r.status!==401||!i){throw r}if(r.status===401&&i&&r.request&&r.request.headers["x-github-otp"]){throw new n("Invalid one-time password for two-factor authentication",401,{headers:r.headers,request:t})}if(typeof e.auth.on2fa!=="function"){throw new n("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:r.headers,request:t})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(r=>{const n=Object.assign(t,{headers:Object.assign({"x-github-otp":r},t.headers)});return e.octokit.request(n)})}},357:function(e){e.exports=require("assert")},363:function(e){e.exports=register;function register(e,r,t,n){if(typeof t!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(r)){return r.reverse().reduce(function(r,t){return register.bind(null,e,t,r,n)},t)()}return Promise.resolve().then(function(){if(!e.registry[r]){return t(n)}return e.registry[r].reduce(function(e,r){return r.hook.bind(null,e,n)},t)()})}},368:function(e){e.exports=function atob(e){return Buffer.from(e,"base64").toString("binary")}},370:function(e){e.exports=deprecate;const r={};function deprecate(e){if(r[e]){return}console.warn(`DEPRECATED (@octokit/rest): ${e}`);r[e]=1}},372:function(e){e.exports=octokitDebug;function octokitDebug(e){e.hook.wrap("request",(r,t)=>{e.log.debug("request",t);const n=Date.now();const i=e.request.endpoint.parse(t);const s=i.url.replace(t.baseUrl,"");return r(t).then(r=>{e.log.info(`${i.method} ${s} - ${r.status} in ${Date.now()-n}ms`);return r}).catch(r=>{e.log.info(`${i.method} ${s} - ${r.status} in ${Date.now()-n}ms`);throw r})})}},385:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(696));var i=t(796);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((r,t)=>{r[t.toLowerCase()]=e[t];return r},{})}function mergeDeep(e,r){const t=Object.assign({},e);Object.keys(r).forEach(i=>{if(n(r[i])){if(!(i in e))Object.assign(t,{[i]:r[i]});else t[i]=mergeDeep(e[i],r[i])}else{Object.assign(t,{[i]:r[i]})}});return t}function merge(e,r,t){if(typeof r==="string"){let[e,n]=r.split(" ");t=Object.assign(n?{method:e,url:n}:{url:e},t)}else{t=r||{}}t.headers=lowercaseKeys(t.headers);const n=mergeDeep(e||{},t);if(e&&e.mediaType.previews.length){n.mediaType.previews=e.mediaType.previews.filter(e=>!n.mediaType.previews.includes(e)).concat(n.mediaType.previews)}n.mediaType.previews=n.mediaType.previews.map(e=>e.replace(/-preview/,""));return n}function addQueryParameters(e,r){const t=/\?/.test(e)?"&":"?";const n=Object.keys(r);if(n.length===0){return e}return e+t+n.map(e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`}).join("&")}const s=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(s);if(!r){return[]}return r.map(removeNonChars).reduce((e,r)=>e.concat(r),[])}function omit(e,r){return Object.keys(e).filter(e=>!r.includes(e)).reduce((r,t)=>{r[t]=e[t];return r},{})}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e}).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeValue(e,r,t){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(t){return encodeUnreserved(t)+"="+r}else{return r}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,t,n){var i=e[t],s=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(n&&n!=="*"){i=i.substring(0,parseInt(n,10))}s.push(encodeValue(r,i,isKeyOperator(r)?t:""))}else{if(n==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach(function(e){s.push(encodeValue(r,e,isKeyOperator(r)?t:""))})}else{Object.keys(i).forEach(function(e){if(isDefined(i[e])){s.push(encodeValue(r,i[e],e))}})}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach(function(t){e.push(encodeValue(r,t))})}else{Object.keys(i).forEach(function(t){if(isDefined(i[t])){e.push(encodeUnreserved(t));e.push(encodeValue(r,i[t].toString()))}})}if(isKeyOperator(r)){s.push(encodeUnreserved(t)+"="+e.join(","))}else if(e.length!==0){s.push(e.join(","))}}}}else{if(r===";"){if(isDefined(i)){s.push(encodeUnreserved(t))}}else if(i===""&&(r==="&"||r==="?")){s.push(encodeUnreserved(t)+"=")}else if(i===""){s.push("")}}return s}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var t=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,n,i){if(n){let e="";const i=[];if(t.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach(function(t){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);i.push(getValues(r,e,n[1],n[2]||n[3]))});if(e&&e!=="+"){var s=",";if(e==="?"){s="&"}else if(e!=="#"){s=e}return(i.length!==0?e:"")+i.join(s)}else{return i.join(",")}}else{return encodeReserved(i)}})}function parse(e){let r=e.method.toUpperCase();let t=e.url.replace(/:([a-z]\w+)/g,"{+$1}");let n=Object.assign({},e.headers);let i;let s=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const o=extractUrlVariableNames(t);t=parseUrl(t).expand(s);if(!/^http/.test(t)){t=e.baseUrl+t}const a=Object.keys(e).filter(e=>o.includes(e)).concat("baseUrl");const u=omit(s,a);const p=/application\/octet-stream/i.test(n.accept);if(!p){if(e.mediaType.format){n.accept=n.accept.split(/,/).map(r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const r=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=r.concat(e.mediaType.previews).map(r=>{const t=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${t}`}).join(",")}}if(["GET","HEAD"].includes(r)){t=addQueryParameters(t,u)}else{if("data"in u){i=u.data}else{if(Object.keys(u).length){i=u}else{n["content-length"]=0}}}if(!n["content-type"]&&typeof i!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof i==="undefined"){i=""}return Object.assign({method:r,url:t,headers:n},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,t){return parse(merge(e,r,t))}function withDefaults(e,r){const t=merge(e,r);const n=endpointWithDefaults.bind(null,t);return Object.assign(n,{DEFAULTS:t,defaults:withDefaults.bind(null,t),merge:merge.bind(null,t),parse:parse})}const o="0.0.0-development";const a=`octokit-endpoint.js/${o} ${i.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":a},mediaType:{format:"",previews:[]}};const p=withDefaults(null,u);r.endpoint=p},389:function(e,r,t){"use strict";const n=t(747);const i=t(866);function readShebang(e){const r=150;let t;if(Buffer.alloc){t=Buffer.alloc(r)}else{t=new Buffer(r);t.fill(0)}let s;try{s=n.openSync(e,"r");n.readSync(s,t,0,r,0);n.closeSync(s)}catch(e){}return i(t.toString())}e.exports=readShebang},402:function(e,r,t){e.exports=Octokit;const{request:n}=t(753);const i=t(523);const s=t(294);function Octokit(e,r){r=r||{};const t=new i.Collection;const o=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},r&&r.log);const a={hook:t,log:o,request:n.defaults(s(r,o,t))};e.forEach(e=>e(a,r));return a}},413:function(e){e.exports=require("stream")},427:function(e,r,t){"use strict";const n=t(669);let i;if(typeof n.getSystemErrorName==="function"){e.exports=n.getSystemErrorName}else{try{i=process.binding("uv");if(typeof i.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);i=null}e.exports=(e=>errname(i,e))}e.exports.__test__=errname;function errname(e,r){if(e){return e.errname(r)}if(!(r<0)){throw new Error("err >= 0")}return`Unknown system error ${r}`}},430:function(e,r,t){e.exports=octokitValidate;const n=t(348);function octokitValidate(e){e.hook.before("request",n.bind(null,e))}},431:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});const n=t(87);function issueCommand(e,r,t){const i=new Command(e,r,t);process.stdout.write(i.toString()+n.EOL)}r.issueCommand=issueCommand;function issue(e,r=""){issueCommand(e,{},r)}r.issue=issue;const i="##[";class Command{constructor(e,r,t){if(!e){e="missing.command"}this.command=e;this.properties=r;this.message=t}toString(){let e=i+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const t=this.properties[r];if(t){e+=`${r}=${escape(`${t||""}`)};`}}}}e+="]";const r=`${this.message||""}`;e+=escapeData(r);return e}}function escapeData(e){return e.replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escape(e){return e.replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/]/g,"%5D").replace(/;/g,"%3B")}},453:function(e,r,t){var n=t(969);var i=t(9);var s=t(747);var o=function(){};var a=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var p=function(e){if(!a)return false;if(!s)return false;return(e instanceof(s.ReadStream||o)||e instanceof(s.WriteStream||o))&&u(e.close)};var c=function(e){return e.setHeader&&u(e.abort)};var d=function(e,r,t,s){s=n(s);var a=false;e.on("close",function(){a=true});i(e,{readable:r,writable:t},function(e){if(e)return s(e);a=true;s()});var d=false;return function(r){if(a)return;if(d)return;d=true;if(p(e))return e.close(o);if(c(e))return e.abort();if(u(e.destroy))return e.destroy();s(r||new Error("stream was destroyed"))}};var l=function(e){e()};var g=function(e,r){return e.pipe(r)};var m=function(){var e=Array.prototype.slice.call(arguments);var r=u(e[e.length-1]||o)&&e.pop()||o;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var t;var n=e.map(function(i,s){var o=s0;return d(i,o,a,function(e){if(!t)t=e;if(e)n.forEach(l);if(o)return;n.forEach(l);r(t)})});return e.reduce(g)};e.exports=m},454:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(413));var i=_interopDefault(t(605));var s=_interopDefault(t(835));var o=_interopDefault(t(211));var a=_interopDefault(t(761));const u=n.Readable;const p=Symbol("buffer");const c=Symbol("type");class Blob{constructor(){this[c]="";const e=arguments[0];const r=arguments[1];const t=[];let n=0;if(e){const r=e;const i=Number(r.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},i=t.size;let s=i===undefined?0:i;var o=t.timeout;let a=o===undefined?0:o;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e)) ;else if(Buffer.isBuffer(e)) ;else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof n) ;else{e=Buffer.from(String(e))}this[l]={body:e,disturbed:false,error:null};this.size=s;this.timeout=a;if(e instanceof n){e.on("error",function(e){const t=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[l].error=t})}}Body.prototype={get body(){return this[l].body},get bodyUsed(){return this[l].disturbed},arrayBuffer(){return consumeBody.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then(function(r){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[p]:r})})},json(){var e=this;return consumeBody.call(this).then(function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}})},text(){return consumeBody.call(this).then(function(e){return e.toString()})},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then(function(r){return convertBody(r,e.headers)})}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const r of Object.getOwnPropertyNames(Body.prototype)){if(!(r in e)){const t=Object.getOwnPropertyDescriptor(Body.prototype,r);Object.defineProperty(e,r,t)}}};function consumeBody(){var e=this;if(this[l].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[l].disturbed=true;if(this[l].error){return Body.Promise.reject(this[l].error)}let r=this.body;if(r===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(r)){r=r.stream()}if(Buffer.isBuffer(r)){return Body.Promise.resolve(r)}if(!(r instanceof n)){return Body.Promise.resolve(Buffer.alloc(0))}let t=[];let i=0;let s=false;return new Body.Promise(function(n,o){let a;if(e.timeout){a=setTimeout(function(){s=true;o(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}r.on("error",function(r){if(r.name==="AbortError"){s=true;o(r)}else{o(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${r.message}`,"system",r))}});r.on("data",function(r){if(s||r===null){return}if(e.size&&i+r.length>e.size){s=true;o(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=r.length;t.push(r)});r.on("end",function(){if(s){return}clearTimeout(a);try{n(Buffer.concat(t,i))}catch(r){o(new FetchError(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}})})}function convertBody(e,r){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const t=r.get("content-type");let n="utf-8";let i,s;if(t){i=/charset=([^;]*)/i.exec(t)}s=e.slice(0,1024).toString();if(!i&&s){i=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[y]=Object.create(null);if(e instanceof Headers){const r=e.raw();const t=Object.keys(r);for(const e of t){for(const t of r[e]){this.append(e,t)}}return}if(e==null) ;else if(typeof e==="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!=="function"){throw new TypeError("Header pairs must be iterable")}const t=[];for(const r of e){if(typeof r!=="object"||typeof r[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}t.push(Array.from(r))}for(const e of t){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const r of Object.keys(e)){const t=e[r];this.append(r,t)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const r=find(this[y],e);if(r===undefined){return null}return this[y][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let t=getHeaders(this);let n=0;while(n1&&arguments[1]!==undefined?arguments[1]:"key+value";const t=Object.keys(e[y]).sort();return t.map(r==="key"?function(e){return e.toLowerCase()}:r==="value"?function(r){return e[y][r].join(", ")}:function(r){return[r.toLowerCase(),e[y][r].join(", ")]})}const f=Symbol("internal");function createHeadersIterator(e,r){const t=Object.create(b);t[f]={target:e,kind:r,index:0};return t}const b=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==b){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[f];const r=e.target,t=e.kind,n=e.index;const i=getHeaders(r,t);const s=i.length;if(n>=s){return{value:undefined,done:true}}this[f].index=n+1;return{value:i[n],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(b,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const r=Object.assign({__proto__:null},e[y]);const t=find(e[y],"Host");if(t!==undefined){r[t]=r[t][0]}return r}function createHeadersLenient(e){const r=new Headers;for(const t of Object.keys(e)){if(m.test(t)){continue}if(Array.isArray(e[t])){for(const n of e[t]){if(h.test(n)){continue}if(r[y][t]===undefined){r[y][t]=[n]}else{r[y][t].push(n)}}}else if(!h.test(e[t])){r[y][t]=[e[t]]}}return r}const _=Symbol("Response internals");const q=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,r);const t=r.status||200;const n=new Headers(r.headers);if(e!=null&&!n.has("Content-Type")){const r=extractContentType(e);if(r){n.append("Content-Type",r)}}this[_]={url:r.url,status:t,statusText:r.statusText||q[t],headers:n,counter:r.counter}}get url(){return this[_].url||""}get status(){return this[_].status}get ok(){return this[_].status>=200&&this[_].status<300}get redirected(){return this[_].counter>0}get statusText(){return this[_].statusText}get headers(){return this[_].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const w=Symbol("Request internals");const v=s.parse;const E=s.format;const T="destroy"in n.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const r=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(r&&r.constructor.name==="AbortSignal")}class Request{constructor(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let t;if(!isRequest(e)){if(e&&e.href){t=v(e.href)}else{t=v(`${e}`)}e={}}else{t=v(e.url)}let n=r.method||e.method||"GET";n=n.toUpperCase();if((r.body!=null||isRequest(e)&&e.body!==null)&&(n==="GET"||n==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=r.body!=null?r.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const s=new Headers(r.headers||e.headers||{});if(i!=null&&!s.has("Content-Type")){const e=extractContentType(i);if(e){s.append("Content-Type",e)}}let o=isRequest(e)?e.signal:null;if("signal"in r)o=r.signal;if(o!=null&&!isAbortSignal(o)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:n,redirect:r.redirect||e.redirect||"follow",headers:s,parsedURL:t,signal:o};this.follow=r.follow!==undefined?r.follow:e.follow!==undefined?e.follow:20;this.compress=r.compress!==undefined?r.compress:e.compress!==undefined?e.compress:true;this.counter=r.counter||e.counter||0;this.agent=r.agent||e.agent}get method(){return this[w].method}get url(){return E(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const r=e[w].parsedURL;const t=new Headers(e[w].headers);if(!t.has("Accept")){t.set("Accept","*/*")}if(!r.protocol||!r.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(r.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof n.Readable&&!T){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const r=getTotalBytes(e);if(typeof r==="number"){i=String(r)}}if(i){t.set("Content-Length",i)}if(!t.has("User-Agent")){t.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!t.has("Accept-Encoding")){t.set("Accept-Encoding","gzip,deflate")}let s=e.agent;if(typeof s==="function"){s=s(r)}if(!t.has("Connection")&&!s){t.set("Connection","close")}return Object.assign({},r,{method:e.method,headers:exportNodeCompatibleHeaders(t),agent:s})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const j=n.PassThrough;const S=s.resolve;function fetch(e,r){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise(function(t,s){const u=new Request(e,r);const p=getNodeRequestOptions(u);const c=(p.protocol==="https:"?o:i).request;const d=u.signal;let l=null;const g=function abort(){let e=new AbortError("The user aborted a request.");s(e);if(u.body&&u.body instanceof n.Readable){u.body.destroy(e)}if(!l||!l.body)return;l.body.emit("error",e)};if(d&&d.aborted){g();return}const m=function abortAndFinalize(){g();finalize()};const h=c(p);let y;if(d){d.addEventListener("abort",m)}function finalize(){h.abort();if(d)d.removeEventListener("abort",m);clearTimeout(y)}if(u.timeout){h.once("socket",function(e){y=setTimeout(function(){s(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}h.on("error",function(e){s(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});h.on("response",function(e){clearTimeout(y);const r=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const n=r.get("Location");const i=n===null?null:S(u.url,n);switch(u.redirect){case"error":s(new FetchError(`redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{r.set("Location",i)}catch(e){s(e)}}break;case"follow":if(i===null){break}if(u.counter>=u.follow){s(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const n={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){s(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&u.method==="POST"){n.method="GET";n.body=undefined;n.headers.delete("content-length")}t(fetch(new Request(i,n)));finalize();return}}e.once("end",function(){if(d)d.removeEventListener("abort",m)});let n=e.pipe(new j);const i={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:r,size:u.size,timeout:u.timeout,counter:u.counter};const o=r.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||o===null||e.statusCode===204||e.statusCode===304){l=new Response(n,i);t(l);return}const p={flush:a.Z_SYNC_FLUSH,finishFlush:a.Z_SYNC_FLUSH};if(o=="gzip"||o=="x-gzip"){n=n.pipe(a.createGunzip(p));l=new Response(n,i);t(l);return}if(o=="deflate"||o=="x-deflate"){const r=e.pipe(new j);r.once("data",function(e){if((e[0]&15)===8){n=n.pipe(a.createInflate())}else{n=n.pipe(a.createInflateRaw())}l=new Response(n,i);t(l)});return}if(o=="br"&&typeof a.createBrotliDecompress==="function"){n=n.pipe(a.createBrotliDecompress());l=new Response(n,i);t(l);return}l=new Response(n,i);t(l)});writeToStream(h,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=r=fetch;Object.defineProperty(r,"__esModule",{value:true});r.default=r;r.Headers=Headers;r.Request=Request;r.Response=Response;r.FetchError=FetchError},462:function(e){"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(r,"^$1");return e}function escapeArgument(e,t){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(r,"^$1");if(t){e=e.replace(r,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},463:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(692);var i=_interopDefault(t(969));const s=i(e=>console.warn(e));class RequestError extends Error{constructor(e,r,t){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=r;Object.defineProperty(this,"code",{get(){s(new n.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return r}});this.headers=t.headers;const i=Object.assign({},t.request);if(t.request.headers.authorization){i.headers=Object.assign({},t.request.headers,{authorization:t.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i}}r.RequestError=RequestError},469:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const s=t(503);const o=n(t(613));const a=i(t(262));o.default.prototype=new o.default;r.context=new a.Context;class GitHub extends o.default{constructor(e,r={}){super(Object.assign(Object.assign({},r),{auth:`token ${e}`}));this.graphql=s.defaults({headers:{authorization:`token ${e}`}})}}r.GitHub=GitHub},470:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:true});const i=t(431);const s=t(622);var o;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(o=r.ExitCode||(r.ExitCode={}));function exportVariable(e,r){process.env[e]=r;i.issueCommand("set-env",{name:e},r)}r.exportVariable=exportVariable;function exportSecret(e,r){exportVariable(e,r);i.issueCommand("set-secret",{},r);throw new Error("Not implemented.")}r.exportSecret=exportSecret;function addPath(e){i.issueCommand("add-path",{},e);process.env["PATH"]=`${e}${s.delimiter}${process.env["PATH"]}`}r.addPath=addPath;function getInput(e,r){const t=process.env[`INPUT_${e.replace(" ","_").toUpperCase()}`]||"";if(r&&r.required&&!t){throw new Error(`Input required and not supplied: ${e}`)}return t.trim()}r.getInput=getInput;function setOutput(e,r){i.issueCommand("set-output",{name:e},r)}r.setOutput=setOutput;function setFailed(e){process.exitCode=o.Failure;error(e)}r.setFailed=setFailed;function debug(e){i.issueCommand("debug",{},e)}r.debug=debug;function error(e){i.issue("error",e)}r.error=error;function warning(e){i.issue("warning",e)}r.warning=warning;function startGroup(e){i.issue("group",e)}r.startGroup=startGroup;function endGroup(){i.issue("endgroup")}r.endGroup=endGroup;function group(e,r){return n(this,void 0,void 0,function*(){startGroup(e);let t;try{t=yield r()}finally{endGroup()}return t})}r.group=group},471:function(e,r,t){e.exports=authenticationBeforeRequest;const n=t(675);const i=t(126);function authenticationBeforeRequest(e,r){if(!e.auth.type){return}if(e.auth.type==="basic"){const t=n(`${e.auth.username}:${e.auth.password}`);r.headers.authorization=`Basic ${t}`;return}if(e.auth.type==="token"){r.headers.authorization=`token ${e.auth.token}`;return}if(e.auth.type==="app"){r.headers.authorization=`Bearer ${e.auth.token}`;const t=r.headers.accept.split(",").concat("application/vnd.github.machine-man-preview+json");r.headers.accept=i(t).filter(Boolean).join(",");return}r.url+=r.url.indexOf("?")===-1?"?":"&";if(e.auth.token){r.url+=`access_token=${encodeURIComponent(e.auth.token)}`;return}const t=encodeURIComponent(e.auth.key);const s=encodeURIComponent(e.auth.secret);r.url+=`client_id=${t}&client_secret=${s}`}},489:function(e,r,t){"use strict";const n=t(622);const i=t(814);const s=t(39)();function resolveCommandAttempt(e,r){const t=process.cwd();const o=e.options.cwd!=null;if(o){try{process.chdir(e.options.cwd)}catch(e){}}let a;try{a=i.sync(e.command,{path:(e.options.env||process.env)[s],pathExt:r?n.delimiter:undefined})}catch(e){}finally{process.chdir(t)}if(a){a=n.resolve(o?e.options.cwd:"",a)}return a}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},500:function(e,r,t){e.exports=graphql;const n=t(862);const i=["method","baseUrl","url","headers","request","query"];function graphql(e,r,t){if(typeof r==="string"){t=Object.assign({query:r},t)}else{t=r}const s=Object.keys(t).reduce((e,r)=>{if(i.includes(r)){e[r]=t[r];return e}if(!e.variables){e.variables={}}e.variables[r]=t[r];return e},{});return e(s).then(e=>{if(e.data.errors){throw new n(s,e)}return e.data.data})}},503:function(e,r,t){const{request:n}=t(753);const i=t(650);const s=t(314).version;const o=`octokit-graphql.js/${s} ${i()}`;const a=t(0);e.exports=a(n,{method:"POST",url:"/graphql",headers:{"user-agent":o}})},510:function(e){e.exports=addHook;function addHook(e,r,t,n){var i=n;if(!e.registry[t]){e.registry[t]=[]}if(r==="before"){n=function(e,r){return Promise.resolve().then(i.bind(null,r)).then(e.bind(null,r))}}if(r==="after"){n=function(e,r){var t;return Promise.resolve().then(e.bind(null,r)).then(function(e){t=e;return i(t,r)}).then(function(){return t})}}if(r==="error"){n=function(e,r){return Promise.resolve().then(e.bind(null,r)).catch(function(e){return i(e,r)})}}e.registry[t].push({hook:n,orig:i})}},523:function(e,r,t){var n=t(363);var i=t(510);var s=t(763);var o=Function.bind;var a=o.bind(o);function bindApi(e,r,t){var n=a(s,null).apply(null,t?[r,t]:[r]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach(function(n){var s=t?[r,n,t]:[r,n];e[n]=e.api[n]=a(i,null).apply(null,s)})}function HookSingular(){var e="h";var r={registry:{}};var t=n.bind(null,r,e);bindApi(t,r,e);return t}function HookCollection(){var e={registry:{}};var r=n.bind(null,e);bindApi(r,e);return r}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},529:function(e,r,t){const n=t(47);e.exports=n()},536:function(e,r,t){e.exports=hasFirstPage;const n=t(370);const i=t(577);function hasFirstPage(e){n(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).first}},550:function(e,r,t){e.exports=getNextPage;const n=t(265);function getNextPage(e,r,t){return n(e,r,"next",t)}},558:function(e,r,t){e.exports=hasPreviousPage;const n=t(370);const i=t(577);function hasPreviousPage(e){n(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).prev}},563:function(e,r,t){e.exports=getPreviousPage;const n=t(265);function getPreviousPage(e,r,t){return n(e,r,"prev",t)}},568:function(e,r,t){"use strict";const n=t(622);const i=t(948);const s=t(489);const o=t(462);const a=t(389);const u=t(280);const p=process.platform==="win32";const c=/\.(?:com|exe)$/i;const d=/node_modules[\\\/].bin[\\\/][^\\\/]+\.cmd$/i;const l=i(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=s(e);const r=e.file&&a(e.file);if(r){e.args.unshift(e.file);e.command=r;return s(e)}return e.file}function parseNonShell(e){if(!p){return e}const r=detectShebang(e);const t=!c.test(r);if(e.options.forceShell||t){const t=d.test(r);e.command=n.normalize(e.command);e.command=o.command(e.command);e.args=e.args.map(e=>o.argument(e,t));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(l){return e}const r=[e.command].concat(e.args).join(" ");if(p){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${r}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",r]}return e}function parse(e,r,t){if(r&&!Array.isArray(r)){t=r;r=null}r=r?r.slice(0):[];t=Object.assign({},t);const n={command:e,args:r,options:t,file:undefined,original:{command:e,args:r}};return t.shell?parseShell(n):parseNonShell(n)}e.exports=parse},577:function(e){e.exports=getPageLinks;function getPageLinks(e){e=e.link||e.headers.link||"";const r={};e.replace(/<([^>]*)>;\s*rel="([\w]*)"/g,(e,t,n)=>{r[n]=t});return r}},586:function(e,r,t){e.exports=octokitRestApiEndpoints;const n=t(705);function octokitRestApiEndpoints(e){n.gitdata=n.git;n.authorization=n.oauthAuthorizations;n.pullRequests=n.pulls;e.registerEndpoints(n)}},605:function(e){e.exports=require("http")},613:function(e,r,t){const n=t(529);const i=[t(372),t(19),t(190),t(148),t(309),t(248),t(586),t(430),t(850)];e.exports=n.plugin(i)},614:function(e){e.exports=require("events")},621:function(e,r,t){"use strict";const n=t(622);const i=t(39);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[i()]},e);let r;let t=n.resolve(e.cwd);const s=[];while(r!==t){s.push(n.join(t,"node_modules/.bin"));r=t;t=n.resolve(t,"..")}s.push(n.dirname(process.execPath));return s.concat(e.path).join(n.delimiter)});e.exports.env=(r=>{r=Object.assign({env:process.env},r);const t=Object.assign({},r.env);const n=i({env:t});r.path=t[n];t[n]=e.exports(r);return t})},622:function(e){e.exports=require("path")},649:function(e,r,t){e.exports=getLastPage;const n=t(265);function getLastPage(e,r,t){return n(e,r,"last",t)}},650:function(e,r,t){e.exports=getUserAgentNode;const n=t(2);function getUserAgentNode(){try{return`Node.js/${process.version.substr(1)} (${n()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows "}throw e}}},654:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},669:function(e){e.exports=require("util")},674:function(e,r,t){e.exports=authenticate;const{Deprecation:n}=t(692);const i=t(969);const s=i((e,r)=>e.warn(r));function authenticate(e,r){s(e.octokit.log,new n('[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.'));if(!r){e.auth=false;return}switch(r.type){case"basic":if(!r.username||!r.password){throw new Error("Basic authentication requires both a username and password to be set")}break;case"oauth":if(!r.token&&!(r.key&&r.secret)){throw new Error("OAuth2 authentication requires a token or key & secret to be set")}break;case"token":case"app":if(!r.token){throw new Error("Token authentication requires a token to be set")}break;default:throw new Error("Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'")}e.auth=r}},675:function(e){e.exports=function btoa(e){return new Buffer(e).toString("base64")}},692:function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}r.Deprecation=Deprecation},696:function(e){"use strict";function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}function isObjectObject(e){return isObject(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var r,t;if(isObjectObject(e)===false)return false;r=e.constructor;if(typeof r!=="function")return false;t=r.prototype;if(isObjectObject(t)===false)return false;if(t.hasOwnProperty("isPrototypeOf")===false){return false}return true}e.exports=isPlainObject},697:function(e){"use strict";e.exports=((e,r)=>{r=r||(()=>{});return e.then(e=>new Promise(e=>{e(r())}).then(()=>e),e=>new Promise(e=>{e(r())}).then(()=>{throw e}))})},705:function(e){e.exports={activity:{checkStarringRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},deleteRepoSubscription:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},deleteThreadSubscription:{method:"DELETE",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},getRepoSubscription:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},getThread:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},getThreadSubscription:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},listEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/orgs/:org"},listEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events"},listFeeds:{method:"GET",params:{},url:"/feeds"},listNotifications:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},since:{type:"string"}},url:"/notifications"},listNotificationsForRepo:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/notifications"},listPublicEvents:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/events"},listPublicEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/events"},listPublicEventsForRepoNetwork:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/networks/:owner/:repo/events"},listPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/public"},listReceivedEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events"},listReceivedPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events/public"},listRepoEvents:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/events"},listReposStarredByAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/user/starred"},listReposStarredByUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/starred"},listReposWatchedByUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/subscriptions"},listStargazersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stargazers"},listWatchedReposForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/subscriptions"},listWatchersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscribers"},markAsRead:{method:"PUT",params:{last_read_at:{type:"string"}},url:"/notifications"},markNotificationsAsReadForRepo:{method:"PUT",params:{last_read_at:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/notifications"},markThreadAsRead:{method:"PATCH",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},setRepoSubscription:{method:"PUT",params:{ignored:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},subscribed:{type:"boolean"}},url:"/repos/:owner/:repo/subscription"},setThreadSubscription:{method:"PUT",params:{ignored:{type:"boolean"},thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},starRepo:{method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},unstarRepo:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"}},apps:{addRepoToInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"PUT",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},checkAccountIsAssociatedWithAny:{method:"GET",params:{account_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/accounts/:account_id"},checkAccountIsAssociatedWithAnyStubbed:{method:"GET",params:{account_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/accounts/:account_id"},createContentAttachment:{headers:{accept:"application/vnd.github.corsair-preview+json"},method:"POST",params:{body:{required:true,type:"string"},content_reference_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/content_references/:content_reference_id/attachments"},createFromManifest:{headers:{accept:"application/vnd.github.fury-preview+json"},method:"POST",params:{code:{required:true,type:"string"}},url:"/app-manifests/:code/conversions"},createInstallationToken:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"POST",params:{installation_id:{required:true,type:"integer"},permissions:{type:"object"},repository_ids:{type:"integer[]"}},url:"/app/installations/:installation_id/access_tokens"},deleteInstallation:{headers:{accept:"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},findOrgInstallation:{deprecated:"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},findRepoInstallation:{deprecated:"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},findUserInstallation:{deprecated:"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},getAuthenticated:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{},url:"/app"},getBySlug:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{app_slug:{required:true,type:"string"}},url:"/apps/:app_slug"},getInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},getOrgInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},getRepoInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},getUserInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},listAccountsUserOrOrgOnPlan:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/plans/:plan_id/accounts"},listAccountsUserOrOrgOnPlanStubbed:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/stubbed/plans/:plan_id/accounts"},listInstallationReposForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations/:installation_id/repositories"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/app/installations"},listInstallationsForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations"},listMarketplacePurchasesForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases"},listMarketplacePurchasesForAuthenticatedUserStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases/stubbed"},listPlans:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/plans"},listPlansStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/plans"},listRepos:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/installation/repositories"},removeRepoFromInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"}},checks:{create:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},head_sha:{required:true,type:"string"},name:{required:true,type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs"},createSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{head_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites"},get:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"},getSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id"},listAnnotations:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},listForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-runs"},listForSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},check_suite_id:{required:true,type:"integer"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},listSuitesForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{app_id:{type:"integer"},check_name:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-suites"},rerequestSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},setSuitesPreferences:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{auto_trigger_checks:{type:"object[]"},"auto_trigger_checks[].app_id":{required:true,type:"integer"},"auto_trigger_checks[].setting":{required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/preferences"},update:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},check_run_id:{required:true,type:"integer"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},name:{type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"}},codesOfConduct:{getConductCode:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{key:{required:true,type:"string"}},url:"/codes_of_conduct/:key"},getForRepo:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/code_of_conduct"},listConductCodes:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{},url:"/codes_of_conduct"}},emojis:{get:{method:"GET",params:{},url:"/emojis"}},gists:{checkIsStarred:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},create:{method:"POST",params:{description:{type:"string"},files:{required:true,type:"object"},"files.content":{type:"string"},public:{type:"boolean"}},url:"/gists"},createComment:{method:"POST",params:{body:{required:true,type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments"},delete:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},fork:{method:"POST",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/forks"},get:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},getRevision:{method:"GET",params:{gist_id:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/gists/:gist_id/:sha"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists"},listComments:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/comments"},listCommits:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/commits"},listForks:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/forks"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/public"},listPublicForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},username:{required:true,type:"string"}},url:"/users/:username/gists"},listStarred:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/starred"},star:{method:"PUT",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},unstar:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},update:{method:"PATCH",params:{description:{type:"string"},files:{type:"object"},"files.content":{type:"string"},"files.filename":{type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"}},git:{createBlob:{method:"POST",params:{content:{required:true,type:"string"},encoding:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs"},createCommit:{method:"POST",params:{author:{type:"object"},"author.date":{type:"string"},"author.email":{type:"string"},"author.name":{type:"string"},committer:{type:"object"},"committer.date":{type:"string"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},parents:{required:true,type:"string[]"},repo:{required:true,type:"string"},signature:{type:"string"},tree:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits"},createRef:{method:"POST",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs"},createTag:{method:"POST",params:{message:{required:true,type:"string"},object:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"},tagger:{type:"object"},"tagger.date":{type:"string"},"tagger.email":{type:"string"},"tagger.name":{type:"string"},type:{enum:["commit","tree","blob"],required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags"},createTree:{method:"POST",params:{base_tree:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tree:{required:true,type:"object[]"},"tree[].content":{type:"string"},"tree[].mode":{enum:["100644","100755","040000","160000","120000"],type:"string"},"tree[].path":{type:"string"},"tree[].sha":{type:"string"},"tree[].type":{enum:["blob","tree","commit"],type:"string"}},url:"/repos/:owner/:repo/git/trees"},deleteRef:{method:"DELETE",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getBlob:{method:"GET",params:{file_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs/:file_sha"},getCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits/:commit_sha"},getRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags/:tag_sha"},getTree:{method:"GET",params:{owner:{required:true,type:"string"},recursive:{enum:[1],type:"integer"},repo:{required:true,type:"string"},tree_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/trees/:tree_sha"},listRefs:{method:"GET",params:{namespace:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:namespace"},updateRef:{method:"PATCH",params:{force:{type:"boolean"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"}},gitignore:{getTemplate:{method:"GET",params:{name:{required:true,type:"string"}},url:"/gitignore/templates/:name"},listTemplates:{method:"GET",params:{},url:"/gitignore/templates"}},interactions:{addOrUpdateRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},addOrUpdateRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},getRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},getRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},removeRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},removeRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"}},issues:{addAssignees:{method:"POST",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},addLabels:{method:"POST",params:{issue_number:{required:true,type:"integer"},labels:{required:true,type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},checkAssignee:{method:"GET",params:{assignee:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees/:assignee"},create:{method:"POST",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},labels:{type:"string[]"},milestone:{type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues"},createComment:{method:"POST",params:{body:{required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},createLabel:{method:"POST",params:{color:{required:true,type:"string"},description:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},createMilestone:{method:"POST",params:{description:{type:"string"},due_on:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},deleteLabel:{method:"DELETE",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},deleteMilestone:{method:"DELETE",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},get:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},getEvent:{method:"GET",params:{event_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events/:event_id"},getLabel:{method:"GET",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},getMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},list:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/issues"},listAssignees:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees"},listComments:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/issues/comments"},listEvents:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/events"},listEventsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events"},listEventsForTimeline:{headers:{accept:"application/vnd.github.mockingbird-preview+json"},method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/timeline"},listForAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/user/issues"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/issues"},listForRepo:{method:"GET",params:{assignee:{type:"string"},creator:{type:"string"},direction:{enum:["asc","desc"],type:"string"},labels:{type:"string"},mentioned:{type:"string"},milestone:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/issues"},listLabelsForMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number/labels"},listLabelsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},listLabelsOnIssue:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},listMilestonesForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["due_on","completeness"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/milestones"},lock:{method:"PUT",params:{issue_number:{required:true,type:"integer"},lock_reason:{enum:["off-topic","too heated","resolved","spam"],type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},removeAssignees:{method:"DELETE",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},removeLabel:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},name:{required:true,type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels/:name"},removeLabels:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},replaceLabels:{method:"PUT",params:{issue_number:{required:true,type:"integer"},labels:{type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},unlock:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},update:{method:"PATCH",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},issue_number:{required:true,type:"integer"},labels:{type:"string[]"},milestone:{allowNull:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},updateLabel:{method:"PATCH",params:{color:{type:"string"},current_name:{required:true,type:"string"},description:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:current_name"},updateMilestone:{method:"PATCH",params:{description:{type:"string"},due_on:{type:"string"},milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"}},licenses:{get:{method:"GET",params:{license:{required:true,type:"string"}},url:"/licenses/:license"},getForRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/license"},list:{deprecated:"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",method:"GET",params:{},url:"/licenses"},listCommonlyUsed:{method:"GET",params:{},url:"/licenses"}},markdown:{render:{method:"POST",params:{context:{type:"string"},mode:{enum:["markdown","gfm"],type:"string"},text:{required:true,type:"string"}},url:"/markdown"},renderRaw:{headers:{"content-type":"text/plain; charset=utf-8"},method:"POST",params:{data:{mapTo:"data",required:true,type:"string"}},url:"/markdown/raw"}},meta:{get:{method:"GET",params:{},url:"/meta"}},migrations:{cancelImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},deleteArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},deleteArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},getArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getCommitAuthors:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/import/authors"},getImportProgress:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},getLargeFiles:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/large_files"},getStatusForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id"},getStatusForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id"},listForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/migrations"},listForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations"},mapCommitAuthor:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{author_id:{required:true,type:"integer"},email:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/authors/:author_id"},setLfsPreference:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},use_lfs:{enum:["opt_in","opt_out"],required:true,type:"string"}},url:"/repos/:owner/:repo/import/lfs"},startForAuthenticatedUser:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},repositories:{required:true,type:"string[]"}},url:"/user/migrations"},startForOrg:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},org:{required:true,type:"string"},repositories:{required:true,type:"string[]"}},url:"/orgs/:org/migrations"},startImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tfvc_project:{type:"string"},vcs:{enum:["subversion","git","mercurial","tfvc"],type:"string"},vcs_password:{type:"string"},vcs_url:{required:true,type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"},unlockRepoForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},repo_name:{required:true,type:"string"}},url:"/user/migrations/:migration_id/repos/:repo_name/lock"},unlockRepoForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"},repo_name:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},updateImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},vcs_password:{type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"}},oauthAuthorizations:{checkAuthorization:{method:"GET",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},createAuthorization:{method:"POST",params:{client_id:{type:"string"},client_secret:{type:"string"},fingerprint:{type:"string"},note:{required:true,type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations"},deleteAuthorization:{method:"DELETE",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},deleteGrant:{method:"DELETE",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getAuthorization:{method:"GET",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},getGrant:{method:"GET",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getOrCreateAuthorizationForApp:{method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id"},getOrCreateAuthorizationForAppAndFingerprint:{method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},getOrCreateAuthorizationForAppFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},listAuthorizations:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/authorizations"},listGrants:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/applications/grants"},resetAuthorization:{method:"POST",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeAuthorizationForApplication:{method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/grants/:access_token"},updateAuthorization:{method:"PATCH",params:{add_scopes:{type:"string[]"},authorization_id:{required:true,type:"integer"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},remove_scopes:{type:"string[]"},scopes:{type:"string[]"}},url:"/authorizations/:authorization_id"}},orgs:{addOrUpdateMembership:{method:"PUT",params:{org:{required:true,type:"string"},role:{enum:["admin","member"],type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},blockUser:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkBlockedUser:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},checkPublicMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},concealMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},convertMemberToOutsideCollaborator:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks"},createInvitation:{method:"POST",params:{email:{type:"string"},invitee_id:{type:"integer"},org:{required:true,type:"string"},role:{enum:["admin","direct_member","billing_manager"],type:"string"},team_ids:{type:"integer[]"}},url:"/orgs/:org/invitations"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},get:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},getMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},getMembershipForAuthenticatedUser:{method:"GET",params:{org:{required:true,type:"string"}},url:"/user/memberships/orgs/:org"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/organizations"},listBlockedUsers:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/blocks"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/orgs"},listForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/orgs"},listHooks:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/hooks"},listInvitationTeams:{method:"GET",params:{invitation_id:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations/:invitation_id/teams"},listMembers:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["all","admin","member"],type:"string"}},url:"/orgs/:org/members"},listMemberships:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["active","pending"],type:"string"}},url:"/user/memberships/orgs"},listOutsideCollaborators:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/outside_collaborators"},listPendingInvitations:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations"},listPublicMembers:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/public_members"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id/pings"},publicizeMembership:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},removeMember:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},removeMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},removeOutsideCollaborator:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},unblockUser:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},update:{method:"PATCH",params:{billing_email:{type:"string"},company:{type:"string"},default_repository_permission:{enum:["read","write","admin","none"],type:"string"},description:{type:"string"},email:{type:"string"},has_organization_projects:{type:"boolean"},has_repository_projects:{type:"boolean"},location:{type:"string"},members_allowed_repository_creation_type:{enum:["all","private","none"],type:"string"},members_can_create_repositories:{type:"boolean"},name:{type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},updateMembership:{method:"PATCH",params:{org:{required:true,type:"string"},state:{enum:["active"],required:true,type:"string"}},url:"/user/memberships/orgs/:org"}},projects:{addCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},createCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},content_id:{type:"integer"},content_type:{type:"string"},note:{type:"string"}},url:"/projects/columns/:column_id/cards"},createColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{name:{required:true,type:"string"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},createForAuthenticatedUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/projects"},createForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/projects"},createForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/projects"},delete:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},deleteCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},deleteColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},get:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},getCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},getColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},listCards:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{archived_state:{enum:["all","archived","not_archived"],type:"string"},column_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/projects/columns/:column_id/cards"},listCollaborators:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/collaborators"},listColumns:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},listForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/projects"},listForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/projects"},listForUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/projects"},moveCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{card_id:{required:true,type:"integer"},column_id:{type:"integer"},position:{required:true,type:"string",validation:"^(top|bottom|after:\\d+)$"}},url:"/projects/columns/cards/:card_id/moves"},moveColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},position:{required:true,type:"string",validation:"^(first|last|after:\\d+)$"}},url:"/projects/columns/:column_id/moves"},removeCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},reviewUserPermissionLevel:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username/permission"},update:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{body:{type:"string"},name:{type:"string"},organization_permission:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},private:{type:"boolean"},project_id:{required:true,type:"integer"},state:{enum:["open","closed"],type:"string"}},url:"/projects/:project_id"},updateCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{archived:{type:"boolean"},card_id:{required:true,type:"integer"},note:{type:"string"}},url:"/projects/columns/cards/:card_id"},updateColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{column_id:{required:true,type:"integer"},name:{required:true,type:"string"}},url:"/projects/columns/:column_id"}},pulls:{checkIfMerged:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},create:{method:"POST",params:{base:{required:true,type:"string"},body:{type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createComment:{method:"POST",params:{body:{required:true,type:"string"},commit_id:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},path:{required:true,type:"string"},position:{required:true,type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createCommentReply:{method:"POST",params:{body:{required:true,type:"string"},in_reply_to:{required:true,type:"integer"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createFromIssue:{method:"POST",params:{base:{required:true,type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},issue:{required:true,type:"integer"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createReview:{method:"POST",params:{body:{type:"string"},comments:{type:"object[]"},"comments[].body":{required:true,type:"string"},"comments[].path":{required:true,type:"string"},"comments[].position":{required:true,type:"integer"},commit_id:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},createReviewRequest:{method:"POST",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},deletePendingReview:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},deleteReviewRequest:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},dismissReview:{method:"PUT",params:{message:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},get:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},getCommentsForReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},getReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},list:{method:"GET",params:{base:{type:"string"},direction:{enum:["asc","desc"],type:"string"},head:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["created","updated","popularity","long-running"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/pulls"},listComments:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/comments"},listCommits:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/commits"},listFiles:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/files"},listReviewRequests:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},listReviews:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},merge:{method:"PUT",params:{commit_message:{type:"string"},commit_title:{type:"string"},merge_method:{enum:["merge","squash","rebase"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},submitReview:{method:"POST",params:{body:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},update:{method:"PATCH",params:{base:{type:"string"},body:{type:"string"},maintainer_can_modify:{type:"boolean"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},updateBranch:{headers:{accept:"application/vnd.github.lydian-preview+json"},method:"PUT",params:{expected_head_sha:{type:"string"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/update-branch"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},updateReview:{method:"PUT",params:{body:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},rateLimit:{get:{method:"GET",params:{},url:"/rate_limit"}},reactions:{createForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},createForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},createForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},createForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},createForTeamDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},createForTeamDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},delete:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"DELETE",params:{reaction_id:{required:true,type:"integer"}},url:"/reactions/:reaction_id"},listForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},listForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},listForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},listForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},listForTeamDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},listForTeamDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"}},repos:{acceptInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},addCollaborator:{method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},addDeployKey:{method:"POST",params:{key:{required:true,type:"string"},owner:{required:true,type:"string"},read_only:{type:"boolean"},repo:{required:true,type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/keys"},addProtectedBranchAdminEnforcement:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},addProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},addProtectedBranchRequiredStatusChecksContexts:{method:"POST",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},addProtectedBranchTeamRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},addProtectedBranchUserRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},checkCollaborator:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},checkVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},compareCommits:{method:"GET",params:{base:{required:true,type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/compare/:base...:head"},createCommitComment:{method:"POST",params:{body:{required:true,type:"string"},commit_sha:{required:true,type:"string"},line:{type:"integer"},owner:{required:true,type:"string"},path:{type:"string"},position:{type:"integer"},repo:{required:true,type:"string"},sha:{alias:"commit_sha",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},createDeployment:{method:"POST",params:{auto_merge:{type:"boolean"},description:{type:"string"},environment:{type:"string"},owner:{required:true,type:"string"},payload:{type:"string"},production_environment:{type:"boolean"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},required_contexts:{type:"string[]"},task:{type:"string"},transient_environment:{type:"boolean"}},url:"/repos/:owner/:repo/deployments"},createDeploymentStatus:{method:"POST",params:{auto_inactive:{type:"boolean"},deployment_id:{required:true,type:"integer"},description:{type:"string"},environment:{enum:["production","staging","qa"],type:"string"},environment_url:{type:"string"},log_url:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["error","failure","inactive","in_progress","queued","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},createFile:{deprecated:"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createForAuthenticatedUser:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"}},url:"/user/repos"},createFork:{method:"POST",params:{organization:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/forks"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},createInOrg:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"}},url:"/orgs/:org/repos"},createOrUpdateFile:{method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createRelease:{method:"POST",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},repo:{required:true,type:"string"},tag_name:{required:true,type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases"},createStatus:{method:"POST",params:{context:{type:"string"},description:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"},state:{enum:["error","failure","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/statuses/:sha"},createUsingTemplate:{headers:{accept:"application/vnd.github.baptiste-preview+json"},method:"POST",params:{description:{type:"string"},name:{required:true,type:"string"},owner:{type:"string"},private:{type:"boolean"},template_owner:{required:true,type:"string"},template_repo:{required:true,type:"string"}},url:"/repos/:template_owner/:template_repo/generate"},declineInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},delete:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},deleteCommitComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},deleteDownload:{method:"DELETE",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},deleteFile:{method:"DELETE",params:{author:{type:"object"},"author.email":{type:"string"},"author.name":{type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},deleteInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},deleteRelease:{method:"DELETE",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},deleteReleaseAsset:{method:"DELETE",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},disableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},disablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},disableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},enableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},enablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{type:"object"},"source.branch":{enum:["master","gh-pages"],type:"string"},"source.path":{type:"string"}},url:"/repos/:owner/:repo/pages"},enableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},get:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},getArchiveLink:{method:"GET",params:{archive_format:{required:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/:archive_format/:ref"},getBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch"},getBranchProtection:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},getClones:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/clones"},getCodeFrequencyStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/code_frequency"},getCollaboratorPermissionLevel:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username/permission"},getCombinedStatusForRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/status"},getCommit:{method:"GET",params:{commit_sha:{alias:"ref",deprecated:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{alias:"commit_sha",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getCommitActivityStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/commit_activity"},getCommitComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},getCommitRefSha:{deprecated:'"Get the SHA-1 of a commit reference" will be removed. Use "Get a single commit" instead with media type format set to "sha" instead.',method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getContents:{method:"GET",params:{owner:{required:true,type:"string"},path:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},getContributorsStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/contributors"},getDeployKey:{method:"GET",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},getDeployment:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id"},getDeploymentStatus:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},status_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},getDownload:{method:"GET",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},getLatestPagesBuild:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/latest"},getLatestRelease:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/latest"},getPages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},getPagesBuild:{method:"GET",params:{build_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/:build_id"},getParticipationStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/participation"},getProtectedBranchAdminEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},getProtectedBranchPullRequestReviewEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},getProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},getProtectedBranchRequiredStatusChecks:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},getProtectedBranchRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},getPunchCardStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/punch_card"},getReadme:{method:"GET",params:{owner:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/readme"},getRelease:{method:"GET",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},getReleaseAsset:{method:"GET",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},getReleaseByTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/tags/:tag"},getTopPaths:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/paths"},getTopReferrers:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/referrers"},getViews:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/views"},list:{method:"GET",params:{affiliation:{type:"string"},direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","public","private","member"],type:"string"},visibility:{enum:["all","public","private"],type:"string"}},url:"/user/repos"},listAssetsForRelease:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id/assets"},listBranches:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},protected:{type:"boolean"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches"},listBranchesForHeadCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},listCollaborators:{method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators"},listCommentsForCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{alias:"commit_sha",deprecated:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},listCommitComments:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments"},listCommits:{method:"GET",params:{author:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},path:{type:"string"},per_page:{type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"},since:{type:"string"},until:{type:"string"}},url:"/repos/:owner/:repo/commits"},listContributors:{method:"GET",params:{anon:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contributors"},listDeployKeys:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys"},listDeploymentStatuses:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},listDeployments:{method:"GET",params:{environment:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{type:"string"},repo:{required:true,type:"string"},sha:{type:"string"},task:{type:"string"}},url:"/repos/:owner/:repo/deployments"},listDownloads:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","public","private","forks","sources","member"],type:"string"}},url:"/orgs/:org/repos"},listForUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","member"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/repos"},listForks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["newest","oldest","stargazers"],type:"string"}},url:"/repos/:owner/:repo/forks"},listHooks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},listInvitations:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations"},listInvitationsForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/repository_invitations"},listLanguages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/languages"},listPagesBuilds:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},listProtectedBranchRequiredStatusChecksContexts:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},listProtectedBranchTeamRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listProtectedBranchUserRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/repositories"},listPullRequestsAssociatedWithCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/pulls"},listReleases:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases"},listStatusesForRef:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/statuses"},listTags:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/tags"},listTeams:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/teams"},listTopics:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},merge:{method:"POST",params:{base:{required:true,type:"string"},commit_message:{type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/merges"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/pings"},removeBranchProtection:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},removeCollaborator:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},removeDeployKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},removeProtectedBranchAdminEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},removeProtectedBranchPullRequestReviewEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},removeProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},removeProtectedBranchRequiredStatusChecks:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},removeProtectedBranchRequiredStatusChecksContexts:{method:"DELETE",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},removeProtectedBranchRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},removeProtectedBranchTeamRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},removeProtectedBranchUserRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceProtectedBranchRequiredStatusChecksContexts:{method:"PUT",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},replaceProtectedBranchTeamRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},replaceProtectedBranchUserRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceTopics:{method:"PUT",params:{names:{required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},requestPageBuild:{headers:{accept:"application/vnd.github.mister-fantastic-preview+json"},method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},retrieveCommunityProfileMetrics:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/profile"},testPushHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/tests"},transfer:{headers:{accept:"application/vnd.github.nightshade-preview+json"},method:"POST",params:{new_owner:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_ids:{type:"integer[]"}},url:"/repos/:owner/:repo/transfer"},update:{method:"PATCH",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},archived:{type:"boolean"},default_branch:{type:"string"},description:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},private:{type:"boolean"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},updateBranchProtection:{method:"PUT",params:{branch:{required:true,type:"string"},enforce_admins:{allowNull:true,required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},required_pull_request_reviews:{allowNull:true,required:true,type:"object"},"required_pull_request_reviews.dismiss_stale_reviews":{type:"boolean"},"required_pull_request_reviews.dismissal_restrictions":{type:"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{type:"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{type:"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{type:"boolean"},"required_pull_request_reviews.required_approving_review_count":{type:"integer"},required_status_checks:{allowNull:true,required:true,type:"object"},"required_status_checks.contexts":{required:true,type:"string[]"},"required_status_checks.strict":{required:true,type:"boolean"},restrictions:{allowNull:true,required:true,type:"object"},"restrictions.teams":{type:"string[]"},"restrictions.users":{type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection"},updateCommitComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},updateFile:{deprecated:"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},add_events:{type:"string[]"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},remove_events:{type:"string[]"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},updateInformationAboutPagesSite:{method:"PUT",params:{cname:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{enum:['"gh-pages"','"master"','"master /docs"'],type:"string"}},url:"/repos/:owner/:repo/pages"},updateInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},permissions:{enum:["read","write","admin"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},updateProtectedBranchPullRequestReviewEnforcement:{method:"PATCH",params:{branch:{required:true,type:"string"},dismiss_stale_reviews:{type:"boolean"},dismissal_restrictions:{type:"object"},"dismissal_restrictions.teams":{type:"string[]"},"dismissal_restrictions.users":{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},require_code_owner_reviews:{type:"boolean"},required_approving_review_count:{type:"integer"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},updateProtectedBranchRequiredStatusChecks:{method:"PATCH",params:{branch:{required:true,type:"string"},contexts:{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},strict:{type:"boolean"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},updateRelease:{method:"PATCH",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"},tag_name:{type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},updateReleaseAsset:{method:"PATCH",params:{asset_id:{required:true,type:"integer"},label:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},uploadReleaseAsset:{method:"POST",params:{file:{mapTo:"data",required:true,type:"string | object"},headers:{required:true,type:"object"},"headers.content-length":{required:true,type:"integer"},"headers.content-type":{required:true,type:"string"},label:{type:"string"},name:{required:true,type:"string"},url:{required:true,type:"string"}},url:":url"}},search:{code:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["indexed"],type:"string"}},url:"/search/code"},commits:{headers:{accept:"application/vnd.github.cloak-preview+json"},method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["author-date","committer-date"],type:"string"}},url:"/search/commits"},issues:{deprecated:"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},issuesAndPullRequests:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},labels:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},q:{required:true,type:"string"},repository_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/search/labels"},repos:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["stars","forks","help-wanted-issues","updated"],type:"string"}},url:"/search/repositories"},topics:{method:"GET",params:{q:{required:true,type:"string"}},url:"/search/topics"},users:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["followers","repositories","joined"],type:"string"}},url:"/search/users"}},teams:{addMember:{method:"PUT",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},addOrUpdateMembership:{method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateProject:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateRepo:{method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},create:{method:"POST",params:{description:{type:"string"},maintainers:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},repo_names:{type:"string[]"}},url:"/orgs/:org/teams"},createDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"POST",params:{body:{required:true,type:"string"},private:{type:"boolean"},team_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/teams/:team_id/discussions"},createDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"POST",params:{body:{required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},delete:{method:"DELETE",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},deleteDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"DELETE",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"DELETE",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},get:{method:"GET",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},getByName:{method:"GET",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug"},getDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getMember:{method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},getMembership:{method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},list:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/teams"},listChild:{headers:{accept:"application/vnd.github.hellcat-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/teams"},listDiscussionComments:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussions:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/teams"},listMembers:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/members"},listPendingInvitations:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/invitations"},listProjects:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects"},listRepos:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos"},removeMember:{method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},removeMembership:{method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeProject:{method:"DELETE",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeRepo:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},reviewProject:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},update:{method:"PATCH",params:{description:{type:"string"},name:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},updateDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"PATCH",params:{body:{type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"PATCH",params:{body:{required:true,type:"string"},comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"}},users:{addEmails:{method:"POST",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},block:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkBlocked:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkFollowing:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},checkFollowingForUser:{method:"GET",params:{target_user:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/users/:username/following/:target_user"},createGpgKey:{method:"POST",params:{armored_public_key:{type:"string"}},url:"/user/gpg_keys"},createPublicKey:{method:"POST",params:{key:{type:"string"},title:{type:"string"}},url:"/user/keys"},deleteEmails:{method:"DELETE",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},deleteGpgKey:{method:"DELETE",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},deletePublicKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},follow:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},getAuthenticated:{method:"GET",params:{},url:"/user"},getByUsername:{method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username"},getContextForUser:{headers:{accept:"application/vnd.github.hagar-preview+json"},method:"GET",params:{subject_id:{type:"string"},subject_type:{enum:["organization","repository","issue","pull_request"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/hovercard"},getGpgKey:{method:"GET",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},getPublicKey:{method:"GET",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/users"},listBlocked:{method:"GET",params:{},url:"/user/blocks"},listEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/emails"},listFollowersForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/followers"},listFollowersForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/followers"},listFollowingForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/following"},listFollowingForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/following"},listGpgKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/gpg_keys"},listGpgKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/gpg_keys"},listPublicEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/public_emails"},listPublicKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/keys"},listPublicKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/keys"},togglePrimaryEmailVisibility:{method:"PATCH",params:{email:{required:true,type:"string"},visibility:{required:true,type:"string"}},url:"/user/email/visibility"},unblock:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},unfollow:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},updateAuthenticated:{method:"PATCH",params:{bio:{type:"string"},blog:{type:"string"},company:{type:"string"},email:{type:"string"},hireable:{type:"boolean"},location:{type:"string"},name:{type:"string"}},url:"/user"}}}},742:function(e,r,t){var n=t(747);var i;if(process.platform==="win32"||global.TESTING_WINDOWS){i=t(818)}else{i=t(197)}e.exports=isexe;isexe.sync=sync;function isexe(e,r,t){if(typeof r==="function"){t=r;r={}}if(!t){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(t,n){isexe(e,r||{},function(e,r){if(e){n(e)}else{t(r)}})})}i(e,r||{},function(e,n){if(e){if(e.code==="EACCES"||r&&r.ignoreErrors){e=null;n=false}}t(e,n)})}function sync(e,r){try{return i.sync(e,r||{})}catch(e){if(r&&r.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},747:function(e){e.exports=require("fs")},753:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(385);var i=t(796);var s=_interopDefault(t(696));var o=_interopDefault(t(454));var a=t(463);const u="0.0.0-development";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(s(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let r={};let t;let n;const i=e.request&&e.request.fetch||o;return i(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(i=>{n=i.url;t=i.status;for(const e of i.headers){r[e[0]]=e[1]}if(t===204||t===205){return}if(e.method==="HEAD"){if(t<400){return}throw new a.RequestError(i.statusText,t,{headers:r,request:e})}if(t===304){throw new a.RequestError("Not modified",t,{headers:r,request:e})}if(t>=400){return i.text().then(n=>{const i=new a.RequestError(n,t,{headers:r,request:e});try{Object.assign(i,JSON.parse(i.message))}catch(e){}throw i})}const s=i.headers.get("content-type");if(/application\/json/.test(s)){return i.json()}if(!s||/^text\/|charset=utf-8$/.test(s)){return i.text()}return getBufferResponse(i)}).then(e=>{return{status:t,url:n,headers:r,data:e}}).catch(t=>{if(t instanceof a.RequestError){throw t}throw new a.RequestError(t.message,500,{headers:r,request:e})})}function withDefaults(e,r){const t=e.defaults(r);const n=function(e,r){const n=t.merge(e,r);if(!n.request||!n.request.hook){return fetchWrapper(t.parse(n))}const i=(e,r)=>{return fetchWrapper(t.parse(t.merge(e,r)))};Object.assign(i,{endpoint:t,defaults:withDefaults.bind(null,t)});return n.request.hook(i,n)};return Object.assign(n,{endpoint:t,defaults:withDefaults.bind(null,t)})}const p=withDefaults(n.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${i.getUserAgent()}`}});r.request=p},761:function(e){e.exports=require("zlib")},763:function(e){e.exports=removeHook;function removeHook(e,r,t){if(!e.registry[r]){return}var n=e.registry[r].map(function(e){return e.orig}).indexOf(t);if(n===-1){return}e.registry[r].splice(n,1)}},768:function(e){"use strict";e.exports=function(e){var r=typeof e==="string"?"\n":"\n".charCodeAt();var t=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===r){e=e.slice(0,e.length-1)}if(e[e.length-1]===t){e=e.slice(0,e.length-1)}return e}},777:function(e,r,t){e.exports=getFirstPage;const n=t(265);function getFirstPage(e,r,t){return n(e,r,"first",t)}},796:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2));function getUserAgent(){try{return`Node.js/${process.version.substr(1)} (${n()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows "}throw e}}r.getUserAgent=getUserAgent},807:function(e,r,t){e.exports=paginate;const n=t(8);function paginate(e,r,t,i){if(typeof t==="function"){i=t;t=undefined}t=e.request.endpoint.merge(r,t);return gather(e,[],n(e,t)[Symbol.asyncIterator](),i)}function gather(e,r,t,n){return t.next().then(i=>{if(i.done){return r}let s=false;function done(){s=true}r=r.concat(n?n(i.value,done):i.value.data);if(s){return r}return gather(e,r,t,n)})}},814:function(e,r,t){e.exports=which;which.sync=whichSync;var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var i=t(622);var s=n?";":":";var o=t(742);function getNotFoundError(e){var r=new Error("not found: "+e);r.code="ENOENT";return r}function getPathInfo(e,r){var t=r.colon||s;var i=r.path||process.env.PATH||"";var o=[""];i=i.split(t);var a="";if(n){i.unshift(process.cwd());a=r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";o=a.split(t);if(e.indexOf(".")!==-1&&o[0]!=="")o.unshift("")}if(e.match(/\//)||n&&e.match(/\\/))i=[""];return{env:i,ext:o,extExe:a}}function which(e,r,t){if(typeof r==="function"){t=r;r={}}var n=getPathInfo(e,r);var s=n.env;var a=n.ext;var u=n.extExe;var p=[];(function F(n,c){if(n===c){if(r.all&&p.length)return t(null,p);else return t(getNotFoundError(e))}var d=s[n];if(d.charAt(0)==='"'&&d.slice(-1)==='"')d=d.slice(1,-1);var l=i.join(d,e);if(!d&&/^\.[\\\/]/.test(e)){l=e.slice(0,2)+l}(function E(e,i){if(e===i)return F(n+1,c);var s=a[e];o(l+s,{pathExt:u},function(n,o){if(!n&&o){if(r.all)p.push(l+s);else return t(null,l+s)}return E(e+1,i)})})(0,a.length)})(0,s.length)}function whichSync(e,r){r=r||{};var t=getPathInfo(e,r);var n=t.env;var s=t.ext;var a=t.extExe;var u=[];for(var p=0,c=n.length;p-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r{return e.auth()}).then(e=>{r.headers.authorization=i(e)})}},866:function(e,r,t){"use strict";var n=t(816);e.exports=function(e){var r=e.match(n);if(!r){return null}var t=r[0].replace(/#! ?/,"").split(" ");var i=t[0].split("/").pop();var s=t[1];return i==="env"?s:i+(s?" "+s:"")}},881:function(e){"use strict";const r=process.platform==="win32";function notFoundError(e,r){return Object.assign(new Error(`${r} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,t){if(!r){return}const n=e.emit;e.emit=function(r,i){if(r==="exit"){const r=verifyENOENT(i,t,"spawn");if(r){return n.call(e,"error",r)}}return n.apply(e,arguments)}}function verifyENOENT(e,t){if(r&&e===1&&!t.file){return notFoundError(t.original,"spawn")}return null}function verifyENOENTSync(e,t){if(r&&e===1&&!t.file){return notFoundError(t.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},883:function(e){var r="Expected a function";var t="__lodash_hash_undefined__";var n=1/0,i=9007199254740991;var s="[object Function]",o="[object GeneratorFunction]",a="[object Symbol]";var u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/,c=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var l=/[\\^$.*+?()[\]{}|]/g;var g=/\\(\\)?/g;var m=/^\[object .+?Constructor\]$/;var h=/^(?:0|[1-9]\d*)$/;var y=typeof global=="object"&&global&&global.Object===Object&&global;var f=typeof self=="object"&&self&&self.Object===Object&&self;var b=y||f||Function("return this")();function getValue(e,r){return e==null?undefined:e[r]}function isHostObject(e){var r=false;if(e!=null&&typeof e.toString!="function"){try{r=!!(e+"")}catch(e){}}return r}var _=Array.prototype,q=Function.prototype,w=Object.prototype;var v=b["__core-js_shared__"];var E=function(){var e=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var T=q.toString;var j=w.hasOwnProperty;var S=w.toString;var P=RegExp("^"+T.call(j).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var C=b.Symbol,k=_.splice;var O=getNative(b,"Map"),x=getNative(Object,"create");var G=C?C.prototype:undefined,R=G?G.toString:undefined;function Hash(e){var r=-1,t=e?e.length:0;this.clear();while(++r-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r-1&&e%1==0&&e{if(!e[t]){e[t]={}}Object.keys(r[t]).forEach(i=>{const s=r[t][i];const o=["method","url","headers"].reduce((e,r)=>{if(typeof s[r]!=="undefined"){e[r]=s[r]}return e},{});o.request={validate:s.params};let a=e.request.defaults(o);const u=Object.keys(s.params||{}).find(e=>s.params[e].deprecated);if(u){const r=patchForDeprecation.bind(null,e,s);a=r(e.request.defaults(o),`.${t}.${i}()`);a.endpoint=r(a.endpoint,`.${t}.${i}.endpoint()`);a.endpoint.merge=r(a.endpoint.merge,`.${t}.${i}.endpoint.merge()`)}if(s.deprecated){e[t][i]=function deprecatedEndpointMethod(){e.log.warn(new n(`[@octokit/rest] ${s.deprecated}`));e[t][i]=a;return a.apply(null,arguments)};return}e[t][i]=a})})}function patchForDeprecation(e,r,t,i){const s=s=>{s=Object.assign({},s);Object.keys(s).forEach(t=>{if(r.params[t]&&r.params[t].deprecated){const o=r.params[t].alias;e.log.warn(new n(`[@octokit/rest] "${t}" parameter is deprecated for "${i}". Use "${o}" instead`));if(!(o in s)){s[o]=s[t]}delete s[t]}});return t(s)};Object.keys(t).forEach(e=>{s[e]=t[e]});return s}},929:function(e,r,t){e.exports=hasNextPage;const n=t(370);const i=t(577);function hasNextPage(e){n(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).next}},948:function(e){"use strict";e.exports=function(e){try{return e()}catch(e){}}},954:function(e){e.exports=validateAuth;function validateAuth(e){if(typeof e==="string"){return}if(typeof e==="function"){return}if(e.username&&e.password){return}if(e.clientId&&e.clientSecret){return}throw new Error(`Invalid "auth" option: ${JSON.stringify(e)}`)}},955:function(e,r,t){"use strict";const n=t(622);const i=t(129);const s=t(20);const o=t(768);const a=t(621);const u=t(323);const p=t(145);const c=t(697);const d=t(260);const l=t(427);const g=t(168);const m=1e3*1e3*10;function handleArgs(e,r,t){let i;t=Object.assign({extendEnv:true,env:{}},t);if(t.extendEnv){t.env=Object.assign({},process.env,t.env)}if(t.__winShell===true){delete t.__winShell;i={command:e,args:r,options:t,file:e,original:{cmd:e,args:r}}}else{i=s._parse(e,r,t)}t=Object.assign({maxBuffer:m,buffer:true,stripEof:true,preferLocal:true,localDir:i.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},i.options);t.stdio=g(t);if(t.preferLocal){t.env=a.env(Object.assign({},t,{cwd:t.localDir}))}if(t.detached){t.cleanup=false}if(process.platform==="win32"&&n.basename(i.command)==="cmd.exe"){i.args.unshift("/q")}return{cmd:i.command,args:i.args,opts:t,parsed:i}}function handleInput(e,r){if(r===null||r===undefined){return}if(u(r)){r.pipe(e.stdin)}else{e.stdin.end(r)}}function handleOutput(e,r){if(r&&e.stripEof){r=o(r)}return r}function handleShell(e,r,t){let n="/bin/sh";let i=["-c",r];t=Object.assign({},t);if(process.platform==="win32"){t.__winShell=true;n=process.env.comspec||"cmd.exe";i=["/s","/c",`"${r}"`];t.windowsVerbatimArguments=true}if(t.shell){n=t.shell;delete t.shell}return e(n,i,t)}function getStream(e,r,{encoding:t,buffer:n,maxBuffer:i}){if(!e[r]){return null}let s;if(!n){s=new Promise((t,n)=>{e[r].once("end",t).once("error",n)})}else if(t){s=p(e[r],{encoding:t,maxBuffer:i})}else{s=p.buffer(e[r],{maxBuffer:i})}return s.catch(e=>{e.stream=r;e.message=`${r} ${e.message}`;throw e})}function makeError(e,r){const{stdout:t,stderr:n}=e;let i=e.error;const{code:s,signal:o}=e;const{parsed:a,joinedCmd:u}=r;const p=r.timedOut||false;if(!i){let e="";if(Array.isArray(a.opts.stdio)){if(a.opts.stdio[2]!=="inherit"){e+=e.length>0?n:`\n${n}`}if(a.opts.stdio[1]!=="inherit"){e+=`\n${t}`}}else if(a.opts.stdio!=="inherit"){e=`\n${n}${t}`}i=new Error(`Command failed: ${u}${e}`);i.code=s<0?l(s):s}i.stdout=t;i.stderr=n;i.failed=true;i.signal=o||null;i.cmd=u;i.timedOut=p;return i}function joinCmd(e,r){let t=e;if(Array.isArray(r)&&r.length>0){t+=" "+r.join(" ")}return t}e.exports=((e,r,t)=>{const n=handleArgs(e,r,t);const{encoding:o,buffer:a,maxBuffer:u}=n.opts;const p=joinCmd(e,r);let l;try{l=i.spawn(n.cmd,n.args,n.opts)}catch(e){return Promise.reject(e)}let g;if(n.opts.cleanup){g=d(()=>{l.kill()})}let m=null;let h=false;const y=()=>{if(m){clearTimeout(m);m=null}if(g){g()}};if(n.opts.timeout>0){m=setTimeout(()=>{m=null;h=true;l.kill(n.opts.killSignal)},n.opts.timeout)}const f=new Promise(e=>{l.on("exit",(r,t)=>{y();e({code:r,signal:t})});l.on("error",r=>{y();e({error:r})});if(l.stdin){l.stdin.on("error",r=>{y();e({error:r})})}});function destroy(){if(l.stdout){l.stdout.destroy()}if(l.stderr){l.stderr.destroy()}}const b=()=>c(Promise.all([f,getStream(l,"stdout",{encoding:o,buffer:a,maxBuffer:u}),getStream(l,"stderr",{encoding:o,buffer:a,maxBuffer:u})]).then(e=>{const r=e[0];r.stdout=e[1];r.stderr=e[2];if(r.error||r.code!==0||r.signal!==null){const e=makeError(r,{joinedCmd:p,parsed:n,timedOut:h});e.killed=e.killed||l.killed;if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,r.stdout),stderr:handleOutput(n.opts,r.stderr),code:0,failed:false,killed:false,signal:null,cmd:p,timedOut:false}}),destroy);s._enoent.hookChildProcess(l,n.parsed);handleInput(l,n.opts.input);l.then=((e,r)=>b().then(e,r));l.catch=(e=>b().catch(e));return l});e.exports.stdout=((...r)=>e.exports(...r).then(e=>e.stdout));e.exports.stderr=((...r)=>e.exports(...r).then(e=>e.stderr));e.exports.shell=((r,t)=>handleShell(e.exports,r,t));e.exports.sync=((e,r,t)=>{const n=handleArgs(e,r,t);const s=joinCmd(e,r);if(u(n.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const o=i.spawnSync(n.cmd,n.args,n.opts);o.code=o.status;if(o.error||o.status!==0||o.signal!==null){const e=makeError(o,{joinedCmd:s,parsed:n});if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,o.stdout),stderr:handleOutput(n.opts,o.stderr),code:0,failed:false,signal:null,cmd:s,timedOut:false}});e.exports.shellSync=((r,t)=>handleShell(e.exports.sync,r,t))},966:function(e,r,t){"use strict";const{PassThrough:n}=t(413);e.exports=(e=>{e=Object.assign({},e);const{array:r}=e;let{encoding:t}=e;const i=t==="buffer";let s=false;if(r){s=!(t||i)}else{t=t||"utf8"}if(i){t=null}let o=0;const a=[];const u=new n({objectMode:s});if(t){u.setEncoding(t)}u.on("data",e=>{a.push(e);if(s){o=a.length}else{o+=e.length}});u.getBufferedValue=(()=>{if(r){return a}return i?Buffer.concat(a,o):a.join("")});u.getBufferedLength=(()=>o);return u})},969:function(e,r,t){var n=t(11);e.exports=n(once);e.exports.strict=n(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var r=function(){if(r.called)return r.value;r.called=true;return r.value=e.apply(this,arguments)};r.called=false;return r}function onceStrict(e){var r=function(){if(r.called)throw new Error(r.onceError);r.called=true;return r.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";r.onceError=t+" shouldn't be called more than once";r.called=false;return r}}}); \ No newline at end of file +module.exports=function(e,r){"use strict";var t={};function __webpack_require__(r){if(t[r]){return t[r].exports}var n=t[r]={i:r,l:false,exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(104)}return startup()}({0:function(e,r,t){e.exports=withDefaults;const n=t(500);function withDefaults(e,r){const t=e.defaults(r);const i=function(e,r){return n(t,e,r)};i.defaults=withDefaults.bind(null,t);return i}},2:function(e,r,t){"use strict";const n=t(87);const i=t(118);const s=t(49);const o=(e,r)=>{if(!e&&r){throw new Error("You can't specify a `release` without specifying `platform`")}e=e||n.platform();let t;if(e==="darwin"){if(!r&&n.platform()==="darwin"){r=n.release()}const e=r?Number(r.split(".")[0])>15?"macOS":"OS X":"macOS";t=r?i(r).name:"";return e+(t?" "+t:"")}if(e==="linux"){if(!r&&n.platform()==="linux"){r=n.release()}t=r?r.replace(/^(\d+\.\d+).*/,"$1"):"";return"Linux"+(t?" "+t:"")}if(e==="win32"){if(!r&&n.platform()==="win32"){r=n.release()}t=r?s(r):"";return"Windows"+(t?" "+t:"")}return e};e.exports=o},8:function(e,r,t){e.exports=iterator;const n=t(301);function iterator(e,r){const t=r.headers;let i=e.request.endpoint(r).url;return{[Symbol.asyncIterator]:()=>({next(){if(!i){return Promise.resolve({done:true})}return e.request({url:i,headers:t}).then(r=>{n(e,i,r);i=((r.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:r}})}})}}},9:function(e,r,t){var n=t(969);var i=function(){};var s=function(e){return e.setHeader&&typeof e.abort==="function"};var o=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var a=function(e,r,t){if(typeof r==="function")return a(e,null,r);if(!r)r={};t=n(t||i);var u=e._writableState;var p=e._readableState;var c=r.readable||r.readable!==false&&e.readable;var d=r.writable||r.writable!==false&&e.writable;var l=function(){if(!e.writable)g()};var g=function(){d=false;if(!c)t.call(e)};var m=function(){c=false;if(!d)t.call(e)};var h=function(r){t.call(e,r?new Error("exited with error code: "+r):null)};var y=function(r){t.call(e,r)};var f=function(){if(c&&!(p&&p.ended))return t.call(e,new Error("premature close"));if(d&&!(u&&u.ended))return t.call(e,new Error("premature close"))};var b=function(){e.req.on("finish",g)};if(s(e)){e.on("complete",g);e.on("abort",f);if(e.req)b();else e.on("request",b)}else if(d&&!u){e.on("end",l);e.on("close",l)}if(o(e))e.on("exit",h);e.on("end",m);e.on("finish",g);if(r.error!==false)e.on("error",y);e.on("close",f);return function(){e.removeListener("complete",g);e.removeListener("abort",f);e.removeListener("request",b);if(e.req)e.req.removeListener("finish",g);e.removeListener("end",l);e.removeListener("close",l);e.removeListener("finish",g);e.removeListener("exit",h);e.removeListener("end",m);e.removeListener("error",y);e.removeListener("close",f)}};e.exports=a},11:function(e){e.exports=wrappy;function wrappy(e,r){if(e&&r)return wrappy(e)(r);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(r){wrapper[r]=e[r]});return wrapper;function wrapper(){var r=new Array(arguments.length);for(var t=0;te.warn(r));const o=t(674);const a=t(471);const u=t(349);function authenticationPlugin(e,r){if(r.auth){e.authenticate=(()=>{s(e.log,new n('[@octokit/rest] octokit.authenticate() is deprecated and has no effect when "auth" option is set on Octokit constructor'))});return}const t={octokit:e,auth:false};e.authenticate=o.bind(null,t);e.hook.before("request",a.bind(null,t));e.hook.error("request",u.bind(null,t))}},20:function(e,r,t){"use strict";const n=t(129);const i=t(568);const s=t(881);function spawn(e,r,t){const o=i(e,r,t);const a=n.spawn(o.command,o.args,o.options);s.hookChildProcess(a,o);return a}function spawnSync(e,r,t){const o=i(e,r,t);const a=n.spawnSync(o.command,o.args,o.options);a.error=a.error||s.verifyENOENTSync(a.status,o);return a}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=i;e.exports._enoent=s},39:function(e){"use strict";e.exports=(e=>{e=e||{};const r=e.env||process.env;const t=e.platform||process.platform;if(t!=="win32"){return"PATH"}return Object.keys(r).find(e=>e.toUpperCase()==="PATH")||"Path"})},47:function(e,r,t){e.exports=factory;const n=t(402);const i=t(855);function factory(e){const r=n.bind(null,e||[]);r.plugin=i.bind(null,e||[]);return r}},49:function(e,r,t){"use strict";const n=t(87);const i=t(955);const s=new Map([["10.0","10"],["6.3","8.1"],["6.2","8"],["6.1","7"],["6.0","Vista"],["5.2","Server 2003"],["5.1","XP"],["5.0","2000"],["4.9","ME"],["4.1","98"],["4.0","95"]]);const o=e=>{const r=/\d+\.\d/.exec(e||n.release());if(e&&!r){throw new Error("`release` argument doesn't match `n.n`")}const t=(r||[])[0];if((!e||e===n.release())&&["6.1","6.2","6.3","10.0"].includes(t)){const e=i.sync("wmic",["os","get","Caption"]).stdout||"";const r=(e.match(/2008|2012|2016/)||[])[0];if(r){return`Server ${r}`}}return s.get(t)};e.exports=o},87:function(e){e.exports=require("os")},104:function(e,r,t){const n=t(470);const i=t(469);const s=n.getInput("repo-token");const o=n.getInput("event");const a=n.getInput("body");const u=new i.GitHub(s);if((o==="COMMENT"||o==="REQUEST_CHANGES")&&!a){n.error("Event type COMMENT & REQUEST_CHANGES require a body.")}u.graphql(`\n mutation {\n addPullRequestReview(input: {\n pullRequestId: "${i.context.payload["pull_request"]["node_id"]}",\n event: ${o},\n body: "${a}"\n }) {clientMutationId} }`).catch(e=>{n.error(e);n.setFailed(e.message)})},118:function(e,r,t){"use strict";const n=t(87);const i=new Map([[19,"Catalina"],[18,"Mojave"],[17,"High Sierra"],[16,"Sierra"],[15,"El Capitan"],[14,"Yosemite"],[13,"Mavericks"],[12,"Mountain Lion"],[11,"Lion"],[10,"Snow Leopard"],[9,"Leopard"],[8,"Tiger"],[7,"Panther"],[6,"Jaguar"],[5,"Puma"]]);const s=e=>{e=Number((e||n.release()).split(".")[0]);return{name:i.get(e),version:"10."+(e-4)}};e.exports=s;e.exports.default=s},126:function(e){var r=200;var t="__lodash_hash_undefined__";var n=1/0;var i="[object Function]",s="[object GeneratorFunction]";var o=/[\\^$.*+?()[\]{}|]/g;var a=/^\[object .+?Constructor\]$/;var u=typeof global=="object"&&global&&global.Object===Object&&global;var p=typeof self=="object"&&self&&self.Object===Object&&self;var c=u||p||Function("return this")();function arrayIncludes(e,r){var t=e?e.length:0;return!!t&&baseIndexOf(e,r,0)>-1}function arrayIncludesWith(e,r,t){var n=-1,i=e?e.length:0;while(++n-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r=r){var c=t?null:T(e);if(c){return setToArray(c)}a=false;s=cacheHas;p=new SetCache}else{p=t?[]:u}e:while(++i{const u=e=>{if(e){e.bufferedData=s.getBufferedValue()}a(e)};s=n(e,i(r),e=>{if(e){u(e);return}o()});s.on("data",()=>{if(s.getBufferedLength()>t){u(new MaxBufferError)}})}).then(()=>s.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,r)=>getStream(e,Object.assign({},r,{encoding:"buffer"})));e.exports.array=((e,r)=>getStream(e,Object.assign({},r,{array:true})));e.exports.MaxBufferError=MaxBufferError},148:function(e,r,t){e.exports=paginatePlugin;const n=t(8);const i=t(807);function paginatePlugin(e){e.paginate=i.bind(null,e);e.paginate.iterator=n.bind(null,e)}},168:function(e){"use strict";const r=["stdin","stdout","stderr"];const t=e=>r.some(r=>Boolean(e[r]));e.exports=(e=>{if(!e){return null}if(e.stdio&&t(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${r.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const n=e.stdio||[];if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const i=[];const s=Math.max(n.length,r.length);for(let t=0;t dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","generate-routes":"node scripts/generate-routes","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},license:"MIT",files:["index.js","index.d.ts","lib","plugins"],nyc:{ignore:["test"]},release:{publish:["@semantic-release/npm",{path:"@semantic-release/github",assets:["dist/*","!dist/*.map.gz"]}]},standard:{globals:["describe","before","beforeEach","afterEach","after","it","expect","cy"],ignore:["/docs"]},bundlesize:[{path:"./dist/octokit-rest.min.js.gz",maxSize:"33 kB"}]}},248:function(e,r,t){e.exports=octokitRegisterEndpoints;const n=t(899);function octokitRegisterEndpoints(e){e.registerEndpoints=n.bind(null,e)}},260:function(e,r,t){var n=t(357);var i=t(654);var s=t(614);if(typeof s!=="function"){s=s.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new s;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,r){n.equal(typeof e,"function","a callback must be provided for exit handler");if(u===false){load()}var t="exit";if(r&&r.alwaysLast){t="afterexit"}var i=function(){o.removeListener(t,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(t,e);return i};e.exports.unload=unload;function unload(){if(!u){return}u=false;i.forEach(function(e){try{process.removeListener(e,a[e])}catch(e){}});process.emit=c;process.reallyExit=p;o.count-=1}function emit(e,r,t){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,r,t)}var a={};i.forEach(function(e){a[e]=function listener(){var r=process.listeners(e);if(r.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}});e.exports.signals=function(){return i};e.exports.load=load;var u=false;function load(){if(u){return}u=true;o.count+=1;i=i.filter(function(e){try{process.on(e,a[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var c=process.emit;function processEmit(e,r){if(e==="exit"){if(r!==undefined){process.exitCode=r}var t=c.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return t}else{return c.apply(this,arguments)}}},262:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});const n=t(747);const i=t(87);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(n.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(n.readFileSync(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{process.stdout.write(`GITHUB_EVENT_PATH ${process.env.GITHUB_EVENT_PATH} does not exist${i.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pullRequest||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}r.Context=Context},265:function(e,r,t){e.exports=getPage;const n=t(370);const i=t(577);const s=t(297);function getPage(e,r,t,o){n(`octokit.get${t.charAt(0).toUpperCase()+t.slice(1)}Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);const a=i(r)[t];if(!a){const e=new s(`No ${t} page found`,404);return Promise.reject(e)}const u={url:a,headers:applyAcceptHeader(r,o)};const p=e.request(u);return p}function applyAcceptHeader(e,r){const t=e.headers&&e.headers["x-github-media-type"];if(!t||r&&r.accept){return r}r=r||{};r.accept="application/vnd."+t.replace("; param=",".").replace("; format=","+");return r}},280:function(e,r){r=e.exports=SemVer;var t;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){t=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{t=function(){}}r.SEMVER_SPEC_VERSION="2.0.0";var n=256;var i=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var o=r.re=[];var a=r.src=[];var u=0;var p=u++;a[p]="0|[1-9]\\d*";var c=u++;a[c]="[0-9]+";var d=u++;a[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var l=u++;a[l]="("+a[p]+")\\."+"("+a[p]+")\\."+"("+a[p]+")";var g=u++;a[g]="("+a[c]+")\\."+"("+a[c]+")\\."+"("+a[c]+")";var m=u++;a[m]="(?:"+a[p]+"|"+a[d]+")";var h=u++;a[h]="(?:"+a[c]+"|"+a[d]+")";var y=u++;a[y]="(?:-("+a[m]+"(?:\\."+a[m]+")*))";var f=u++;a[f]="(?:-?("+a[h]+"(?:\\."+a[h]+")*))";var b=u++;a[b]="[0-9A-Za-z-]+";var _=u++;a[_]="(?:\\+("+a[b]+"(?:\\."+a[b]+")*))";var q=u++;var w="v?"+a[l]+a[y]+"?"+a[_]+"?";a[q]="^"+w+"$";var v="[v=\\s]*"+a[g]+a[f]+"?"+a[_]+"?";var E=u++;a[E]="^"+v+"$";var T=u++;a[T]="((?:<|>)?=?)";var j=u++;a[j]=a[c]+"|x|X|\\*";var S=u++;a[S]=a[p]+"|x|X|\\*";var P=u++;a[P]="[v=\\s]*("+a[S]+")"+"(?:\\.("+a[S]+")"+"(?:\\.("+a[S]+")"+"(?:"+a[y]+")?"+a[_]+"?"+")?)?";var C=u++;a[C]="[v=\\s]*("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:\\.("+a[j]+")"+"(?:"+a[f]+")?"+a[_]+"?"+")?)?";var k=u++;a[k]="^"+a[T]+"\\s*"+a[P]+"$";var O=u++;a[O]="^"+a[T]+"\\s*"+a[C]+"$";var x=u++;a[x]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var G=u++;a[G]="(?:~>?)";var R=u++;a[R]="(\\s*)"+a[G]+"\\s+";o[R]=new RegExp(a[R],"g");var A="$1~";var D=u++;a[D]="^"+a[G]+a[P]+"$";var $=u++;a[$]="^"+a[G]+a[C]+"$";var F=u++;a[F]="(?:\\^)";var H=u++;a[H]="(\\s*)"+a[F]+"\\s+";o[H]=new RegExp(a[H],"g");var I="$1^";var U=u++;a[U]="^"+a[F]+a[P]+"$";var L=u++;a[L]="^"+a[F]+a[C]+"$";var B=u++;a[B]="^"+a[T]+"\\s*("+v+")$|^$";var N=u++;a[N]="^"+a[T]+"\\s*("+w+")$|^$";var z=u++;a[z]="(\\s*)"+a[T]+"\\s*("+v+"|"+a[P]+")";o[z]=new RegExp(a[z],"g");var V="$1$2$3";var K=u++;a[K]="^\\s*("+a[P]+")"+"\\s+-\\s+"+"("+a[P]+")"+"\\s*$";var X=u++;a[X]="^\\s*("+a[C]+")"+"\\s+-\\s+"+"("+a[C]+")"+"\\s*$";var W=u++;a[W]="(<|>)?=?\\s*\\*";for(var J=0;Jn){return null}var t=r.loose?o[E]:o[q];if(!t.test(e)){return null}try{return new SemVer(e,r)}catch(e){return null}}r.valid=valid;function valid(e,r){var t=parse(e,r);return t?t.version:null}r.clean=clean;function clean(e,r){var t=parse(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}r.SemVer=SemVer;function SemVer(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===r.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,r)}t("SemVer",e,r);this.options=r;this.loose=!!r.loose;var s=e.trim().match(r.loose?o[E]:o[q]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var r=+e;if(r>=0&&r=0){if(typeof this.prerelease[t]==="number"){this.prerelease[t]++;t=-2}}if(t===-1){this.prerelease.push(0)}}if(r){if(this.prerelease[0]===r){if(isNaN(this.prerelease[1])){this.prerelease=[r,0]}}else{this.prerelease=[r,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};r.inc=inc;function inc(e,r,t,n){if(typeof t==="string"){n=t;t=undefined}try{return new SemVer(e,t).inc(r,n).version}catch(e){return null}}r.diff=diff;function diff(e,r){if(eq(e,r)){return null}else{var t=parse(e);var n=parse(r);var i="";if(t.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var o in t){if(o==="major"||o==="minor"||o==="patch"){if(t[o]!==n[o]){return i+o}}}return s}}r.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,r){var t=Y.test(e);var n=Y.test(r);if(t&&n){e=+e;r=+r}return e===r?0:t&&!n?-1:n&&!t?1:e0}r.lt=lt;function lt(e,r,t){return compare(e,r,t)<0}r.eq=eq;function eq(e,r,t){return compare(e,r,t)===0}r.neq=neq;function neq(e,r,t){return compare(e,r,t)!==0}r.gte=gte;function gte(e,r,t){return compare(e,r,t)>=0}r.lte=lte;function lte(e,r,t){return compare(e,r,t)<=0}r.cmp=cmp;function cmp(e,r,t,n){switch(r){case"===":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e===t;case"!==":if(typeof e==="object")e=e.version;if(typeof t==="object")t=t.version;return e!==t;case"":case"=":case"==":return eq(e,t,n);case"!=":return neq(e,t,n);case">":return gt(e,t,n);case">=":return gte(e,t,n);case"<":return lt(e,t,n);case"<=":return lte(e,t,n);default:throw new TypeError("Invalid operator: "+r)}}r.Comparator=Comparator;function Comparator(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!r.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,r)}t("comparator",e,r);this.options=r;this.loose=!!r.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}t("comp",this)}var Q={};Comparator.prototype.parse=function(e){var r=this.options.loose?o[B]:o[N];var t=e.match(r);if(!t){throw new TypeError("Invalid comparator: "+e)}this.operator=t[1];if(this.operator==="="){this.operator=""}if(!t[2]){this.semver=Q}else{this.semver=new SemVer(t[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){t("Comparator.test",e,this.options.loose);if(this.semver===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,r){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}var t;if(this.operator===""){t=new Range(e.value,r);return satisfies(this.value,t,r)}else if(e.operator===""){t=new Range(this.value,r);return satisfies(e.semver,t,r)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var a=cmp(this.semver,"<",e.semver,r)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,r)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||i||s&&o||a||u};r.Range=Range;function Range(e,r){if(!r||typeof r!=="object"){r={loose:!!r,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease){return e}else{return new Range(e.raw,r)}}if(e instanceof Comparator){return new Range(e.value,r)}if(!(this instanceof Range)){return new Range(e,r)}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var r=this.options.loose;e=e.trim();var n=r?o[X]:o[K];e=e.replace(n,hyphenReplace);t("hyphen replace",e);e=e.replace(o[z],V);t("comparator trim",e,o[z]);e=e.replace(o[R],A);e=e.replace(o[H],I);e=e.split(/\s+/).join(" ");var i=r?o[B]:o[N];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(i)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,r){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(t){return t.every(function(t){return e.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})};r.toComparators=toComparators;function toComparators(e,r){return new Range(e,r).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,r){t("comp",e,r);e=replaceCarets(e,r);t("caret",e);e=replaceTildes(e,r);t("tildes",e);e=replaceXRanges(e,r);t("xrange",e);e=replaceStars(e,r);t("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,r){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,r)}).join(" ")}function replaceTilde(e,r){var n=r.loose?o[$]:o[D];return e.replace(n,function(r,n,i,s,o){t("tilde",e,r,n,i,s,o);var a;if(isX(n)){a=""}else if(isX(i)){a=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else if(o){t("replaceTilde pr",o);a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+(+i+1)+".0"}else{a=">="+n+"."+i+"."+s+" <"+n+"."+(+i+1)+".0"}t("tilde return",a);return a})}function replaceCarets(e,r){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,r)}).join(" ")}function replaceCaret(e,r){t("caret",e,r);var n=r.loose?o[L]:o[U];return e.replace(n,function(r,n,i,s,o){t("caret",e,r,n,i,s,o);var a;if(isX(n)){a=""}else if(isX(i)){a=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){if(n==="0"){a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0"}else{a=">="+n+"."+i+".0 <"+(+n+1)+".0.0"}}else if(o){t("replaceCaret pr",o);if(n==="0"){if(i==="0"){a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+i+"."+(+s+1)}else{a=">="+n+"."+i+"."+s+"-"+o+" <"+n+"."+(+i+1)+".0"}}else{a=">="+n+"."+i+"."+s+"-"+o+" <"+(+n+1)+".0.0"}}else{t("no pr");if(n==="0"){if(i==="0"){a=">="+n+"."+i+"."+s+" <"+n+"."+i+"."+(+s+1)}else{a=">="+n+"."+i+"."+s+" <"+n+"."+(+i+1)+".0"}}else{a=">="+n+"."+i+"."+s+" <"+(+n+1)+".0.0"}}t("caret return",a);return a})}function replaceXRanges(e,r){t("replaceXRanges",e,r);return e.split(/\s+/).map(function(e){return replaceXRange(e,r)}).join(" ")}function replaceXRange(e,r){e=e.trim();var n=r.loose?o[O]:o[k];return e.replace(n,function(r,n,i,s,o,a){t("xRange",e,r,n,i,s,o,a);var u=isX(i);var p=u||isX(s);var c=p||isX(o);var d=c;if(n==="="&&d){n=""}if(u){if(n===">"||n==="<"){r="<0.0.0"}else{r="*"}}else if(n&&d){if(p){s=0}o=0;if(n===">"){n=">=";if(p){i=+i+1;s=0;o=0}else{s=+s+1;o=0}}else if(n==="<="){n="<";if(p){i=+i+1}else{s=+s+1}}r=n+i+"."+s+"."+o}else if(p){r=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(c){r=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"}t("xRange return",r);return r})}function replaceStars(e,r){t("replaceStars",e,r);return e.trim().replace(o[W],"")}function hyphenReplace(e,r,t,n,i,s,o,a,u,p,c,d,l){if(isX(t)){r=""}else if(isX(n)){r=">="+t+".0.0"}else if(isX(i)){r=">="+t+"."+n+".0"}else{r=">="+r}if(isX(u)){a=""}else if(isX(p)){a="<"+(+u+1)+".0.0"}else if(isX(c)){a="<"+u+"."+(+p+1)+".0"}else if(d){a="<="+u+"."+p+"."+c+"-"+d}else{a="<="+a}return(r+" "+a).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var r=0;r0){var s=e[i].semver;if(s.major===r.major&&s.minor===r.minor&&s.patch===r.patch){return true}}}return false}return true}r.satisfies=satisfies;function satisfies(e,r,t){try{r=new Range(r,t)}catch(e){return false}return r.test(e)}r.maxSatisfying=maxSatisfying;function maxSatisfying(e,r,t){var n=null;var i=null;try{var s=new Range(r,t)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||i.compare(e)===-1){n=e;i=new SemVer(n,t)}}});return n}r.minSatisfying=minSatisfying;function minSatisfying(e,r,t){var n=null;var i=null;try{var s=new Range(r,t)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||i.compare(e)===1){n=e;i=new SemVer(n,t)}}});return n}r.minVersion=minVersion;function minVersion(e,r){e=new Range(e,r);var t=new SemVer("0.0.0");if(e.test(t)){return t}t=new SemVer("0.0.0-0");if(e.test(t)){return t}t=null;for(var n=0;n":if(r.prerelease.length===0){r.patch++}else{r.prerelease.push(0)}r.raw=r.format();case"":case">=":if(!t||gt(t,r)){t=r}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(t&&e.test(t)){return t}return null}r.validRange=validRange;function validRange(e,r){try{return new Range(e,r).range||"*"}catch(e){return null}}r.ltr=ltr;function ltr(e,r,t){return outside(e,r,"<",t)}r.gtr=gtr;function gtr(e,r,t){return outside(e,r,">",t)}r.outside=outside;function outside(e,r,t,n){e=new SemVer(e,n);r=new Range(r,n);var i,s,o,a,u;switch(t){case">":i=gt;s=lte;o=lt;a=">";u=">=";break;case"<":i=lt;s=gte;o=gt;a="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,r,n)){return false}for(var p=0;p=0.0.0")}d=d||e;l=l||e;if(i(e.semver,d.semver,n)){d=e}else if(o(e.semver,l.semver,n)){l=e}});if(d.operator===a||d.operator===u){return false}if((!l.operator||l.operator===a)&&s(e,l.semver)){return false}else if(l.operator===u&&o(e,l.semver)){return false}}return true}r.prerelease=prerelease;function prerelease(e,r){var t=parse(e,r);return t&&t.prerelease.length?t.prerelease:null}r.intersects=intersects;function intersects(e,r,t){e=new Range(e,t);r=new Range(r,t);return e.intersects(r)}r.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var r=e.match(o[x]);if(r==null){return null}return parse(r[1]+"."+(r[2]||"0")+"."+(r[3]||"0"))}},293:function(e,r,t){e.exports=authenticationRequestError;const{RequestError:n}=t(463);function authenticationRequestError(e,r,t){if(!r.headers)throw r;const i=/required/.test(r.headers["x-github-otp"]||"");if(r.status!==401||!i){throw r}if(r.status===401&&i&&r.request&&r.request.headers["x-github-otp"]){if(e.otp){delete e.otp}else{throw new n("Invalid one-time password for two-factor authentication",401,{headers:r.headers,request:t})}}if(typeof e.auth.on2fa!=="function"){throw new n("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:r.headers,request:t})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(r=>{const n=Object.assign(t,{headers:Object.assign(t.headers,{"x-github-otp":r})});return e.octokit.request(n).then(t=>{e.otp=r;return t})})}},294:function(e,r,t){e.exports=parseOptions;const{Deprecation:n}=t(692);const{getUserAgent:i}=t(796);const s=t(969);const o=t(215);const a=s((e,r)=>e.warn(r));const u=s((e,r)=>e.warn(r));const p=s((e,r)=>e.warn(r));function parseOptions(e,r,t){if(e.headers){e.headers=Object.keys(e.headers).reduce((r,t)=>{r[t.toLowerCase()]=e.headers[t];return r},{})}const s={headers:e.headers||{},request:e.request||{},mediaType:{previews:[],format:""}};if(e.baseUrl){s.baseUrl=e.baseUrl}if(e.userAgent){s.headers["user-agent"]=e.userAgent}if(e.previews){s.mediaType.previews=e.previews}if(e.timeout){a(r,new n("[@octokit/rest] new Octokit({timeout}) is deprecated. Use {request: {timeout}} instead. See https://github.com/octokit/request.js#request"));s.request.timeout=e.timeout}if(e.agent){u(r,new n("[@octokit/rest] new Octokit({agent}) is deprecated. Use {request: {agent}} instead. See https://github.com/octokit/request.js#request"));s.request.agent=e.agent}if(e.headers){p(r,new n("[@octokit/rest] new Octokit({headers}) is deprecated. Use {userAgent, previews} instead. See https://github.com/octokit/request.js#request"))}const c=s.headers["user-agent"];const d=`octokit.js/${o.version} ${i()}`;s.headers["user-agent"]=[c,d].filter(Boolean).join(" ");s.request.hook=t.bind(null,"request");return s}},297:function(e){e.exports=class HttpError extends Error{constructor(e,r,t){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.code=r;this.headers=t}}},301:function(e,r,t){e.exports=normalizePaginatedListResponse;const{Deprecation:n}=t(692);const i=t(969);const s=i((e,r)=>e.warn(r));const o=i((e,r)=>e.warn(r));const a=i((e,r)=>e.warn(r));const u=/^\/search\//;const p=/^\/repos\/[^\/]+\/[^\/]+\/commits\/[^\/]+\/(check-runs|check-suites)/;const c=/^\/installation\/repositories/;const d=/^\/user\/installations/;function normalizePaginatedListResponse(e,r,t){const i=r.replace(e.request.endpoint.DEFAULTS.baseUrl,"");if(!u.test(i)&&!p.test(i)&&!c.test(i)&&!d.test(i)){return}const l=t.data.incomplete_results;const g=t.data.repository_selection;const m=t.data.total_count;delete t.data.incomplete_results;delete t.data.repository_selection;delete t.data.total_count;const h=Object.keys(t.data)[0];t.data=t.data[h];Object.defineProperty(t.data,h,{get(){a(e.log,new n(`[@octokit/rest] "result.data.${h}" is deprecated. Use "result.data" instead`));return t.data}});if(typeof l!=="undefined"){Object.defineProperty(t.data,"incomplete_results",{get(){s(e.log,new n('[@octokit/rest] "result.data.incomplete_results" is deprecated.'));return l}})}if(typeof g!=="undefined"){Object.defineProperty(t.data,"repository_selection",{get(){o(e.log,new n('[@octokit/rest] "result.data.repository_selection" is deprecated.'));return g}})}Object.defineProperty(t.data,"total_count",{get(){o(e.log,new n('[@octokit/rest] "result.data.total_count" is deprecated.'));return m}})}},309:function(e,r,t){e.exports=octokitRestNormalizeGitReferenceResponses;const{RequestError:n}=t(463);function octokitRestNormalizeGitReferenceResponses(e){e.hook.wrap("request",(e,r)=>{const t=/\/repos\/:?\w+\/:?\w+\/git\/refs\/:?\w+/.test(r.url);if(!t){return e(r)}const i="ref"in r;return e(r).then(e=>{if(i){if(Array.isArray(e.data)){throw new n(`More than one reference found for "${r.ref}"`,404,{request:r})}return e}if(!Array.isArray(e.data)){e.data=[e.data]}return e}).catch(e=>{if(i){throw e}if(e.status===404){return{status:200,headers:e.headers,data:[]}}throw e})})}},314:function(e){e.exports={name:"@octokit/graphql",version:"2.1.3",publishConfig:{access:"public"},description:"GitHub GraphQL API client for browsers and Node",main:"index.js",scripts:{prebuild:"mkdirp dist/",build:"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",coverage:"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls",pretest:"standard",test:"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},repository:{type:"git",url:"https://github.com/octokit/graphql.js.git"},keywords:["octokit","github","api","graphql"],author:"Gregor Martynus (https://github.com/gr2m)",license:"MIT",bugs:{url:"https://github.com/octokit/graphql.js/issues"},homepage:"https://github.com/octokit/graphql.js#readme",dependencies:{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},devDependencies:{chai:"^4.2.0","compression-webpack-plugin":"^2.0.0",coveralls:"^3.0.3",cypress:"^3.1.5","fetch-mock":"^7.3.1",mkdirp:"^0.5.1",mocha:"^6.0.0","npm-run-all":"^4.1.3",nyc:"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0",standard:"^12.0.1",webpack:"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},bundlesize:[{path:"./dist/octokit-graphql.min.js.gz",maxSize:"5KB"}],release:{publish:["@semantic-release/npm",{path:"@semantic-release/github",assets:["dist/*","!dist/*.map.gz"]}]},standard:{globals:["describe","before","beforeEach","afterEach","after","it","expect"]},files:["lib"]}},323:function(e){"use strict";var r=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};r.writable=function(e){return r(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};r.readable=function(e){return r(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};r.duplex=function(e){return r.writable(e)&&r.readable(e)};r.transform=function(e){return r.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},336:function(e,r,t){e.exports=hasLastPage;const n=t(370);const i=t(577);function hasLastPage(e){n(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).last}},348:function(e,r,t){"use strict";e.exports=validate;const{RequestError:n}=t(463);const i=t(854);const s=t(883);function validate(e,r){if(!r.request.validate){return}const{validate:t}=r.request;Object.keys(t).forEach(e=>{const o=i(t,e);const a=o.type;let u;let p;let c=true;let d=false;if(/\./.test(e)){u=e.replace(/\.[^.]+$/,"");d=u.slice(-2)==="[]";if(d){u=u.slice(0,-2)}p=i(r,u);c=u==="headers"||typeof p==="object"&&p!==null}const l=d?(i(r,u)||[]).map(r=>r[e.split(/\./).pop()]):[i(r,e)];l.forEach((t,i)=>{const u=typeof t!=="undefined";const p=t===null;const l=d?e.replace(/\[\]/,`[${i}]`):e;if(!o.required&&!u){return}if(!c){return}if(o.allowNull&&p){return}if(!o.allowNull&&p){throw new n(`'${l}' cannot be null`,400,{request:r})}if(o.required&&!u){throw new n(`Empty value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}if(a==="integer"){const e=t;t=parseInt(t,10);if(isNaN(t)){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(e)} is NaN`,400,{request:r})}}if(o.enum&&o.enum.indexOf(t)===-1){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}if(o.validation){const e=new RegExp(o.validation);if(!e.test(t)){throw new n(`Invalid value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}}if(a==="object"&&typeof t==="string"){try{t=JSON.parse(t)}catch(e){throw new n(`JSON parse error of value for parameter '${l}': ${JSON.stringify(t)}`,400,{request:r})}}s(r,o.mapTo||l,t)})});return r}},349:function(e,r,t){e.exports=authenticationRequestError;const{RequestError:n}=t(463);function authenticationRequestError(e,r,t){if(!r.headers)throw r;const i=/required/.test(r.headers["x-github-otp"]||"");if(r.status!==401||!i){throw r}if(r.status===401&&i&&r.request&&r.request.headers["x-github-otp"]){throw new n("Invalid one-time password for two-factor authentication",401,{headers:r.headers,request:t})}if(typeof e.auth.on2fa!=="function"){throw new n("2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication",401,{headers:r.headers,request:t})}return Promise.resolve().then(()=>{return e.auth.on2fa()}).then(r=>{const n=Object.assign(t,{headers:Object.assign({"x-github-otp":r},t.headers)});return e.octokit.request(n)})}},357:function(e){e.exports=require("assert")},363:function(e){e.exports=register;function register(e,r,t,n){if(typeof t!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(r)){return r.reverse().reduce(function(r,t){return register.bind(null,e,t,r,n)},t)()}return Promise.resolve().then(function(){if(!e.registry[r]){return t(n)}return e.registry[r].reduce(function(e,r){return r.hook.bind(null,e,n)},t)()})}},368:function(e){e.exports=function atob(e){return Buffer.from(e,"base64").toString("binary")}},370:function(e){e.exports=deprecate;const r={};function deprecate(e){if(r[e]){return}console.warn(`DEPRECATED (@octokit/rest): ${e}`);r[e]=1}},372:function(e){e.exports=octokitDebug;function octokitDebug(e){e.hook.wrap("request",(r,t)=>{e.log.debug("request",t);const n=Date.now();const i=e.request.endpoint.parse(t);const s=i.url.replace(t.baseUrl,"");return r(t).then(r=>{e.log.info(`${i.method} ${s} - ${r.status} in ${Date.now()-n}ms`);return r}).catch(r=>{e.log.info(`${i.method} ${s} - ${r.status} in ${Date.now()-n}ms`);throw r})})}},385:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(696));var i=t(796);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((r,t)=>{r[t.toLowerCase()]=e[t];return r},{})}function mergeDeep(e,r){const t=Object.assign({},e);Object.keys(r).forEach(i=>{if(n(r[i])){if(!(i in e))Object.assign(t,{[i]:r[i]});else t[i]=mergeDeep(e[i],r[i])}else{Object.assign(t,{[i]:r[i]})}});return t}function merge(e,r,t){if(typeof r==="string"){let[e,n]=r.split(" ");t=Object.assign(n?{method:e,url:n}:{url:e},t)}else{t=r||{}}t.headers=lowercaseKeys(t.headers);const n=mergeDeep(e||{},t);if(e&&e.mediaType.previews.length){n.mediaType.previews=e.mediaType.previews.filter(e=>!n.mediaType.previews.includes(e)).concat(n.mediaType.previews)}n.mediaType.previews=n.mediaType.previews.map(e=>e.replace(/-preview/,""));return n}function addQueryParameters(e,r){const t=/\?/.test(e)?"&":"?";const n=Object.keys(r);if(n.length===0){return e}return e+t+n.map(e=>{if(e==="q"){return"q="+r.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(r[e])}`}).join("&")}const s=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const r=e.match(s);if(!r){return[]}return r.map(removeNonChars).reduce((e,r)=>e.concat(r),[])}function omit(e,r){return Object.keys(e).filter(e=>!r.includes(e)).reduce((r,t)=>{r[t]=e[t];return r},{})}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e}).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeValue(e,r,t){r=e==="+"||e==="#"?encodeReserved(r):encodeUnreserved(r);if(t){return encodeUnreserved(t)+"="+r}else{return r}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,r,t,n){var i=e[t],s=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(n&&n!=="*"){i=i.substring(0,parseInt(n,10))}s.push(encodeValue(r,i,isKeyOperator(r)?t:""))}else{if(n==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach(function(e){s.push(encodeValue(r,e,isKeyOperator(r)?t:""))})}else{Object.keys(i).forEach(function(e){if(isDefined(i[e])){s.push(encodeValue(r,i[e],e))}})}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach(function(t){e.push(encodeValue(r,t))})}else{Object.keys(i).forEach(function(t){if(isDefined(i[t])){e.push(encodeUnreserved(t));e.push(encodeValue(r,i[t].toString()))}})}if(isKeyOperator(r)){s.push(encodeUnreserved(t)+"="+e.join(","))}else if(e.length!==0){s.push(e.join(","))}}}}else{if(r===";"){if(isDefined(i)){s.push(encodeUnreserved(t))}}else if(i===""&&(r==="&"||r==="?")){s.push(encodeUnreserved(t)+"=")}else if(i===""){s.push("")}}return s}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,r){var t=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,n,i){if(n){let e="";const i=[];if(t.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach(function(t){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(t);i.push(getValues(r,e,n[1],n[2]||n[3]))});if(e&&e!=="+"){var s=",";if(e==="?"){s="&"}else if(e!=="#"){s=e}return(i.length!==0?e:"")+i.join(s)}else{return i.join(",")}}else{return encodeReserved(i)}})}function parse(e){let r=e.method.toUpperCase();let t=e.url.replace(/:([a-z]\w+)/g,"{+$1}");let n=Object.assign({},e.headers);let i;let s=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const o=extractUrlVariableNames(t);t=parseUrl(t).expand(s);if(!/^http/.test(t)){t=e.baseUrl+t}const a=Object.keys(e).filter(e=>o.includes(e)).concat("baseUrl");const u=omit(s,a);const p=/application\/octet-stream/i.test(n.accept);if(!p){if(e.mediaType.format){n.accept=n.accept.split(/,/).map(r=>r.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const r=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=r.concat(e.mediaType.previews).map(r=>{const t=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${r}-preview${t}`}).join(",")}}if(["GET","HEAD"].includes(r)){t=addQueryParameters(t,u)}else{if("data"in u){i=u.data}else{if(Object.keys(u).length){i=u}else{n["content-length"]=0}}}if(!n["content-type"]&&typeof i!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(r)&&typeof i==="undefined"){i=""}return Object.assign({method:r,url:t,headers:n},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,r,t){return parse(merge(e,r,t))}function withDefaults(e,r){const t=merge(e,r);const n=endpointWithDefaults.bind(null,t);return Object.assign(n,{DEFAULTS:t,defaults:withDefaults.bind(null,t),merge:merge.bind(null,t),parse:parse})}const o="0.0.0-development";const a=`octokit-endpoint.js/${o} ${i.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":a},mediaType:{format:"",previews:[]}};const p=withDefaults(null,u);r.endpoint=p},389:function(e,r,t){"use strict";const n=t(747);const i=t(866);function readShebang(e){const r=150;let t;if(Buffer.alloc){t=Buffer.alloc(r)}else{t=new Buffer(r);t.fill(0)}let s;try{s=n.openSync(e,"r");n.readSync(s,t,0,r,0);n.closeSync(s)}catch(e){}return i(t.toString())}e.exports=readShebang},402:function(e,r,t){e.exports=Octokit;const{request:n}=t(753);const i=t(523);const s=t(294);function Octokit(e,r){r=r||{};const t=new i.Collection;const o=Object.assign({debug:()=>{},info:()=>{},warn:console.warn,error:console.error},r&&r.log);const a={hook:t,log:o,request:n.defaults(s(r,o,t))};e.forEach(e=>e(a,r));return a}},413:function(e){e.exports=require("stream")},427:function(e,r,t){"use strict";const n=t(669);let i;if(typeof n.getSystemErrorName==="function"){e.exports=n.getSystemErrorName}else{try{i=process.binding("uv");if(typeof i.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);i=null}e.exports=(e=>errname(i,e))}e.exports.__test__=errname;function errname(e,r){if(e){return e.errname(r)}if(!(r<0)){throw new Error("err >= 0")}return`Unknown system error ${r}`}},430:function(e,r,t){e.exports=octokitValidate;const n=t(348);function octokitValidate(e){e.hook.before("request",n.bind(null,e))}},431:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});const n=t(87);function issueCommand(e,r,t){const i=new Command(e,r,t);process.stdout.write(i.toString()+n.EOL)}r.issueCommand=issueCommand;function issue(e,r=""){issueCommand(e,{},r)}r.issue=issue;const i="##[";class Command{constructor(e,r,t){if(!e){e="missing.command"}this.command=e;this.properties=r;this.message=t}toString(){let e=i+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const t=this.properties[r];if(t){e+=`${r}=${escape(`${t||""}`)};`}}}}e+="]";const r=`${this.message||""}`;e+=escapeData(r);return e}}function escapeData(e){return e.replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escape(e){return e.replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/]/g,"%5D").replace(/;/g,"%3B")}},453:function(e,r,t){var n=t(969);var i=t(9);var s=t(747);var o=function(){};var a=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var p=function(e){if(!a)return false;if(!s)return false;return(e instanceof(s.ReadStream||o)||e instanceof(s.WriteStream||o))&&u(e.close)};var c=function(e){return e.setHeader&&u(e.abort)};var d=function(e,r,t,s){s=n(s);var a=false;e.on("close",function(){a=true});i(e,{readable:r,writable:t},function(e){if(e)return s(e);a=true;s()});var d=false;return function(r){if(a)return;if(d)return;d=true;if(p(e))return e.close(o);if(c(e))return e.abort();if(u(e.destroy))return e.destroy();s(r||new Error("stream was destroyed"))}};var l=function(e){e()};var g=function(e,r){return e.pipe(r)};var m=function(){var e=Array.prototype.slice.call(arguments);var r=u(e[e.length-1]||o)&&e.pop()||o;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var t;var n=e.map(function(i,s){var o=s0;return d(i,o,a,function(e){if(!t)t=e;if(e)n.forEach(l);if(o)return;n.forEach(l);r(t)})});return e.reduce(g)};e.exports=m},454:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(413));var i=_interopDefault(t(605));var s=_interopDefault(t(835));var o=_interopDefault(t(211));var a=_interopDefault(t(761));const u=n.Readable;const p=Symbol("buffer");const c=Symbol("type");class Blob{constructor(){this[c]="";const e=arguments[0];const r=arguments[1];const t=[];let n=0;if(e){const r=e;const i=Number(r.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},i=t.size;let s=i===undefined?0:i;var o=t.timeout;let a=o===undefined?0:o;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e)) ;else if(Buffer.isBuffer(e)) ;else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof n) ;else{e=Buffer.from(String(e))}this[l]={body:e,disturbed:false,error:null};this.size=s;this.timeout=a;if(e instanceof n){e.on("error",function(e){const t=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[l].error=t})}}Body.prototype={get body(){return this[l].body},get bodyUsed(){return this[l].disturbed},arrayBuffer(){return consumeBody.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then(function(r){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[p]:r})})},json(){var e=this;return consumeBody.call(this).then(function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}})},text(){return consumeBody.call(this).then(function(e){return e.toString()})},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then(function(r){return convertBody(r,e.headers)})}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const r of Object.getOwnPropertyNames(Body.prototype)){if(!(r in e)){const t=Object.getOwnPropertyDescriptor(Body.prototype,r);Object.defineProperty(e,r,t)}}};function consumeBody(){var e=this;if(this[l].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[l].disturbed=true;if(this[l].error){return Body.Promise.reject(this[l].error)}let r=this.body;if(r===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(r)){r=r.stream()}if(Buffer.isBuffer(r)){return Body.Promise.resolve(r)}if(!(r instanceof n)){return Body.Promise.resolve(Buffer.alloc(0))}let t=[];let i=0;let s=false;return new Body.Promise(function(n,o){let a;if(e.timeout){a=setTimeout(function(){s=true;o(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}r.on("error",function(r){if(r.name==="AbortError"){s=true;o(r)}else{o(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${r.message}`,"system",r))}});r.on("data",function(r){if(s||r===null){return}if(e.size&&i+r.length>e.size){s=true;o(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=r.length;t.push(r)});r.on("end",function(){if(s){return}clearTimeout(a);try{n(Buffer.concat(t,i))}catch(r){o(new FetchError(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}})})}function convertBody(e,r){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const t=r.get("content-type");let n="utf-8";let i,s;if(t){i=/charset=([^;]*)/i.exec(t)}s=e.slice(0,1024).toString();if(!i&&s){i=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[y]=Object.create(null);if(e instanceof Headers){const r=e.raw();const t=Object.keys(r);for(const e of t){for(const t of r[e]){this.append(e,t)}}return}if(e==null) ;else if(typeof e==="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!=="function"){throw new TypeError("Header pairs must be iterable")}const t=[];for(const r of e){if(typeof r!=="object"||typeof r[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}t.push(Array.from(r))}for(const e of t){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const r of Object.keys(e)){const t=e[r];this.append(r,t)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const r=find(this[y],e);if(r===undefined){return null}return this[y][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let t=getHeaders(this);let n=0;while(n1&&arguments[1]!==undefined?arguments[1]:"key+value";const t=Object.keys(e[y]).sort();return t.map(r==="key"?function(e){return e.toLowerCase()}:r==="value"?function(r){return e[y][r].join(", ")}:function(r){return[r.toLowerCase(),e[y][r].join(", ")]})}const f=Symbol("internal");function createHeadersIterator(e,r){const t=Object.create(b);t[f]={target:e,kind:r,index:0};return t}const b=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==b){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[f];const r=e.target,t=e.kind,n=e.index;const i=getHeaders(r,t);const s=i.length;if(n>=s){return{value:undefined,done:true}}this[f].index=n+1;return{value:i[n],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(b,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const r=Object.assign({__proto__:null},e[y]);const t=find(e[y],"Host");if(t!==undefined){r[t]=r[t][0]}return r}function createHeadersLenient(e){const r=new Headers;for(const t of Object.keys(e)){if(m.test(t)){continue}if(Array.isArray(e[t])){for(const n of e[t]){if(h.test(n)){continue}if(r[y][t]===undefined){r[y][t]=[n]}else{r[y][t].push(n)}}}else if(!h.test(e[t])){r[y][t]=[e[t]]}}return r}const _=Symbol("Response internals");const q=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,r);const t=r.status||200;const n=new Headers(r.headers);if(e!=null&&!n.has("Content-Type")){const r=extractContentType(e);if(r){n.append("Content-Type",r)}}this[_]={url:r.url,status:t,statusText:r.statusText||q[t],headers:n,counter:r.counter}}get url(){return this[_].url||""}get status(){return this[_].status}get ok(){return this[_].status>=200&&this[_].status<300}get redirected(){return this[_].counter>0}get statusText(){return this[_].statusText}get headers(){return this[_].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const w=Symbol("Request internals");const v=s.parse;const E=s.format;const T="destroy"in n.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const r=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(r&&r.constructor.name==="AbortSignal")}class Request{constructor(e){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let t;if(!isRequest(e)){if(e&&e.href){t=v(e.href)}else{t=v(`${e}`)}e={}}else{t=v(e.url)}let n=r.method||e.method||"GET";n=n.toUpperCase();if((r.body!=null||isRequest(e)&&e.body!==null)&&(n==="GET"||n==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=r.body!=null?r.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const s=new Headers(r.headers||e.headers||{});if(i!=null&&!s.has("Content-Type")){const e=extractContentType(i);if(e){s.append("Content-Type",e)}}let o=isRequest(e)?e.signal:null;if("signal"in r)o=r.signal;if(o!=null&&!isAbortSignal(o)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:n,redirect:r.redirect||e.redirect||"follow",headers:s,parsedURL:t,signal:o};this.follow=r.follow!==undefined?r.follow:e.follow!==undefined?e.follow:20;this.compress=r.compress!==undefined?r.compress:e.compress!==undefined?e.compress:true;this.counter=r.counter||e.counter||0;this.agent=r.agent||e.agent}get method(){return this[w].method}get url(){return E(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const r=e[w].parsedURL;const t=new Headers(e[w].headers);if(!t.has("Accept")){t.set("Accept","*/*")}if(!r.protocol||!r.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(r.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof n.Readable&&!T){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const r=getTotalBytes(e);if(typeof r==="number"){i=String(r)}}if(i){t.set("Content-Length",i)}if(!t.has("User-Agent")){t.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!t.has("Accept-Encoding")){t.set("Accept-Encoding","gzip,deflate")}let s=e.agent;if(typeof s==="function"){s=s(r)}if(!t.has("Connection")&&!s){t.set("Connection","close")}return Object.assign({},r,{method:e.method,headers:exportNodeCompatibleHeaders(t),agent:s})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const j=n.PassThrough;const S=s.resolve;function fetch(e,r){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise(function(t,s){const u=new Request(e,r);const p=getNodeRequestOptions(u);const c=(p.protocol==="https:"?o:i).request;const d=u.signal;let l=null;const g=function abort(){let e=new AbortError("The user aborted a request.");s(e);if(u.body&&u.body instanceof n.Readable){u.body.destroy(e)}if(!l||!l.body)return;l.body.emit("error",e)};if(d&&d.aborted){g();return}const m=function abortAndFinalize(){g();finalize()};const h=c(p);let y;if(d){d.addEventListener("abort",m)}function finalize(){h.abort();if(d)d.removeEventListener("abort",m);clearTimeout(y)}if(u.timeout){h.once("socket",function(e){y=setTimeout(function(){s(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}h.on("error",function(e){s(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});h.on("response",function(e){clearTimeout(y);const r=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const n=r.get("Location");const i=n===null?null:S(u.url,n);switch(u.redirect){case"error":s(new FetchError(`redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{r.set("Location",i)}catch(e){s(e)}}break;case"follow":if(i===null){break}if(u.counter>=u.follow){s(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const n={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){s(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&u.method==="POST"){n.method="GET";n.body=undefined;n.headers.delete("content-length")}t(fetch(new Request(i,n)));finalize();return}}e.once("end",function(){if(d)d.removeEventListener("abort",m)});let n=e.pipe(new j);const i={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:r,size:u.size,timeout:u.timeout,counter:u.counter};const o=r.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||o===null||e.statusCode===204||e.statusCode===304){l=new Response(n,i);t(l);return}const p={flush:a.Z_SYNC_FLUSH,finishFlush:a.Z_SYNC_FLUSH};if(o=="gzip"||o=="x-gzip"){n=n.pipe(a.createGunzip(p));l=new Response(n,i);t(l);return}if(o=="deflate"||o=="x-deflate"){const r=e.pipe(new j);r.once("data",function(e){if((e[0]&15)===8){n=n.pipe(a.createInflate())}else{n=n.pipe(a.createInflateRaw())}l=new Response(n,i);t(l)});return}if(o=="br"&&typeof a.createBrotliDecompress==="function"){n=n.pipe(a.createBrotliDecompress());l=new Response(n,i);t(l);return}l=new Response(n,i);t(l)});writeToStream(h,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=r=fetch;Object.defineProperty(r,"__esModule",{value:true});r.default=r;r.Headers=Headers;r.Request=Request;r.Response=Response;r.FetchError=FetchError},462:function(e){"use strict";const r=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(r,"^$1");return e}function escapeArgument(e,t){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(r,"^$1");if(t){e=e.replace(r,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},463:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(692);var i=_interopDefault(t(969));const s=i(e=>console.warn(e));class RequestError extends Error{constructor(e,r,t){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=r;Object.defineProperty(this,"code",{get(){s(new n.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return r}});this.headers=t.headers;const i=Object.assign({},t.request);if(t.request.headers.authorization){i.headers=Object.assign({},t.request.headers,{authorization:t.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i}}r.RequestError=RequestError},469:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)if(Object.hasOwnProperty.call(e,t))r[t]=e[t];r["default"]=e;return r};Object.defineProperty(r,"__esModule",{value:true});const s=t(503);const o=n(t(613));const a=i(t(262));o.default.prototype=new o.default;r.context=new a.Context;class GitHub extends o.default{constructor(e,r={}){super(Object.assign(Object.assign({},r),{auth:`token ${e}`}));this.graphql=s.defaults({headers:{authorization:`token ${e}`}})}}r.GitHub=GitHub},470:function(e,r,t){"use strict";var n=this&&this.__awaiter||function(e,r,t,n){function adopt(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(t,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?t(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:true});const i=t(431);const s=t(622);var o;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(o=r.ExitCode||(r.ExitCode={}));function exportVariable(e,r){process.env[e]=r;i.issueCommand("set-env",{name:e},r)}r.exportVariable=exportVariable;function exportSecret(e,r){exportVariable(e,r);i.issueCommand("set-secret",{},r);throw new Error("Not implemented.")}r.exportSecret=exportSecret;function addPath(e){i.issueCommand("add-path",{},e);process.env["PATH"]=`${e}${s.delimiter}${process.env["PATH"]}`}r.addPath=addPath;function getInput(e,r){const t=process.env[`INPUT_${e.replace(" ","_").toUpperCase()}`]||"";if(r&&r.required&&!t){throw new Error(`Input required and not supplied: ${e}`)}return t.trim()}r.getInput=getInput;function setOutput(e,r){i.issueCommand("set-output",{name:e},r)}r.setOutput=setOutput;function setFailed(e){process.exitCode=o.Failure;error(e)}r.setFailed=setFailed;function debug(e){i.issueCommand("debug",{},e)}r.debug=debug;function error(e){i.issue("error",e)}r.error=error;function warning(e){i.issue("warning",e)}r.warning=warning;function startGroup(e){i.issue("group",e)}r.startGroup=startGroup;function endGroup(){i.issue("endgroup")}r.endGroup=endGroup;function group(e,r){return n(this,void 0,void 0,function*(){startGroup(e);let t;try{t=yield r()}finally{endGroup()}return t})}r.group=group},471:function(e,r,t){e.exports=authenticationBeforeRequest;const n=t(675);const i=t(126);function authenticationBeforeRequest(e,r){if(!e.auth.type){return}if(e.auth.type==="basic"){const t=n(`${e.auth.username}:${e.auth.password}`);r.headers.authorization=`Basic ${t}`;return}if(e.auth.type==="token"){r.headers.authorization=`token ${e.auth.token}`;return}if(e.auth.type==="app"){r.headers.authorization=`Bearer ${e.auth.token}`;const t=r.headers.accept.split(",").concat("application/vnd.github.machine-man-preview+json");r.headers.accept=i(t).filter(Boolean).join(",");return}r.url+=r.url.indexOf("?")===-1?"?":"&";if(e.auth.token){r.url+=`access_token=${encodeURIComponent(e.auth.token)}`;return}const t=encodeURIComponent(e.auth.key);const s=encodeURIComponent(e.auth.secret);r.url+=`client_id=${t}&client_secret=${s}`}},489:function(e,r,t){"use strict";const n=t(622);const i=t(814);const s=t(39)();function resolveCommandAttempt(e,r){const t=process.cwd();const o=e.options.cwd!=null;if(o){try{process.chdir(e.options.cwd)}catch(e){}}let a;try{a=i.sync(e.command,{path:(e.options.env||process.env)[s],pathExt:r?n.delimiter:undefined})}catch(e){}finally{process.chdir(t)}if(a){a=n.resolve(o?e.options.cwd:"",a)}return a}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},500:function(e,r,t){e.exports=graphql;const n=t(862);const i=["method","baseUrl","url","headers","request","query"];function graphql(e,r,t){if(typeof r==="string"){t=Object.assign({query:r},t)}else{t=r}const s=Object.keys(t).reduce((e,r)=>{if(i.includes(r)){e[r]=t[r];return e}if(!e.variables){e.variables={}}e.variables[r]=t[r];return e},{});return e(s).then(e=>{if(e.data.errors){throw new n(s,e)}return e.data.data})}},503:function(e,r,t){const{request:n}=t(753);const i=t(650);const s=t(314).version;const o=`octokit-graphql.js/${s} ${i()}`;const a=t(0);e.exports=a(n,{method:"POST",url:"/graphql",headers:{"user-agent":o}})},510:function(e){e.exports=addHook;function addHook(e,r,t,n){var i=n;if(!e.registry[t]){e.registry[t]=[]}if(r==="before"){n=function(e,r){return Promise.resolve().then(i.bind(null,r)).then(e.bind(null,r))}}if(r==="after"){n=function(e,r){var t;return Promise.resolve().then(e.bind(null,r)).then(function(e){t=e;return i(t,r)}).then(function(){return t})}}if(r==="error"){n=function(e,r){return Promise.resolve().then(e.bind(null,r)).catch(function(e){return i(e,r)})}}e.registry[t].push({hook:n,orig:i})}},523:function(e,r,t){var n=t(363);var i=t(510);var s=t(763);var o=Function.bind;var a=o.bind(o);function bindApi(e,r,t){var n=a(s,null).apply(null,t?[r,t]:[r]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach(function(n){var s=t?[r,n,t]:[r,n];e[n]=e.api[n]=a(i,null).apply(null,s)})}function HookSingular(){var e="h";var r={registry:{}};var t=n.bind(null,r,e);bindApi(t,r,e);return t}function HookCollection(){var e={registry:{}};var r=n.bind(null,e);bindApi(r,e);return r}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},529:function(e,r,t){const n=t(47);e.exports=n()},536:function(e,r,t){e.exports=hasFirstPage;const n=t(370);const i=t(577);function hasFirstPage(e){n(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).first}},550:function(e,r,t){e.exports=getNextPage;const n=t(265);function getNextPage(e,r,t){return n(e,r,"next",t)}},558:function(e,r,t){e.exports=hasPreviousPage;const n=t(370);const i=t(577);function hasPreviousPage(e){n(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).prev}},563:function(e,r,t){e.exports=getPreviousPage;const n=t(265);function getPreviousPage(e,r,t){return n(e,r,"prev",t)}},568:function(e,r,t){"use strict";const n=t(622);const i=t(948);const s=t(489);const o=t(462);const a=t(389);const u=t(280);const p=process.platform==="win32";const c=/\.(?:com|exe)$/i;const d=/node_modules[\\\/].bin[\\\/][^\\\/]+\.cmd$/i;const l=i(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=s(e);const r=e.file&&a(e.file);if(r){e.args.unshift(e.file);e.command=r;return s(e)}return e.file}function parseNonShell(e){if(!p){return e}const r=detectShebang(e);const t=!c.test(r);if(e.options.forceShell||t){const t=d.test(r);e.command=n.normalize(e.command);e.command=o.command(e.command);e.args=e.args.map(e=>o.argument(e,t));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(l){return e}const r=[e.command].concat(e.args).join(" ");if(p){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${r}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",r]}return e}function parse(e,r,t){if(r&&!Array.isArray(r)){t=r;r=null}r=r?r.slice(0):[];t=Object.assign({},t);const n={command:e,args:r,options:t,file:undefined,original:{command:e,args:r}};return t.shell?parseShell(n):parseNonShell(n)}e.exports=parse},577:function(e){e.exports=getPageLinks;function getPageLinks(e){e=e.link||e.headers.link||"";const r={};e.replace(/<([^>]*)>;\s*rel="([\w]*)"/g,(e,t,n)=>{r[n]=t});return r}},586:function(e,r,t){e.exports=octokitRestApiEndpoints;const n=t(705);function octokitRestApiEndpoints(e){n.gitdata=n.git;n.authorization=n.oauthAuthorizations;n.pullRequests=n.pulls;e.registerEndpoints(n)}},605:function(e){e.exports=require("http")},613:function(e,r,t){const n=t(529);const i=[t(372),t(19),t(190),t(148),t(309),t(248),t(586),t(430),t(850)];e.exports=n.plugin(i)},614:function(e){e.exports=require("events")},621:function(e,r,t){"use strict";const n=t(622);const i=t(39);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[i()]},e);let r;let t=n.resolve(e.cwd);const s=[];while(r!==t){s.push(n.join(t,"node_modules/.bin"));r=t;t=n.resolve(t,"..")}s.push(n.dirname(process.execPath));return s.concat(e.path).join(n.delimiter)});e.exports.env=(r=>{r=Object.assign({env:process.env},r);const t=Object.assign({},r.env);const n=i({env:t});r.path=t[n];t[n]=e.exports(r);return t})},622:function(e){e.exports=require("path")},649:function(e,r,t){e.exports=getLastPage;const n=t(265);function getLastPage(e,r,t){return n(e,r,"last",t)}},650:function(e,r,t){e.exports=getUserAgentNode;const n=t(2);function getUserAgentNode(){try{return`Node.js/${process.version.substr(1)} (${n()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows "}throw e}}},654:function(e){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},669:function(e){e.exports=require("util")},674:function(e,r,t){e.exports=authenticate;const{Deprecation:n}=t(692);const i=t(969);const s=i((e,r)=>e.warn(r));function authenticate(e,r){s(e.octokit.log,new n('[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.'));if(!r){e.auth=false;return}switch(r.type){case"basic":if(!r.username||!r.password){throw new Error("Basic authentication requires both a username and password to be set")}break;case"oauth":if(!r.token&&!(r.key&&r.secret)){throw new Error("OAuth2 authentication requires a token or key & secret to be set")}break;case"token":case"app":if(!r.token){throw new Error("Token authentication requires a token to be set")}break;default:throw new Error("Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'")}e.auth=r}},675:function(e){e.exports=function btoa(e){return new Buffer(e).toString("base64")}},692:function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}r.Deprecation=Deprecation},696:function(e){"use strict";function isObject(e){return e!=null&&typeof e==="object"&&Array.isArray(e)===false}function isObjectObject(e){return isObject(e)===true&&Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var r,t;if(isObjectObject(e)===false)return false;r=e.constructor;if(typeof r!=="function")return false;t=r.prototype;if(isObjectObject(t)===false)return false;if(t.hasOwnProperty("isPrototypeOf")===false){return false}return true}e.exports=isPlainObject},697:function(e){"use strict";e.exports=((e,r)=>{r=r||(()=>{});return e.then(e=>new Promise(e=>{e(r())}).then(()=>e),e=>new Promise(e=>{e(r())}).then(()=>{throw e}))})},705:function(e){e.exports={activity:{checkStarringRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},deleteRepoSubscription:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},deleteThreadSubscription:{method:"DELETE",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},getRepoSubscription:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscription"},getThread:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},getThreadSubscription:{method:"GET",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},listEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/orgs/:org"},listEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events"},listFeeds:{method:"GET",params:{},url:"/feeds"},listNotifications:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},since:{type:"string"}},url:"/notifications"},listNotificationsForRepo:{method:"GET",params:{all:{type:"boolean"},before:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},participating:{type:"boolean"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/notifications"},listPublicEvents:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/events"},listPublicEventsForOrg:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/events"},listPublicEventsForRepoNetwork:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/networks/:owner/:repo/events"},listPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/events/public"},listReceivedEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events"},listReceivedPublicEventsForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/received_events/public"},listRepoEvents:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/events"},listReposStarredByAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/user/starred"},listReposStarredByUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/starred"},listReposWatchedByUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/subscriptions"},listStargazersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stargazers"},listWatchedReposForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/subscriptions"},listWatchersForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/subscribers"},markAsRead:{method:"PUT",params:{last_read_at:{type:"string"}},url:"/notifications"},markNotificationsAsReadForRepo:{method:"PUT",params:{last_read_at:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/notifications"},markThreadAsRead:{method:"PATCH",params:{thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id"},setRepoSubscription:{method:"PUT",params:{ignored:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},subscribed:{type:"boolean"}},url:"/repos/:owner/:repo/subscription"},setThreadSubscription:{method:"PUT",params:{ignored:{type:"boolean"},thread_id:{required:true,type:"integer"}},url:"/notifications/threads/:thread_id/subscription"},starRepo:{method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"},unstarRepo:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/user/starred/:owner/:repo"}},apps:{addRepoToInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"PUT",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"},checkAccountIsAssociatedWithAny:{method:"GET",params:{account_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/accounts/:account_id"},checkAccountIsAssociatedWithAnyStubbed:{method:"GET",params:{account_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/accounts/:account_id"},createContentAttachment:{headers:{accept:"application/vnd.github.corsair-preview+json"},method:"POST",params:{body:{required:true,type:"string"},content_reference_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/content_references/:content_reference_id/attachments"},createFromManifest:{headers:{accept:"application/vnd.github.fury-preview+json"},method:"POST",params:{code:{required:true,type:"string"}},url:"/app-manifests/:code/conversions"},createInstallationToken:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"POST",params:{installation_id:{required:true,type:"integer"},permissions:{type:"object"},repository_ids:{type:"integer[]"}},url:"/app/installations/:installation_id/access_tokens"},deleteInstallation:{headers:{accept:"application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},findOrgInstallation:{deprecated:"octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},findRepoInstallation:{deprecated:"octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},findUserInstallation:{deprecated:"octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)",headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},getAuthenticated:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{},url:"/app"},getBySlug:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{app_slug:{required:true,type:"string"}},url:"/apps/:app_slug"},getInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"}},url:"/app/installations/:installation_id"},getOrgInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/installation"},getRepoInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/installation"},getUserInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username/installation"},listAccountsUserOrOrgOnPlan:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/plans/:plan_id/accounts"},listAccountsUserOrOrgOnPlanStubbed:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},plan_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/marketplace_listing/stubbed/plans/:plan_id/accounts"},listInstallationReposForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{installation_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations/:installation_id/repositories"},listInstallations:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/app/installations"},listInstallationsForAuthenticatedUser:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/installations"},listMarketplacePurchasesForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases"},listMarketplacePurchasesForAuthenticatedUserStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/marketplace_purchases/stubbed"},listPlans:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/plans"},listPlansStubbed:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/marketplace_listing/stubbed/plans"},listRepos:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/installation/repositories"},removeRepoFromInstallation:{headers:{accept:"application/vnd.github.machine-man-preview+json"},method:"DELETE",params:{installation_id:{required:true,type:"integer"},repository_id:{required:true,type:"integer"}},url:"/user/installations/:installation_id/repositories/:repository_id"}},checks:{create:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},head_sha:{required:true,type:"string"},name:{required:true,type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs"},createSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{head_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites"},get:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"},getSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id"},listAnnotations:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_run_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id/annotations"},listForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-runs"},listForSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{check_name:{type:"string"},check_suite_id:{required:true,type:"integer"},filter:{enum:["latest","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"},listSuitesForRef:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"GET",params:{app_id:{type:"integer"},check_name:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/check-suites"},rerequestSuite:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"POST",params:{check_suite_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"},setSuitesPreferences:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{auto_trigger_checks:{type:"object[]"},"auto_trigger_checks[].app_id":{required:true,type:"integer"},"auto_trigger_checks[].setting":{required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/check-suites/preferences"},update:{headers:{accept:"application/vnd.github.antiope-preview+json"},method:"PATCH",params:{actions:{type:"object[]"},"actions[].description":{required:true,type:"string"},"actions[].identifier":{required:true,type:"string"},"actions[].label":{required:true,type:"string"},check_run_id:{required:true,type:"integer"},completed_at:{type:"string"},conclusion:{enum:["success","failure","neutral","cancelled","timed_out","action_required"],type:"string"},details_url:{type:"string"},external_id:{type:"string"},name:{type:"string"},output:{type:"object"},"output.annotations":{type:"object[]"},"output.annotations[].annotation_level":{enum:["notice","warning","failure"],required:true,type:"string"},"output.annotations[].end_column":{type:"integer"},"output.annotations[].end_line":{required:true,type:"integer"},"output.annotations[].message":{required:true,type:"string"},"output.annotations[].path":{required:true,type:"string"},"output.annotations[].raw_details":{type:"string"},"output.annotations[].start_column":{type:"integer"},"output.annotations[].start_line":{required:true,type:"integer"},"output.annotations[].title":{type:"string"},"output.images":{type:"object[]"},"output.images[].alt":{required:true,type:"string"},"output.images[].caption":{type:"string"},"output.images[].image_url":{required:true,type:"string"},"output.summary":{required:true,type:"string"},"output.text":{type:"string"},"output.title":{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},started_at:{type:"string"},status:{enum:["queued","in_progress","completed"],type:"string"}},url:"/repos/:owner/:repo/check-runs/:check_run_id"}},codesOfConduct:{getConductCode:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{key:{required:true,type:"string"}},url:"/codes_of_conduct/:key"},getForRepo:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/code_of_conduct"},listConductCodes:{headers:{accept:"application/vnd.github.scarlet-witch-preview+json"},method:"GET",params:{},url:"/codes_of_conduct"}},emojis:{get:{method:"GET",params:{},url:"/emojis"}},gists:{checkIsStarred:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},create:{method:"POST",params:{description:{type:"string"},files:{required:true,type:"object"},"files.content":{type:"string"},public:{type:"boolean"}},url:"/gists"},createComment:{method:"POST",params:{body:{required:true,type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments"},delete:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},fork:{method:"POST",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/forks"},get:{method:"GET",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"},getRevision:{method:"GET",params:{gist_id:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/gists/:gist_id/:sha"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists"},listComments:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/comments"},listCommits:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/commits"},listForks:{method:"GET",params:{gist_id:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/gists/:gist_id/forks"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/public"},listPublicForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},username:{required:true,type:"string"}},url:"/users/:username/gists"},listStarred:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/gists/starred"},star:{method:"PUT",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},unstar:{method:"DELETE",params:{gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/star"},update:{method:"PATCH",params:{description:{type:"string"},files:{type:"object"},"files.content":{type:"string"},"files.filename":{type:"string"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},gist_id:{required:true,type:"string"}},url:"/gists/:gist_id/comments/:comment_id"}},git:{createBlob:{method:"POST",params:{content:{required:true,type:"string"},encoding:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs"},createCommit:{method:"POST",params:{author:{type:"object"},"author.date":{type:"string"},"author.email":{type:"string"},"author.name":{type:"string"},committer:{type:"object"},"committer.date":{type:"string"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},parents:{required:true,type:"string[]"},repo:{required:true,type:"string"},signature:{type:"string"},tree:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits"},createRef:{method:"POST",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs"},createTag:{method:"POST",params:{message:{required:true,type:"string"},object:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"},tagger:{type:"object"},"tagger.date":{type:"string"},"tagger.email":{type:"string"},"tagger.name":{type:"string"},type:{enum:["commit","tree","blob"],required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags"},createTree:{method:"POST",params:{base_tree:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},tree:{required:true,type:"object[]"},"tree[].content":{type:"string"},"tree[].mode":{enum:["100644","100755","040000","160000","120000"],type:"string"},"tree[].path":{type:"string"},"tree[].sha":{type:"string"},"tree[].type":{enum:["blob","tree","commit"],type:"string"}},url:"/repos/:owner/:repo/git/trees"},deleteRef:{method:"DELETE",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getBlob:{method:"GET",params:{file_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/blobs/:file_sha"},getCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/commits/:commit_sha"},getRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"},getTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/tags/:tag_sha"},getTree:{method:"GET",params:{owner:{required:true,type:"string"},recursive:{enum:[1],type:"integer"},repo:{required:true,type:"string"},tree_sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/trees/:tree_sha"},listRefs:{method:"GET",params:{namespace:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:namespace"},updateRef:{method:"PATCH",params:{force:{type:"boolean"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/git/refs/:ref"}},gitignore:{getTemplate:{method:"GET",params:{name:{required:true,type:"string"}},url:"/gitignore/templates/:name"},listTemplates:{method:"GET",params:{},url:"/gitignore/templates"}},interactions:{addOrUpdateRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},addOrUpdateRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"PUT",params:{limit:{enum:["existing_users","contributors_only","collaborators_only"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},getRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},getRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"},removeRestrictionsForOrg:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{org:{required:true,type:"string"}},url:"/orgs/:org/interaction-limits"},removeRestrictionsForRepo:{headers:{accept:"application/vnd.github.sombra-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/interaction-limits"}},issues:{addAssignees:{method:"POST",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},addLabels:{method:"POST",params:{issue_number:{required:true,type:"integer"},labels:{required:true,type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},checkAssignee:{method:"GET",params:{assignee:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees/:assignee"},create:{method:"POST",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},labels:{type:"string[]"},milestone:{type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues"},createComment:{method:"POST",params:{body:{required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},createLabel:{method:"POST",params:{color:{required:true,type:"string"},description:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},createMilestone:{method:"POST",params:{description:{type:"string"},due_on:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},deleteLabel:{method:"DELETE",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},deleteMilestone:{method:"DELETE",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},get:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},getEvent:{method:"GET",params:{event_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events/:event_id"},getLabel:{method:"GET",params:{name:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:name"},getMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"},list:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/issues"},listAssignees:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/assignees"},listComments:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/issues/comments"},listEvents:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/events"},listEventsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/events"},listEventsForTimeline:{headers:{accept:"application/vnd.github.mockingbird-preview+json"},method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/timeline"},listForAuthenticatedUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/user/issues"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},filter:{enum:["assigned","created","mentioned","subscribed","all"],type:"string"},labels:{type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/issues"},listForRepo:{method:"GET",params:{assignee:{type:"string"},creator:{type:"string"},direction:{enum:["asc","desc"],type:"string"},labels:{type:"string"},mentioned:{type:"string"},milestone:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated","comments"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/issues"},listLabelsForMilestone:{method:"GET",params:{milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number/labels"},listLabelsForRepo:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels"},listLabelsOnIssue:{method:"GET",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},listMilestonesForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["due_on","completeness"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/milestones"},lock:{method:"PUT",params:{issue_number:{required:true,type:"integer"},lock_reason:{enum:["off-topic","too heated","resolved","spam"],type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},removeAssignees:{method:"DELETE",params:{assignees:{type:"string[]"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/assignees"},removeLabel:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},name:{required:true,type:"string"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels/:name"},removeLabels:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},replaceLabels:{method:"PUT",params:{issue_number:{required:true,type:"integer"},labels:{type:"string[]"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/labels"},unlock:{method:"DELETE",params:{issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/lock"},update:{method:"PATCH",params:{assignee:{type:"string"},assignees:{type:"string[]"},body:{type:"string"},issue_number:{required:true,type:"integer"},labels:{type:"string[]"},milestone:{allowNull:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id"},updateLabel:{method:"PATCH",params:{color:{type:"string"},current_name:{required:true,type:"string"},description:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/labels/:current_name"},updateMilestone:{method:"PATCH",params:{description:{type:"string"},due_on:{type:"string"},milestone_number:{required:true,type:"integer"},number:{alias:"milestone_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/milestones/:milestone_number"}},licenses:{get:{method:"GET",params:{license:{required:true,type:"string"}},url:"/licenses/:license"},getForRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/license"},list:{deprecated:"octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",method:"GET",params:{},url:"/licenses"},listCommonlyUsed:{method:"GET",params:{},url:"/licenses"}},markdown:{render:{method:"POST",params:{context:{type:"string"},mode:{enum:["markdown","gfm"],type:"string"},text:{required:true,type:"string"}},url:"/markdown"},renderRaw:{headers:{"content-type":"text/plain; charset=utf-8"},method:"POST",params:{data:{mapTo:"data",required:true,type:"string"}},url:"/markdown/raw"}},meta:{get:{method:"GET",params:{},url:"/meta"}},migrations:{cancelImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},deleteArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},deleteArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getArchiveForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id/archive"},getArchiveForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/archive"},getCommitAuthors:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},since:{type:"string"}},url:"/repos/:owner/:repo/import/authors"},getImportProgress:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import"},getLargeFiles:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/large_files"},getStatusForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"}},url:"/user/migrations/:migration_id"},getStatusForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id"},listForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/migrations"},listForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/migrations"},mapCommitAuthor:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{author_id:{required:true,type:"integer"},email:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/import/authors/:author_id"},setLfsPreference:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},use_lfs:{enum:["opt_in","opt_out"],required:true,type:"string"}},url:"/repos/:owner/:repo/import/lfs"},startForAuthenticatedUser:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},repositories:{required:true,type:"string[]"}},url:"/user/migrations"},startForOrg:{method:"POST",params:{exclude_attachments:{type:"boolean"},lock_repositories:{type:"boolean"},org:{required:true,type:"string"},repositories:{required:true,type:"string[]"}},url:"/orgs/:org/migrations"},startImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tfvc_project:{type:"string"},vcs:{enum:["subversion","git","mercurial","tfvc"],type:"string"},vcs_password:{type:"string"},vcs_url:{required:true,type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"},unlockRepoForAuthenticatedUser:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},repo_name:{required:true,type:"string"}},url:"/user/migrations/:migration_id/repos/:repo_name/lock"},unlockRepoForOrg:{headers:{accept:"application/vnd.github.wyandotte-preview+json"},method:"DELETE",params:{migration_id:{required:true,type:"integer"},org:{required:true,type:"string"},repo_name:{required:true,type:"string"}},url:"/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"},updateImport:{headers:{accept:"application/vnd.github.barred-rock-preview+json"},method:"PATCH",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},vcs_password:{type:"string"},vcs_username:{type:"string"}},url:"/repos/:owner/:repo/import"}},oauthAuthorizations:{checkAuthorization:{method:"GET",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},createAuthorization:{method:"POST",params:{client_id:{type:"string"},client_secret:{type:"string"},fingerprint:{type:"string"},note:{required:true,type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations"},deleteAuthorization:{method:"DELETE",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},deleteGrant:{method:"DELETE",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getAuthorization:{method:"GET",params:{authorization_id:{required:true,type:"integer"}},url:"/authorizations/:authorization_id"},getGrant:{method:"GET",params:{grant_id:{required:true,type:"integer"}},url:"/applications/grants/:grant_id"},getOrCreateAuthorizationForApp:{method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id"},getOrCreateAuthorizationForAppAndFingerprint:{method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},getOrCreateAuthorizationForAppFingerprint:{deprecated:"octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)",method:"PUT",params:{client_id:{required:true,type:"string"},client_secret:{required:true,type:"string"},fingerprint:{required:true,type:"string"},note:{type:"string"},note_url:{type:"string"},scopes:{type:"string[]"}},url:"/authorizations/clients/:client_id/:fingerprint"},listAuthorizations:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/authorizations"},listGrants:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/applications/grants"},resetAuthorization:{method:"POST",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeAuthorizationForApplication:{method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/tokens/:access_token"},revokeGrantForApplication:{method:"DELETE",params:{access_token:{required:true,type:"string"},client_id:{required:true,type:"string"}},url:"/applications/:client_id/grants/:access_token"},updateAuthorization:{method:"PATCH",params:{add_scopes:{type:"string[]"},authorization_id:{required:true,type:"integer"},fingerprint:{type:"string"},note:{type:"string"},note_url:{type:"string"},remove_scopes:{type:"string[]"},scopes:{type:"string[]"}},url:"/authorizations/:authorization_id"}},orgs:{addOrUpdateMembership:{method:"PUT",params:{org:{required:true,type:"string"},role:{enum:["admin","member"],type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},blockUser:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkBlockedUser:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},checkMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},checkPublicMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},concealMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},convertMemberToOutsideCollaborator:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks"},createInvitation:{method:"POST",params:{email:{type:"string"},invitee_id:{type:"integer"},org:{required:true,type:"string"},role:{enum:["admin","direct_member","billing_manager"],type:"string"},team_ids:{type:"integer[]"}},url:"/orgs/:org/invitations"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},get:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},getMembership:{method:"GET",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},getMembershipForAuthenticatedUser:{method:"GET",params:{org:{required:true,type:"string"}},url:"/user/memberships/orgs/:org"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/organizations"},listBlockedUsers:{method:"GET",params:{org:{required:true,type:"string"}},url:"/orgs/:org/blocks"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/orgs"},listForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/orgs"},listHooks:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/hooks"},listInvitationTeams:{method:"GET",params:{invitation_id:{required:true,type:"integer"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations/:invitation_id/teams"},listMembers:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},role:{enum:["all","admin","member"],type:"string"}},url:"/orgs/:org/members"},listMemberships:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["active","pending"],type:"string"}},url:"/user/memberships/orgs"},listOutsideCollaborators:{method:"GET",params:{filter:{enum:["2fa_disabled","all"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/outside_collaborators"},listPendingInvitations:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/invitations"},listPublicMembers:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/public_members"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id/pings"},publicizeMembership:{method:"PUT",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/public_members/:username"},removeMember:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/members/:username"},removeMembership:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/memberships/:username"},removeOutsideCollaborator:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/outside_collaborators/:username"},unblockUser:{method:"DELETE",params:{org:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/orgs/:org/blocks/:username"},update:{method:"PATCH",params:{billing_email:{type:"string"},company:{type:"string"},default_repository_permission:{enum:["read","write","admin","none"],type:"string"},description:{type:"string"},email:{type:"string"},has_organization_projects:{type:"boolean"},has_repository_projects:{type:"boolean"},location:{type:"string"},members_allowed_repository_creation_type:{enum:["all","private","none"],type:"string"},members_can_create_repositories:{type:"boolean"},name:{type:"string"},org:{required:true,type:"string"}},url:"/orgs/:org"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},org:{required:true,type:"string"}},url:"/orgs/:org/hooks/:hook_id"},updateMembership:{method:"PATCH",params:{org:{required:true,type:"string"},state:{enum:["active"],required:true,type:"string"}},url:"/user/memberships/orgs/:org"}},projects:{addCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},createCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},content_id:{type:"integer"},content_type:{type:"string"},note:{type:"string"}},url:"/projects/columns/:column_id/cards"},createColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{name:{required:true,type:"string"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},createForAuthenticatedUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/user/projects"},createForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/projects"},createForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{body:{type:"string"},name:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/projects"},delete:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},deleteCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},deleteColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},get:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id"},getCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{card_id:{required:true,type:"integer"}},url:"/projects/columns/cards/:card_id"},getColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{column_id:{required:true,type:"integer"}},url:"/projects/columns/:column_id"},listCards:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{archived_state:{enum:["all","archived","not_archived"],type:"string"},column_id:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"}},url:"/projects/columns/:column_id/cards"},listCollaborators:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/collaborators"},listColumns:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},project_id:{required:true,type:"integer"}},url:"/projects/:project_id/columns"},listForOrg:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"}},url:"/orgs/:org/projects"},listForRepo:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/projects"},listForUser:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},state:{enum:["open","closed","all"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/projects"},moveCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{card_id:{required:true,type:"integer"},column_id:{type:"integer"},position:{required:true,type:"string",validation:"^(top|bottom|after:\\d+)$"}},url:"/projects/columns/cards/:card_id/moves"},moveColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"POST",params:{column_id:{required:true,type:"integer"},position:{required:true,type:"string",validation:"^(first|last|after:\\d+)$"}},url:"/projects/columns/:column_id/moves"},removeCollaborator:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"DELETE",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username"},reviewUserPermissionLevel:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/projects/:project_id/collaborators/:username/permission"},update:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{body:{type:"string"},name:{type:"string"},organization_permission:{type:"string"},page:{type:"integer"},per_page:{type:"integer"},private:{type:"boolean"},project_id:{required:true,type:"integer"},state:{enum:["open","closed"],type:"string"}},url:"/projects/:project_id"},updateCard:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{archived:{type:"boolean"},card_id:{required:true,type:"integer"},note:{type:"string"}},url:"/projects/columns/cards/:card_id"},updateColumn:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PATCH",params:{column_id:{required:true,type:"integer"},name:{required:true,type:"string"}},url:"/projects/columns/:column_id"}},pulls:{checkIfMerged:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},create:{method:"POST",params:{base:{required:true,type:"string"},body:{type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},title:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createComment:{method:"POST",params:{body:{required:true,type:"string"},commit_id:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},path:{required:true,type:"string"},position:{required:true,type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createCommentReply:{method:"POST",params:{body:{required:true,type:"string"},in_reply_to:{required:true,type:"integer"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},createFromIssue:{method:"POST",params:{base:{required:true,type:"string"},draft:{type:"boolean"},head:{required:true,type:"string"},issue:{required:true,type:"integer"},maintainer_can_modify:{type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls"},createReview:{method:"POST",params:{body:{type:"string"},comments:{type:"object[]"},"comments[].body":{required:true,type:"string"},"comments[].path":{required:true,type:"string"},"comments[].position":{required:true,type:"integer"},commit_id:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},createReviewRequest:{method:"POST",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},deleteComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},deletePendingReview:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},deleteReviewRequest:{method:"DELETE",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},reviewers:{type:"string[]"},team_reviewers:{type:"string[]"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},dismissReview:{method:"PUT",params:{message:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"},get:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},getComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},getCommentsForReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"},getReview:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"},list:{method:"GET",params:{base:{type:"string"},direction:{enum:["asc","desc"],type:"string"},head:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["created","updated","popularity","long-running"],type:"string"},state:{enum:["open","closed","all"],type:"string"}},url:"/repos/:owner/:repo/pulls"},listComments:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/comments"},listCommentsForRepo:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},since:{type:"string"},sort:{enum:["created","updated"],type:"string"}},url:"/repos/:owner/:repo/pulls/comments"},listCommits:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/commits"},listFiles:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/files"},listReviewRequests:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"},listReviews:{method:"GET",params:{number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews"},merge:{method:"PUT",params:{commit_message:{type:"string"},commit_title:{type:"string"},merge_method:{enum:["merge","squash","rebase"],type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/merge"},submitReview:{method:"POST",params:{body:{type:"string"},event:{enum:["APPROVE","REQUEST_CHANGES","COMMENT"],required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"},update:{method:"PATCH",params:{base:{type:"string"},body:{type:"string"},maintainer_can_modify:{type:"boolean"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},state:{enum:["open","closed"],type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number"},updateBranch:{headers:{accept:"application/vnd.github.lydian-preview+json"},method:"PUT",params:{expected_head_sha:{type:"string"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/:pull_number/update-branch"},updateComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id"},updateReview:{method:"PUT",params:{body:{required:true,type:"string"},number:{alias:"pull_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},pull_number:{required:true,type:"integer"},repo:{required:true,type:"string"},review_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"}},rateLimit:{get:{method:"GET",params:{},url:"/rate_limit"}},reactions:{createForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},createForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},createForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},createForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},createForTeamDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},createForTeamDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"POST",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"},delete:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"DELETE",params:{reaction_id:{required:true,type:"integer"}},url:"/reactions/:reaction_id"},listForCommitComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id/reactions"},listForIssue:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},issue_number:{required:true,type:"integer"},number:{alias:"issue_number",deprecated:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/:issue_number/reactions"},listForIssueComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/issues/comments/:comment_id/reactions"},listForPullRequestReviewComment:{headers:{accept:"application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_id:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pulls/comments/:comment_id/reactions"},listForTeamDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/reactions"},listForTeamDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},content:{enum:["+1","-1","laugh","confused","heart","hooray","rocket","eyes"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"}},repos:{acceptInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},addCollaborator:{method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},addDeployKey:{method:"POST",params:{key:{required:true,type:"string"},owner:{required:true,type:"string"},read_only:{type:"boolean"},repo:{required:true,type:"string"},title:{type:"string"}},url:"/repos/:owner/:repo/keys"},addProtectedBranchAdminEnforcement:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},addProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},addProtectedBranchRequiredStatusChecksContexts:{method:"POST",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},addProtectedBranchTeamRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},addProtectedBranchUserRestrictions:{method:"POST",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},checkCollaborator:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},checkVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},compareCommits:{method:"GET",params:{base:{required:true,type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/compare/:base...:head"},createCommitComment:{method:"POST",params:{body:{required:true,type:"string"},commit_sha:{required:true,type:"string"},line:{type:"integer"},owner:{required:true,type:"string"},path:{type:"string"},position:{type:"integer"},repo:{required:true,type:"string"},sha:{alias:"commit_sha",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},createDeployment:{method:"POST",params:{auto_merge:{type:"boolean"},description:{type:"string"},environment:{type:"string"},owner:{required:true,type:"string"},payload:{type:"string"},production_environment:{type:"boolean"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},required_contexts:{type:"string[]"},task:{type:"string"},transient_environment:{type:"boolean"}},url:"/repos/:owner/:repo/deployments"},createDeploymentStatus:{method:"POST",params:{auto_inactive:{type:"boolean"},deployment_id:{required:true,type:"integer"},description:{type:"string"},environment:{enum:["production","staging","qa"],type:"string"},environment_url:{type:"string"},log_url:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},state:{enum:["error","failure","inactive","in_progress","queued","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},createFile:{deprecated:"octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createForAuthenticatedUser:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"}},url:"/user/repos"},createFork:{method:"POST",params:{organization:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/forks"},createHook:{method:"POST",params:{active:{type:"boolean"},config:{required:true,type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},createInOrg:{method:"POST",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},auto_init:{type:"boolean"},description:{type:"string"},gitignore_template:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},license_template:{type:"string"},name:{required:true,type:"string"},org:{required:true,type:"string"},private:{type:"boolean"},team_id:{type:"integer"}},url:"/orgs/:org/repos"},createOrUpdateFile:{method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},createRelease:{method:"POST",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},repo:{required:true,type:"string"},tag_name:{required:true,type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases"},createStatus:{method:"POST",params:{context:{type:"string"},description:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"},state:{enum:["error","failure","pending","success"],required:true,type:"string"},target_url:{type:"string"}},url:"/repos/:owner/:repo/statuses/:sha"},createUsingTemplate:{headers:{accept:"application/vnd.github.baptiste-preview+json"},method:"POST",params:{description:{type:"string"},name:{required:true,type:"string"},owner:{type:"string"},private:{type:"boolean"},template_owner:{required:true,type:"string"},template_repo:{required:true,type:"string"}},url:"/repos/:template_owner/:template_repo/generate"},declineInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"}},url:"/user/repository_invitations/:invitation_id"},delete:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},deleteCommitComment:{method:"DELETE",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},deleteDownload:{method:"DELETE",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},deleteFile:{method:"DELETE",params:{author:{type:"object"},"author.email":{type:"string"},"author.name":{type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{type:"string"},"committer.name":{type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},deleteHook:{method:"DELETE",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},deleteInvitation:{method:"DELETE",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},deleteRelease:{method:"DELETE",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},deleteReleaseAsset:{method:"DELETE",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},disableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},disablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},disableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},enableAutomatedSecurityFixes:{headers:{accept:"application/vnd.github.london-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/automated-security-fixes"},enablePagesSite:{headers:{accept:"application/vnd.github.switcheroo-preview+json"},method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{type:"object"},"source.branch":{enum:["master","gh-pages"],type:"string"},"source.path":{type:"string"}},url:"/repos/:owner/:repo/pages"},enableVulnerabilityAlerts:{headers:{accept:"application/vnd.github.dorian-preview+json"},method:"PUT",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/vulnerability-alerts"},get:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},getArchiveLink:{method:"GET",params:{archive_format:{required:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/:archive_format/:ref"},getBranch:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch"},getBranchProtection:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},getClones:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/clones"},getCodeFrequencyStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/code_frequency"},getCollaboratorPermissionLevel:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username/permission"},getCombinedStatusForRef:{method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/status"},getCommit:{method:"GET",params:{commit_sha:{alias:"ref",deprecated:true,type:"string"},owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{alias:"commit_sha",deprecated:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getCommitActivityStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/commit_activity"},getCommitComment:{method:"GET",params:{comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},getCommitRefSha:{deprecated:'"Get the SHA-1 of a commit reference" will be removed. Use "Get a single commit" instead with media type format set to "sha" instead.',method:"GET",params:{owner:{required:true,type:"string"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref"},getContents:{method:"GET",params:{owner:{required:true,type:"string"},path:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contents/:path"},getContributorsStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/contributors"},getDeployKey:{method:"GET",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},getDeployment:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id"},getDeploymentStatus:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},status_id:{required:true,type:"integer"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"},getDownload:{method:"GET",params:{download_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads/:download_id"},getHook:{method:"GET",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},getLatestPagesBuild:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/latest"},getLatestRelease:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/latest"},getPages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages"},getPagesBuild:{method:"GET",params:{build_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds/:build_id"},getParticipationStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/participation"},getProtectedBranchAdminEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},getProtectedBranchPullRequestReviewEnforcement:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},getProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},getProtectedBranchRequiredStatusChecks:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},getProtectedBranchRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},getPunchCardStats:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/stats/punch_card"},getReadme:{method:"GET",params:{owner:{required:true,type:"string"},ref:{type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/readme"},getRelease:{method:"GET",params:{owner:{required:true,type:"string"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},getReleaseAsset:{method:"GET",params:{asset_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},getReleaseByTag:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},tag:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/tags/:tag"},getTopPaths:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/paths"},getTopReferrers:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/popular/referrers"},getViews:{method:"GET",params:{owner:{required:true,type:"string"},per:{enum:["day","week"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/traffic/views"},list:{method:"GET",params:{affiliation:{type:"string"},direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","public","private","member"],type:"string"},visibility:{enum:["all","public","private"],type:"string"}},url:"/user/repos"},listAssetsForRelease:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/:release_id/assets"},listBranches:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},protected:{type:"boolean"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches"},listBranchesForHeadCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/branches-where-head"},listCollaborators:{method:"GET",params:{affiliation:{enum:["outside","direct","all"],type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators"},listCommentsForCommit:{method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{alias:"commit_sha",deprecated:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/comments"},listCommitComments:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments"},listCommits:{method:"GET",params:{author:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},path:{type:"string"},per_page:{type:"integer"},repo:{required:true,type:"string"},sha:{type:"string"},since:{type:"string"},until:{type:"string"}},url:"/repos/:owner/:repo/commits"},listContributors:{method:"GET",params:{anon:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/contributors"},listDeployKeys:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys"},listDeploymentStatuses:{method:"GET",params:{deployment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/deployments/:deployment_id/statuses"},listDeployments:{method:"GET",params:{environment:{type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{type:"string"},repo:{required:true,type:"string"},sha:{type:"string"},task:{type:"string"}},url:"/repos/:owner/:repo/deployments"},listDownloads:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/downloads"},listForOrg:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","public","private","forks","sources","member"],type:"string"}},url:"/orgs/:org/repos"},listForUser:{method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},sort:{enum:["created","updated","pushed","full_name"],type:"string"},type:{enum:["all","owner","member"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/repos"},listForks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"},sort:{enum:["newest","oldest","stargazers"],type:"string"}},url:"/repos/:owner/:repo/forks"},listHooks:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks"},listInvitations:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations"},listInvitationsForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/repository_invitations"},listLanguages:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/languages"},listPagesBuilds:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},listProtectedBranchRequiredStatusChecksContexts:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},listProtectedBranchTeamRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},listProtectedBranchUserRestrictions:{method:"GET",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},listPublic:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/repositories"},listPullRequestsAssociatedWithCommit:{headers:{accept:"application/vnd.github.groot-preview+json"},method:"GET",params:{commit_sha:{required:true,type:"string"},owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:commit_sha/pulls"},listReleases:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases"},listStatusesForRef:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},ref:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/commits/:ref/statuses"},listTags:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/tags"},listTeams:{method:"GET",params:{owner:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/teams"},listTopics:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},merge:{method:"POST",params:{base:{required:true,type:"string"},commit_message:{type:"string"},head:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/merges"},pingHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/pings"},removeBranchProtection:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection"},removeCollaborator:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/repos/:owner/:repo/collaborators/:username"},removeDeployKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/keys/:key_id"},removeProtectedBranchAdminEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/enforce_admins"},removeProtectedBranchPullRequestReviewEnforcement:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},removeProtectedBranchRequiredSignatures:{headers:{accept:"application/vnd.github.zzzax-preview+json"},method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_signatures"},removeProtectedBranchRequiredStatusChecks:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},removeProtectedBranchRequiredStatusChecksContexts:{method:"DELETE",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},removeProtectedBranchRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions"},removeProtectedBranchTeamRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},removeProtectedBranchUserRestrictions:{method:"DELETE",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceProtectedBranchRequiredStatusChecksContexts:{method:"PUT",params:{branch:{required:true,type:"string"},contexts:{mapTo:"data",required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"},replaceProtectedBranchTeamRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},teams:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"},replaceProtectedBranchUserRestrictions:{method:"PUT",params:{branch:{required:true,type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},users:{mapTo:"data",required:true,type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection/restrictions/users"},replaceTopics:{method:"PUT",params:{names:{required:true,type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/topics"},requestPageBuild:{headers:{accept:"application/vnd.github.mister-fantastic-preview+json"},method:"POST",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/pages/builds"},retrieveCommunityProfileMetrics:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/community/profile"},testPushHook:{method:"POST",params:{hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id/tests"},transfer:{headers:{accept:"application/vnd.github.nightshade-preview+json"},method:"POST",params:{new_owner:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_ids:{type:"integer[]"}},url:"/repos/:owner/:repo/transfer"},update:{method:"PATCH",params:{allow_merge_commit:{type:"boolean"},allow_rebase_merge:{type:"boolean"},allow_squash_merge:{type:"boolean"},archived:{type:"boolean"},default_branch:{type:"string"},description:{type:"string"},has_issues:{type:"boolean"},has_projects:{type:"boolean"},has_wiki:{type:"boolean"},homepage:{type:"string"},is_template:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},private:{type:"boolean"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo"},updateBranchProtection:{method:"PUT",params:{branch:{required:true,type:"string"},enforce_admins:{allowNull:true,required:true,type:"boolean"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},required_pull_request_reviews:{allowNull:true,required:true,type:"object"},"required_pull_request_reviews.dismiss_stale_reviews":{type:"boolean"},"required_pull_request_reviews.dismissal_restrictions":{type:"object"},"required_pull_request_reviews.dismissal_restrictions.teams":{type:"string[]"},"required_pull_request_reviews.dismissal_restrictions.users":{type:"string[]"},"required_pull_request_reviews.require_code_owner_reviews":{type:"boolean"},"required_pull_request_reviews.required_approving_review_count":{type:"integer"},required_status_checks:{allowNull:true,required:true,type:"object"},"required_status_checks.contexts":{required:true,type:"string[]"},"required_status_checks.strict":{required:true,type:"boolean"},restrictions:{allowNull:true,required:true,type:"object"},"restrictions.teams":{type:"string[]"},"restrictions.users":{type:"string[]"}},url:"/repos/:owner/:repo/branches/:branch/protection"},updateCommitComment:{method:"PATCH",params:{body:{required:true,type:"string"},comment_id:{required:true,type:"integer"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/comments/:comment_id"},updateFile:{deprecated:"octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)",method:"PUT",params:{author:{type:"object"},"author.email":{required:true,type:"string"},"author.name":{required:true,type:"string"},branch:{type:"string"},committer:{type:"object"},"committer.email":{required:true,type:"string"},"committer.name":{required:true,type:"string"},content:{required:true,type:"string"},message:{required:true,type:"string"},owner:{required:true,type:"string"},path:{required:true,type:"string"},repo:{required:true,type:"string"},sha:{type:"string"}},url:"/repos/:owner/:repo/contents/:path"},updateHook:{method:"PATCH",params:{active:{type:"boolean"},add_events:{type:"string[]"},config:{type:"object"},"config.content_type":{type:"string"},"config.insecure_ssl":{type:"string"},"config.secret":{type:"string"},"config.url":{required:true,type:"string"},events:{type:"string[]"},hook_id:{required:true,type:"integer"},owner:{required:true,type:"string"},remove_events:{type:"string[]"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/hooks/:hook_id"},updateInformationAboutPagesSite:{method:"PUT",params:{cname:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},source:{enum:['"gh-pages"','"master"','"master /docs"'],type:"string"}},url:"/repos/:owner/:repo/pages"},updateInvitation:{method:"PATCH",params:{invitation_id:{required:true,type:"integer"},owner:{required:true,type:"string"},permissions:{enum:["read","write","admin"],type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/invitations/:invitation_id"},updateProtectedBranchPullRequestReviewEnforcement:{method:"PATCH",params:{branch:{required:true,type:"string"},dismiss_stale_reviews:{type:"boolean"},dismissal_restrictions:{type:"object"},"dismissal_restrictions.teams":{type:"string[]"},"dismissal_restrictions.users":{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},require_code_owner_reviews:{type:"boolean"},required_approving_review_count:{type:"integer"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"},updateProtectedBranchRequiredStatusChecks:{method:"PATCH",params:{branch:{required:true,type:"string"},contexts:{type:"string[]"},owner:{required:true,type:"string"},repo:{required:true,type:"string"},strict:{type:"boolean"}},url:"/repos/:owner/:repo/branches/:branch/protection/required_status_checks"},updateRelease:{method:"PATCH",params:{body:{type:"string"},draft:{type:"boolean"},name:{type:"string"},owner:{required:true,type:"string"},prerelease:{type:"boolean"},release_id:{required:true,type:"integer"},repo:{required:true,type:"string"},tag_name:{type:"string"},target_commitish:{type:"string"}},url:"/repos/:owner/:repo/releases/:release_id"},updateReleaseAsset:{method:"PATCH",params:{asset_id:{required:true,type:"integer"},label:{type:"string"},name:{type:"string"},owner:{required:true,type:"string"},repo:{required:true,type:"string"}},url:"/repos/:owner/:repo/releases/assets/:asset_id"},uploadReleaseAsset:{method:"POST",params:{file:{mapTo:"data",required:true,type:"string | object"},headers:{required:true,type:"object"},"headers.content-length":{required:true,type:"integer"},"headers.content-type":{required:true,type:"string"},label:{type:"string"},name:{required:true,type:"string"},url:{required:true,type:"string"}},url:":url"}},search:{code:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["indexed"],type:"string"}},url:"/search/code"},commits:{headers:{accept:"application/vnd.github.cloak-preview+json"},method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["author-date","committer-date"],type:"string"}},url:"/search/commits"},issues:{deprecated:"octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)",method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},issuesAndPullRequests:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["comments","reactions","reactions-+1","reactions--1","reactions-smile","reactions-thinking_face","reactions-heart","reactions-tada","interactions","created","updated"],type:"string"}},url:"/search/issues"},labels:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},q:{required:true,type:"string"},repository_id:{required:true,type:"integer"},sort:{enum:["created","updated"],type:"string"}},url:"/search/labels"},repos:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["stars","forks","help-wanted-issues","updated"],type:"string"}},url:"/search/repositories"},topics:{method:"GET",params:{q:{required:true,type:"string"}},url:"/search/topics"},users:{method:"GET",params:{order:{enum:["desc","asc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},q:{required:true,type:"string"},sort:{enum:["followers","repositories","joined"],type:"string"}},url:"/search/users"}},teams:{addMember:{method:"PUT",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},addOrUpdateMembership:{method:"PUT",params:{role:{enum:["member","maintainer"],type:"string"},team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},addOrUpdateProject:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"PUT",params:{permission:{enum:["read","write","admin"],type:"string"},project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},addOrUpdateRepo:{method:"PUT",params:{owner:{required:true,type:"string"},permission:{enum:["pull","push","admin"],type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},checkManagesRepo:{method:"GET",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},create:{method:"POST",params:{description:{type:"string"},maintainers:{type:"string[]"},name:{required:true,type:"string"},org:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{enum:["secret","closed"],type:"string"},repo_names:{type:"string[]"}},url:"/orgs/:org/teams"},createDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"POST",params:{body:{required:true,type:"string"},private:{type:"boolean"},team_id:{required:true,type:"integer"},title:{required:true,type:"string"}},url:"/teams/:team_id/discussions"},createDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"POST",params:{body:{required:true,type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},delete:{method:"DELETE",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},deleteDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"DELETE",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},deleteDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"DELETE",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},get:{method:"GET",params:{team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},getByName:{method:"GET",params:{org:{required:true,type:"string"},team_slug:{required:true,type:"string"}},url:"/orgs/:org/teams/:team_slug"},getDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number"},getDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"},getMember:{method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},getMembership:{method:"GET",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},list:{method:"GET",params:{org:{required:true,type:"string"},page:{type:"integer"},per_page:{type:"integer"}},url:"/orgs/:org/teams"},listChild:{headers:{accept:"application/vnd.github.hellcat-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/teams"},listDiscussionComments:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},discussion_number:{required:true,type:"integer"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments"},listDiscussions:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"GET",params:{direction:{enum:["asc","desc"],type:"string"},page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions"},listForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/teams"},listMembers:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},role:{enum:["member","maintainer","all"],type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/members"},listPendingInvitations:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/invitations"},listProjects:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects"},listRepos:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos"},removeMember:{method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/members/:username"},removeMembership:{method:"DELETE",params:{team_id:{required:true,type:"integer"},username:{required:true,type:"string"}},url:"/teams/:team_id/memberships/:username"},removeProject:{method:"DELETE",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},removeRepo:{method:"DELETE",params:{owner:{required:true,type:"string"},repo:{required:true,type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/repos/:owner/:repo"},reviewProject:{headers:{accept:"application/vnd.github.inertia-preview+json"},method:"GET",params:{project_id:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/projects/:project_id"},update:{method:"PATCH",params:{description:{type:"string"},name:{required:true,type:"string"},parent_team_id:{type:"integer"},permission:{enum:["pull","push","admin"],type:"string"},privacy:{type:"string"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id"},updateDiscussion:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"PATCH",params:{body:{type:"string"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"},title:{type:"string"}},url:"/teams/:team_id/discussions/:discussion_number"},updateDiscussionComment:{headers:{accept:"application/vnd.github.echo-preview+json"},method:"PATCH",params:{body:{required:true,type:"string"},comment_number:{required:true,type:"integer"},discussion_number:{required:true,type:"integer"},team_id:{required:true,type:"integer"}},url:"/teams/:team_id/discussions/:discussion_number/comments/:comment_number"}},users:{addEmails:{method:"POST",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},block:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkBlocked:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},checkFollowing:{method:"GET",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},checkFollowingForUser:{method:"GET",params:{target_user:{required:true,type:"string"},username:{required:true,type:"string"}},url:"/users/:username/following/:target_user"},createGpgKey:{method:"POST",params:{armored_public_key:{type:"string"}},url:"/user/gpg_keys"},createPublicKey:{method:"POST",params:{key:{type:"string"},title:{type:"string"}},url:"/user/keys"},deleteEmails:{method:"DELETE",params:{emails:{required:true,type:"string[]"}},url:"/user/emails"},deleteGpgKey:{method:"DELETE",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},deletePublicKey:{method:"DELETE",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},follow:{method:"PUT",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},getAuthenticated:{method:"GET",params:{},url:"/user"},getByUsername:{method:"GET",params:{username:{required:true,type:"string"}},url:"/users/:username"},getContextForUser:{headers:{accept:"application/vnd.github.hagar-preview+json"},method:"GET",params:{subject_id:{type:"string"},subject_type:{enum:["organization","repository","issue","pull_request"],type:"string"},username:{required:true,type:"string"}},url:"/users/:username/hovercard"},getGpgKey:{method:"GET",params:{gpg_key_id:{required:true,type:"integer"}},url:"/user/gpg_keys/:gpg_key_id"},getPublicKey:{method:"GET",params:{key_id:{required:true,type:"integer"}},url:"/user/keys/:key_id"},list:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},since:{type:"string"}},url:"/users"},listBlocked:{method:"GET",params:{},url:"/user/blocks"},listEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/emails"},listFollowersForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/followers"},listFollowersForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/followers"},listFollowingForAuthenticatedUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/following"},listFollowingForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/following"},listGpgKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/gpg_keys"},listGpgKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/gpg_keys"},listPublicEmails:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/public_emails"},listPublicKeys:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"}},url:"/user/keys"},listPublicKeysForUser:{method:"GET",params:{page:{type:"integer"},per_page:{type:"integer"},username:{required:true,type:"string"}},url:"/users/:username/keys"},togglePrimaryEmailVisibility:{method:"PATCH",params:{email:{required:true,type:"string"},visibility:{required:true,type:"string"}},url:"/user/email/visibility"},unblock:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/blocks/:username"},unfollow:{method:"DELETE",params:{username:{required:true,type:"string"}},url:"/user/following/:username"},updateAuthenticated:{method:"PATCH",params:{bio:{type:"string"},blog:{type:"string"},company:{type:"string"},email:{type:"string"},hireable:{type:"boolean"},location:{type:"string"},name:{type:"string"}},url:"/user"}}}},742:function(e,r,t){var n=t(747);var i;if(process.platform==="win32"||global.TESTING_WINDOWS){i=t(818)}else{i=t(197)}e.exports=isexe;isexe.sync=sync;function isexe(e,r,t){if(typeof r==="function"){t=r;r={}}if(!t){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(t,n){isexe(e,r||{},function(e,r){if(e){n(e)}else{t(r)}})})}i(e,r||{},function(e,n){if(e){if(e.code==="EACCES"||r&&r.ignoreErrors){e=null;n=false}}t(e,n)})}function sync(e,r){try{return i.sync(e,r||{})}catch(e){if(r&&r.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},747:function(e){e.exports=require("fs")},753:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=t(385);var i=t(796);var s=_interopDefault(t(696));var o=_interopDefault(t(454));var a=t(463);const u="0.0.0-development";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(s(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let r={};let t;let n;const i=e.request&&e.request.fetch||o;return i(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(i=>{n=i.url;t=i.status;for(const e of i.headers){r[e[0]]=e[1]}if(t===204||t===205){return}if(e.method==="HEAD"){if(t<400){return}throw new a.RequestError(i.statusText,t,{headers:r,request:e})}if(t===304){throw new a.RequestError("Not modified",t,{headers:r,request:e})}if(t>=400){return i.text().then(n=>{const i=new a.RequestError(n,t,{headers:r,request:e});try{Object.assign(i,JSON.parse(i.message))}catch(e){}throw i})}const s=i.headers.get("content-type");if(/application\/json/.test(s)){return i.json()}if(!s||/^text\/|charset=utf-8$/.test(s)){return i.text()}return getBufferResponse(i)}).then(e=>{return{status:t,url:n,headers:r,data:e}}).catch(t=>{if(t instanceof a.RequestError){throw t}throw new a.RequestError(t.message,500,{headers:r,request:e})})}function withDefaults(e,r){const t=e.defaults(r);const n=function(e,r){const n=t.merge(e,r);if(!n.request||!n.request.hook){return fetchWrapper(t.parse(n))}const i=(e,r)=>{return fetchWrapper(t.parse(t.merge(e,r)))};Object.assign(i,{endpoint:t,defaults:withDefaults.bind(null,t)});return n.request.hook(i,n)};return Object.assign(n,{endpoint:t,defaults:withDefaults.bind(null,t)})}const p=withDefaults(n.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${i.getUserAgent()}`}});r.request=p},761:function(e){e.exports=require("zlib")},763:function(e){e.exports=removeHook;function removeHook(e,r,t){if(!e.registry[r]){return}var n=e.registry[r].map(function(e){return e.orig}).indexOf(t);if(n===-1){return}e.registry[r].splice(n,1)}},768:function(e){"use strict";e.exports=function(e){var r=typeof e==="string"?"\n":"\n".charCodeAt();var t=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===r){e=e.slice(0,e.length-1)}if(e[e.length-1]===t){e=e.slice(0,e.length-1)}return e}},777:function(e,r,t){e.exports=getFirstPage;const n=t(265);function getFirstPage(e,r,t){return n(e,r,"first",t)}},796:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(t(2));function getUserAgent(){try{return`Node.js/${process.version.substr(1)} (${n()}; ${process.arch})`}catch(e){if(/wmic os get Caption/.test(e.message)){return"Windows "}throw e}}r.getUserAgent=getUserAgent},807:function(e,r,t){e.exports=paginate;const n=t(8);function paginate(e,r,t,i){if(typeof t==="function"){i=t;t=undefined}t=e.request.endpoint.merge(r,t);return gather(e,[],n(e,t)[Symbol.asyncIterator](),i)}function gather(e,r,t,n){return t.next().then(i=>{if(i.done){return r}let s=false;function done(){s=true}r=r.concat(n?n(i.value,done):i.value.data);if(s){return r}return gather(e,r,t,n)})}},814:function(e,r,t){e.exports=which;which.sync=whichSync;var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var i=t(622);var s=n?";":":";var o=t(742);function getNotFoundError(e){var r=new Error("not found: "+e);r.code="ENOENT";return r}function getPathInfo(e,r){var t=r.colon||s;var i=r.path||process.env.PATH||"";var o=[""];i=i.split(t);var a="";if(n){i.unshift(process.cwd());a=r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";o=a.split(t);if(e.indexOf(".")!==-1&&o[0]!=="")o.unshift("")}if(e.match(/\//)||n&&e.match(/\\/))i=[""];return{env:i,ext:o,extExe:a}}function which(e,r,t){if(typeof r==="function"){t=r;r={}}var n=getPathInfo(e,r);var s=n.env;var a=n.ext;var u=n.extExe;var p=[];(function F(n,c){if(n===c){if(r.all&&p.length)return t(null,p);else return t(getNotFoundError(e))}var d=s[n];if(d.charAt(0)==='"'&&d.slice(-1)==='"')d=d.slice(1,-1);var l=i.join(d,e);if(!d&&/^\.[\\\/]/.test(e)){l=e.slice(0,2)+l}(function E(e,i){if(e===i)return F(n+1,c);var s=a[e];o(l+s,{pathExt:u},function(n,o){if(!n&&o){if(r.all)p.push(l+s);else return t(null,l+s)}return E(e+1,i)})})(0,a.length)})(0,s.length)}function whichSync(e,r){r=r||{};var t=getPathInfo(e,r);var n=t.env;var s=t.ext;var a=t.extExe;var u=[];for(var p=0,c=n.length;p-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r{return e.auth()}).then(e=>{r.headers.authorization=i(e)})}},866:function(e,r,t){"use strict";var n=t(816);e.exports=function(e){var r=e.match(n);if(!r){return null}var t=r[0].replace(/#! ?/,"").split(" ");var i=t[0].split("/").pop();var s=t[1];return i==="env"?s:i+(s?" "+s:"")}},881:function(e){"use strict";const r=process.platform==="win32";function notFoundError(e,r){return Object.assign(new Error(`${r} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,t){if(!r){return}const n=e.emit;e.emit=function(r,i){if(r==="exit"){const r=verifyENOENT(i,t,"spawn");if(r){return n.call(e,"error",r)}}return n.apply(e,arguments)}}function verifyENOENT(e,t){if(r&&e===1&&!t.file){return notFoundError(t.original,"spawn")}return null}function verifyENOENTSync(e,t){if(r&&e===1&&!t.file){return notFoundError(t.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},883:function(e){var r="Expected a function";var t="__lodash_hash_undefined__";var n=1/0,i=9007199254740991;var s="[object Function]",o="[object GeneratorFunction]",a="[object Symbol]";var u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/,c=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var l=/[\\^$.*+?()[\]{}|]/g;var g=/\\(\\)?/g;var m=/^\[object .+?Constructor\]$/;var h=/^(?:0|[1-9]\d*)$/;var y=typeof global=="object"&&global&&global.Object===Object&&global;var f=typeof self=="object"&&self&&self.Object===Object&&self;var b=y||f||Function("return this")();function getValue(e,r){return e==null?undefined:e[r]}function isHostObject(e){var r=false;if(e!=null&&typeof e.toString!="function"){try{r=!!(e+"")}catch(e){}}return r}var _=Array.prototype,q=Function.prototype,w=Object.prototype;var v=b["__core-js_shared__"];var E=function(){var e=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var T=q.toString;var j=w.hasOwnProperty;var S=w.toString;var P=RegExp("^"+T.call(j).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var C=b.Symbol,k=_.splice;var O=getNative(b,"Map"),x=getNative(Object,"create");var G=C?C.prototype:undefined,R=G?G.toString:undefined;function Hash(e){var r=-1,t=e?e.length:0;this.clear();while(++r-1}function listCacheSet(e,r){var t=this.__data__,n=assocIndexOf(t,e);if(n<0){t.push([e,r])}else{t[n][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e?e.length:0;this.clear();while(++r-1&&e%1==0&&e{if(!e[t]){e[t]={}}Object.keys(r[t]).forEach(i=>{const s=r[t][i];const o=["method","url","headers"].reduce((e,r)=>{if(typeof s[r]!=="undefined"){e[r]=s[r]}return e},{});o.request={validate:s.params};let a=e.request.defaults(o);const u=Object.keys(s.params||{}).find(e=>s.params[e].deprecated);if(u){const r=patchForDeprecation.bind(null,e,s);a=r(e.request.defaults(o),`.${t}.${i}()`);a.endpoint=r(a.endpoint,`.${t}.${i}.endpoint()`);a.endpoint.merge=r(a.endpoint.merge,`.${t}.${i}.endpoint.merge()`)}if(s.deprecated){e[t][i]=function deprecatedEndpointMethod(){e.log.warn(new n(`[@octokit/rest] ${s.deprecated}`));e[t][i]=a;return a.apply(null,arguments)};return}e[t][i]=a})})}function patchForDeprecation(e,r,t,i){const s=s=>{s=Object.assign({},s);Object.keys(s).forEach(t=>{if(r.params[t]&&r.params[t].deprecated){const o=r.params[t].alias;e.log.warn(new n(`[@octokit/rest] "${t}" parameter is deprecated for "${i}". Use "${o}" instead`));if(!(o in s)){s[o]=s[t]}delete s[t]}});return t(s)};Object.keys(t).forEach(e=>{s[e]=t[e]});return s}},929:function(e,r,t){e.exports=hasNextPage;const n=t(370);const i=t(577);function hasNextPage(e){n(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`);return i(e).next}},948:function(e){"use strict";e.exports=function(e){try{return e()}catch(e){}}},954:function(e){e.exports=validateAuth;function validateAuth(e){if(typeof e==="string"){return}if(typeof e==="function"){return}if(e.username&&e.password){return}if(e.clientId&&e.clientSecret){return}throw new Error(`Invalid "auth" option: ${JSON.stringify(e)}`)}},955:function(e,r,t){"use strict";const n=t(622);const i=t(129);const s=t(20);const o=t(768);const a=t(621);const u=t(323);const p=t(145);const c=t(697);const d=t(260);const l=t(427);const g=t(168);const m=1e3*1e3*10;function handleArgs(e,r,t){let i;t=Object.assign({extendEnv:true,env:{}},t);if(t.extendEnv){t.env=Object.assign({},process.env,t.env)}if(t.__winShell===true){delete t.__winShell;i={command:e,args:r,options:t,file:e,original:{cmd:e,args:r}}}else{i=s._parse(e,r,t)}t=Object.assign({maxBuffer:m,buffer:true,stripEof:true,preferLocal:true,localDir:i.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},i.options);t.stdio=g(t);if(t.preferLocal){t.env=a.env(Object.assign({},t,{cwd:t.localDir}))}if(t.detached){t.cleanup=false}if(process.platform==="win32"&&n.basename(i.command)==="cmd.exe"){i.args.unshift("/q")}return{cmd:i.command,args:i.args,opts:t,parsed:i}}function handleInput(e,r){if(r===null||r===undefined){return}if(u(r)){r.pipe(e.stdin)}else{e.stdin.end(r)}}function handleOutput(e,r){if(r&&e.stripEof){r=o(r)}return r}function handleShell(e,r,t){let n="/bin/sh";let i=["-c",r];t=Object.assign({},t);if(process.platform==="win32"){t.__winShell=true;n=process.env.comspec||"cmd.exe";i=["/s","/c",`"${r}"`];t.windowsVerbatimArguments=true}if(t.shell){n=t.shell;delete t.shell}return e(n,i,t)}function getStream(e,r,{encoding:t,buffer:n,maxBuffer:i}){if(!e[r]){return null}let s;if(!n){s=new Promise((t,n)=>{e[r].once("end",t).once("error",n)})}else if(t){s=p(e[r],{encoding:t,maxBuffer:i})}else{s=p.buffer(e[r],{maxBuffer:i})}return s.catch(e=>{e.stream=r;e.message=`${r} ${e.message}`;throw e})}function makeError(e,r){const{stdout:t,stderr:n}=e;let i=e.error;const{code:s,signal:o}=e;const{parsed:a,joinedCmd:u}=r;const p=r.timedOut||false;if(!i){let e="";if(Array.isArray(a.opts.stdio)){if(a.opts.stdio[2]!=="inherit"){e+=e.length>0?n:`\n${n}`}if(a.opts.stdio[1]!=="inherit"){e+=`\n${t}`}}else if(a.opts.stdio!=="inherit"){e=`\n${n}${t}`}i=new Error(`Command failed: ${u}${e}`);i.code=s<0?l(s):s}i.stdout=t;i.stderr=n;i.failed=true;i.signal=o||null;i.cmd=u;i.timedOut=p;return i}function joinCmd(e,r){let t=e;if(Array.isArray(r)&&r.length>0){t+=" "+r.join(" ")}return t}e.exports=((e,r,t)=>{const n=handleArgs(e,r,t);const{encoding:o,buffer:a,maxBuffer:u}=n.opts;const p=joinCmd(e,r);let l;try{l=i.spawn(n.cmd,n.args,n.opts)}catch(e){return Promise.reject(e)}let g;if(n.opts.cleanup){g=d(()=>{l.kill()})}let m=null;let h=false;const y=()=>{if(m){clearTimeout(m);m=null}if(g){g()}};if(n.opts.timeout>0){m=setTimeout(()=>{m=null;h=true;l.kill(n.opts.killSignal)},n.opts.timeout)}const f=new Promise(e=>{l.on("exit",(r,t)=>{y();e({code:r,signal:t})});l.on("error",r=>{y();e({error:r})});if(l.stdin){l.stdin.on("error",r=>{y();e({error:r})})}});function destroy(){if(l.stdout){l.stdout.destroy()}if(l.stderr){l.stderr.destroy()}}const b=()=>c(Promise.all([f,getStream(l,"stdout",{encoding:o,buffer:a,maxBuffer:u}),getStream(l,"stderr",{encoding:o,buffer:a,maxBuffer:u})]).then(e=>{const r=e[0];r.stdout=e[1];r.stderr=e[2];if(r.error||r.code!==0||r.signal!==null){const e=makeError(r,{joinedCmd:p,parsed:n,timedOut:h});e.killed=e.killed||l.killed;if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,r.stdout),stderr:handleOutput(n.opts,r.stderr),code:0,failed:false,killed:false,signal:null,cmd:p,timedOut:false}}),destroy);s._enoent.hookChildProcess(l,n.parsed);handleInput(l,n.opts.input);l.then=((e,r)=>b().then(e,r));l.catch=(e=>b().catch(e));return l});e.exports.stdout=((...r)=>e.exports(...r).then(e=>e.stdout));e.exports.stderr=((...r)=>e.exports(...r).then(e=>e.stderr));e.exports.shell=((r,t)=>handleShell(e.exports,r,t));e.exports.sync=((e,r,t)=>{const n=handleArgs(e,r,t);const s=joinCmd(e,r);if(u(n.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const o=i.spawnSync(n.cmd,n.args,n.opts);o.code=o.status;if(o.error||o.status!==0||o.signal!==null){const e=makeError(o,{joinedCmd:s,parsed:n});if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,o.stdout),stderr:handleOutput(n.opts,o.stderr),code:0,failed:false,signal:null,cmd:s,timedOut:false}});e.exports.shellSync=((r,t)=>handleShell(e.exports.sync,r,t))},966:function(e,r,t){"use strict";const{PassThrough:n}=t(413);e.exports=(e=>{e=Object.assign({},e);const{array:r}=e;let{encoding:t}=e;const i=t==="buffer";let s=false;if(r){s=!(t||i)}else{t=t||"utf8"}if(i){t=null}let o=0;const a=[];const u=new n({objectMode:s});if(t){u.setEncoding(t)}u.on("data",e=>{a.push(e);if(s){o=a.length}else{o+=e.length}});u.getBufferedValue=(()=>{if(r){return a}return i?Buffer.concat(a,o):a.join("")});u.getBufferedLength=(()=>o);return u})},969:function(e,r,t){var n=t(11);e.exports=n(once);e.exports.strict=n(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var r=function(){if(r.called)return r.value;r.called=true;return r.value=e.apply(this,arguments)};r.called=false;return r}function onceStrict(e){var r=function(){if(r.called)throw new Error(r.onceError);r.called=true;return r.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";r.onceError=t+" shouldn't be called more than once";r.called=false;return r}}}); \ No newline at end of file diff --git a/index.js b/index.js index 03654a8..4743164 100644 --- a/index.js +++ b/index.js @@ -21,4 +21,7 @@ octokit body: "${body}" }) {clientMutationId} }` ) - .catch(err => core.error(err)); + .catch(err => { + core.error(err); + core.setFailed(err.message); + });