mirror of
https://github.com/github/codeql-action.git
synced 2026-05-01 19:30:49 +00:00
Add repo property to override codeql-cli version
This commit is contained in:
Generated
+79
-77
@@ -3842,18 +3842,18 @@ var require_webidl = __commonJS({
|
||||
webidl.errors.exception = function(message) {
|
||||
return new TypeError(`${message.header}: ${message.message}`);
|
||||
};
|
||||
webidl.errors.conversionFailed = function(context2) {
|
||||
const plural = context2.types.length === 1 ? "" : " one of";
|
||||
const message = `${context2.argument} could not be converted to${plural}: ${context2.types.join(", ")}.`;
|
||||
webidl.errors.conversionFailed = function(context3) {
|
||||
const plural = context3.types.length === 1 ? "" : " one of";
|
||||
const message = `${context3.argument} could not be converted to${plural}: ${context3.types.join(", ")}.`;
|
||||
return webidl.errors.exception({
|
||||
header: context2.prefix,
|
||||
header: context3.prefix,
|
||||
message
|
||||
});
|
||||
};
|
||||
webidl.errors.invalidArgument = function(context2) {
|
||||
webidl.errors.invalidArgument = function(context3) {
|
||||
return webidl.errors.exception({
|
||||
header: context2.prefix,
|
||||
message: `"${context2.value}" is an invalid ${context2.type}.`
|
||||
header: context3.prefix,
|
||||
message: `"${context3.value}" is an invalid ${context3.type}.`
|
||||
});
|
||||
};
|
||||
webidl.brandCheck = function(V, I, opts) {
|
||||
@@ -9849,17 +9849,17 @@ var require_api_request = __commonJS({
|
||||
}
|
||||
}
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume, statusMessage) {
|
||||
const { callback, opaque, abort, context: context2, responseHeaders, highWaterMark } = this;
|
||||
const { callback, opaque, abort, context: context3, responseHeaders, highWaterMark } = this;
|
||||
const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
@@ -9896,7 +9896,7 @@ var require_api_request = __commonJS({
|
||||
trailers: this.trailers,
|
||||
opaque,
|
||||
body: res,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -10065,17 +10065,17 @@ var require_api_stream = __commonJS({
|
||||
}
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume, statusMessage) {
|
||||
const { factory, opaque, context: context2, callback, responseHeaders } = this;
|
||||
const { factory, opaque, context: context3, callback, responseHeaders } = this;
|
||||
const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
@@ -10103,7 +10103,7 @@ var require_api_stream = __commonJS({
|
||||
statusCode,
|
||||
headers,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
if (!res || typeof res.write !== "function" || typeof res.end !== "function" || typeof res.on !== "function") {
|
||||
throw new InvalidReturnValueError("expected Writable");
|
||||
@@ -10295,7 +10295,7 @@ var require_api_pipeline = __commonJS({
|
||||
this.res = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
const { ret, res } = this;
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
@@ -10304,10 +10304,10 @@ var require_api_pipeline = __commonJS({
|
||||
assert(!res, "pipeline cannot be retried");
|
||||
assert(!ret.destroyed);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume) {
|
||||
const { opaque, handler: handler2, context: context2 } = this;
|
||||
const { opaque, handler: handler2, context: context3 } = this;
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
@@ -10325,7 +10325,7 @@ var require_api_pipeline = __commonJS({
|
||||
headers,
|
||||
opaque,
|
||||
body: this.res,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
} catch (err) {
|
||||
this.res.on("error", util.nop);
|
||||
@@ -10409,7 +10409,7 @@ var require_api_upgrade = __commonJS({
|
||||
this.context = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
@@ -10423,7 +10423,7 @@ var require_api_upgrade = __commonJS({
|
||||
}
|
||||
onUpgrade(statusCode, rawHeaders, socket) {
|
||||
assert(statusCode === 101);
|
||||
const { callback, opaque, context: context2 } = this;
|
||||
const { callback, opaque, context: context3 } = this;
|
||||
removeSignal(this);
|
||||
this.callback = null;
|
||||
const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
@@ -10431,7 +10431,7 @@ var require_api_upgrade = __commonJS({
|
||||
headers,
|
||||
socket,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
onError(err) {
|
||||
@@ -10500,20 +10500,20 @@ var require_api_connect = __commonJS({
|
||||
this.abort = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders() {
|
||||
throw new SocketError("bad connect", null);
|
||||
}
|
||||
onUpgrade(statusCode, rawHeaders, socket) {
|
||||
const { callback, opaque, context: context2 } = this;
|
||||
const { callback, opaque, context: context3 } = this;
|
||||
removeSignal(this);
|
||||
this.callback = null;
|
||||
let headers = rawHeaders;
|
||||
@@ -10525,7 +10525,7 @@ var require_api_connect = __commonJS({
|
||||
headers,
|
||||
socket,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
onError(err) {
|
||||
@@ -24840,18 +24840,18 @@ var require_webidl2 = __commonJS({
|
||||
webidl.errors.exception = function(message) {
|
||||
return new TypeError(`${message.header}: ${message.message}`);
|
||||
};
|
||||
webidl.errors.conversionFailed = function(context2) {
|
||||
const plural = context2.types.length === 1 ? "" : " one of";
|
||||
const message = `${context2.argument} could not be converted to${plural}: ${context2.types.join(", ")}.`;
|
||||
webidl.errors.conversionFailed = function(context3) {
|
||||
const plural = context3.types.length === 1 ? "" : " one of";
|
||||
const message = `${context3.argument} could not be converted to${plural}: ${context3.types.join(", ")}.`;
|
||||
return webidl.errors.exception({
|
||||
header: context2.prefix,
|
||||
header: context3.prefix,
|
||||
message
|
||||
});
|
||||
};
|
||||
webidl.errors.invalidArgument = function(context2) {
|
||||
webidl.errors.invalidArgument = function(context3) {
|
||||
return webidl.errors.exception({
|
||||
header: context2.prefix,
|
||||
message: `"${context2.value}" is an invalid ${context2.type}.`
|
||||
header: context3.prefix,
|
||||
message: `"${context3.value}" is an invalid ${context3.type}.`
|
||||
});
|
||||
};
|
||||
webidl.brandCheck = function(V, I, opts) {
|
||||
@@ -30847,17 +30847,17 @@ var require_api_request2 = __commonJS({
|
||||
}
|
||||
}
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume, statusMessage) {
|
||||
const { callback, opaque, abort, context: context2, responseHeaders, highWaterMark } = this;
|
||||
const { callback, opaque, abort, context: context3, responseHeaders, highWaterMark } = this;
|
||||
const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
@@ -30894,7 +30894,7 @@ var require_api_request2 = __commonJS({
|
||||
trailers: this.trailers,
|
||||
opaque,
|
||||
body: res,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -31063,17 +31063,17 @@ var require_api_stream2 = __commonJS({
|
||||
}
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume, statusMessage) {
|
||||
const { factory, opaque, context: context2, callback, responseHeaders } = this;
|
||||
const { factory, opaque, context: context3, callback, responseHeaders } = this;
|
||||
const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
@@ -31101,7 +31101,7 @@ var require_api_stream2 = __commonJS({
|
||||
statusCode,
|
||||
headers,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
if (!res || typeof res.write !== "function" || typeof res.end !== "function" || typeof res.on !== "function") {
|
||||
throw new InvalidReturnValueError("expected Writable");
|
||||
@@ -31293,7 +31293,7 @@ var require_api_pipeline2 = __commonJS({
|
||||
this.res = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
const { ret, res } = this;
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
@@ -31302,10 +31302,10 @@ var require_api_pipeline2 = __commonJS({
|
||||
assert(!res, "pipeline cannot be retried");
|
||||
assert(!ret.destroyed);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders(statusCode, rawHeaders, resume) {
|
||||
const { opaque, handler: handler2, context: context2 } = this;
|
||||
const { opaque, handler: handler2, context: context3 } = this;
|
||||
if (statusCode < 200) {
|
||||
if (this.onInfo) {
|
||||
const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
@@ -31323,7 +31323,7 @@ var require_api_pipeline2 = __commonJS({
|
||||
headers,
|
||||
opaque,
|
||||
body: this.res,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
} catch (err) {
|
||||
this.res.on("error", util.nop);
|
||||
@@ -31407,7 +31407,7 @@ var require_api_upgrade2 = __commonJS({
|
||||
this.context = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
@@ -31421,7 +31421,7 @@ var require_api_upgrade2 = __commonJS({
|
||||
}
|
||||
onUpgrade(statusCode, rawHeaders, socket) {
|
||||
assert(statusCode === 101);
|
||||
const { callback, opaque, context: context2 } = this;
|
||||
const { callback, opaque, context: context3 } = this;
|
||||
removeSignal(this);
|
||||
this.callback = null;
|
||||
const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
|
||||
@@ -31429,7 +31429,7 @@ var require_api_upgrade2 = __commonJS({
|
||||
headers,
|
||||
socket,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
onError(err) {
|
||||
@@ -31498,20 +31498,20 @@ var require_api_connect2 = __commonJS({
|
||||
this.abort = null;
|
||||
addSignal(this, signal);
|
||||
}
|
||||
onConnect(abort, context2) {
|
||||
onConnect(abort, context3) {
|
||||
if (this.reason) {
|
||||
abort(this.reason);
|
||||
return;
|
||||
}
|
||||
assert(this.callback);
|
||||
this.abort = abort;
|
||||
this.context = context2;
|
||||
this.context = context3;
|
||||
}
|
||||
onHeaders() {
|
||||
throw new SocketError("bad connect", null);
|
||||
}
|
||||
onUpgrade(statusCode, rawHeaders, socket) {
|
||||
const { callback, opaque, context: context2 } = this;
|
||||
const { callback, opaque, context: context3 } = this;
|
||||
removeSignal(this);
|
||||
this.callback = null;
|
||||
let headers = rawHeaders;
|
||||
@@ -31523,7 +31523,7 @@ var require_api_connect2 = __commonJS({
|
||||
headers,
|
||||
socket,
|
||||
opaque,
|
||||
context: context2
|
||||
context: context3
|
||||
});
|
||||
}
|
||||
onError(err) {
|
||||
@@ -40178,8 +40178,8 @@ function isDefined(value) {
|
||||
function isKeyOperator(operator) {
|
||||
return operator === ";" || operator === "&" || operator === "?";
|
||||
}
|
||||
function getValues(context2, operator, key, modifier) {
|
||||
var value = context2[key], result = [];
|
||||
function getValues(context3, operator, key, modifier) {
|
||||
var value = context3[key], result = [];
|
||||
if (isDefined(value) && value !== "") {
|
||||
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
|
||||
value = value.toString();
|
||||
@@ -40243,7 +40243,7 @@ function parseUrl(template) {
|
||||
expand: expand.bind(null, template)
|
||||
};
|
||||
}
|
||||
function expand(template, context2) {
|
||||
function expand(template, context3) {
|
||||
var operators = ["+", "#", ".", "/", ";", "?", "&"];
|
||||
template = template.replace(
|
||||
/\{([^\{\}]+)\}|([^\{\}]+)/g,
|
||||
@@ -40257,7 +40257,7 @@ function expand(template, context2) {
|
||||
}
|
||||
expression.split(/,/g).forEach(function(variable) {
|
||||
var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable);
|
||||
values.push(getValues(context2, operator, tmp[1], tmp[2] || tmp[3]));
|
||||
values.push(getValues(context3, operator, tmp[1], tmp[2] || tmp[3]));
|
||||
});
|
||||
if (operator && operator !== "+") {
|
||||
var separator = ",";
|
||||
@@ -52999,14 +52999,14 @@ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, e
|
||||
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
||||
var _, done = false;
|
||||
for (var i = decorators.length - 1; i >= 0; i--) {
|
||||
var context2 = {};
|
||||
for (var p in contextIn) context2[p] = p === "access" ? {} : contextIn[p];
|
||||
for (var p in contextIn.access) context2.access[p] = contextIn.access[p];
|
||||
context2.addInitializer = function(f) {
|
||||
var context3 = {};
|
||||
for (var p in contextIn) context3[p] = p === "access" ? {} : contextIn[p];
|
||||
for (var p in contextIn.access) context3.access[p] = contextIn.access[p];
|
||||
context3.addInitializer = function(f) {
|
||||
if (done) throw new TypeError("Cannot add initializers after decoration has completed");
|
||||
extraInitializers.push(accept(f || null));
|
||||
};
|
||||
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context2);
|
||||
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context3);
|
||||
if (kind === "accessor") {
|
||||
if (result === void 0) continue;
|
||||
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
||||
@@ -53733,19 +53733,19 @@ var require_logger = __commonJS({
|
||||
logger: clientLogger
|
||||
};
|
||||
}
|
||||
var context2 = createLoggerContext({
|
||||
var context3 = createLoggerContext({
|
||||
logLevelEnvVarName: "TYPESPEC_RUNTIME_LOG_LEVEL",
|
||||
namespace: "typeSpecRuntime"
|
||||
});
|
||||
exports2.TypeSpecRuntimeLogger = context2.logger;
|
||||
exports2.TypeSpecRuntimeLogger = context3.logger;
|
||||
function setLogLevel(logLevel) {
|
||||
context2.setLogLevel(logLevel);
|
||||
context3.setLogLevel(logLevel);
|
||||
}
|
||||
function getLogLevel() {
|
||||
return context2.getLogLevel();
|
||||
return context3.getLogLevel();
|
||||
}
|
||||
function createClientLogger(namespace) {
|
||||
return context2.createClientLogger(namespace);
|
||||
return context3.createClientLogger(namespace);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -57991,19 +57991,19 @@ var require_commonjs2 = __commonJS({
|
||||
exports2.getLogLevel = getLogLevel;
|
||||
exports2.createClientLogger = createClientLogger;
|
||||
var logger_1 = require_internal();
|
||||
var context2 = (0, logger_1.createLoggerContext)({
|
||||
var context3 = (0, logger_1.createLoggerContext)({
|
||||
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
||||
namespace: "azure"
|
||||
});
|
||||
exports2.AzureLogger = context2.logger;
|
||||
exports2.AzureLogger = context3.logger;
|
||||
function setLogLevel(level) {
|
||||
context2.setLogLevel(level);
|
||||
context3.setLogLevel(level);
|
||||
}
|
||||
function getLogLevel() {
|
||||
return context2.getLogLevel();
|
||||
return context3.getLogLevel();
|
||||
}
|
||||
function createClientLogger(namespace) {
|
||||
return context2.createClientLogger(namespace);
|
||||
return context3.createClientLogger(namespace);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -58913,14 +58913,14 @@ var require_tracingContext = __commonJS({
|
||||
namespace: /* @__PURE__ */ Symbol.for("@azure/core-tracing namespace")
|
||||
};
|
||||
function createTracingContext(options = {}) {
|
||||
let context2 = new TracingContextImpl(options.parentContext);
|
||||
let context3 = new TracingContextImpl(options.parentContext);
|
||||
if (options.span) {
|
||||
context2 = context2.setValue(exports2.knownContextKeys.span, options.span);
|
||||
context3 = context3.setValue(exports2.knownContextKeys.span, options.span);
|
||||
}
|
||||
if (options.namespace) {
|
||||
context2 = context2.setValue(exports2.knownContextKeys.namespace, options.namespace);
|
||||
context3 = context3.setValue(exports2.knownContextKeys.namespace, options.namespace);
|
||||
}
|
||||
return context2;
|
||||
return context3;
|
||||
}
|
||||
var TracingContextImpl = class _TracingContextImpl {
|
||||
_contextMap;
|
||||
@@ -59058,8 +59058,8 @@ var require_tracingClient = __commonJS({
|
||||
span.end();
|
||||
}
|
||||
}
|
||||
function withContext(context2, callback, ...callbackArgs) {
|
||||
return (0, instrumenter_js_1.getInstrumenter)().withContext(context2, callback, ...callbackArgs);
|
||||
function withContext(context3, callback, ...callbackArgs) {
|
||||
return (0, instrumenter_js_1.getInstrumenter)().withContext(context3, callback, ...callbackArgs);
|
||||
}
|
||||
function parseTraceparentHeader(traceparentHeader) {
|
||||
return (0, instrumenter_js_1.getInstrumenter)().parseTraceparentHeader(traceparentHeader);
|
||||
@@ -121845,10 +121845,12 @@ var jsonschema = __toESM(require_lib2());
|
||||
var semver5 = __toESM(require_semver2());
|
||||
|
||||
// src/feature-flags/properties.ts
|
||||
var github2 = __toESM(require_github());
|
||||
var RepositoryPropertyName = /* @__PURE__ */ ((RepositoryPropertyName2) => {
|
||||
RepositoryPropertyName2["DISABLE_OVERLAY"] = "github-codeql-disable-overlay";
|
||||
RepositoryPropertyName2["EXTRA_QUERIES"] = "github-codeql-extra-queries";
|
||||
RepositoryPropertyName2["FILE_COVERAGE_ON_PRS"] = "github-codeql-file-coverage-on-prs";
|
||||
RepositoryPropertyName2["TOOLS"] = "github-codeql-tools";
|
||||
return RepositoryPropertyName2;
|
||||
})(RepositoryPropertyName || {});
|
||||
var KNOWN_REPOSITORY_PROPERTY_NAMES = new Set(
|
||||
|
||||
Reference in New Issue
Block a user