From 63b9213ab301419de3ea477f3f190af01f9a7818 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Mon, 11 Aug 2025 18:34:58 +0100 Subject: [PATCH] Adopt TypeScript under Node 24 --- .github/workflows/test.yml | 5 +- .github/workflows/vendor-node-modules.yml | 4 +- .gitignore | 7 + api-commit-and-push/action.yml | 4 +- api-commit-and-push/{main.mjs => main.mts} | 14 +- .../{main.test.mjs => main.test.mts} | 10 +- check-commit-format/action.yml | 4 +- check-commit-format/{main.mjs => main.mts} | 24 +- .../{main.test.mjs => main.test.mts} | 175 +- check-commit-format/package.json | 2 +- create-or-update-issue/action.yml | 4 +- create-or-update-issue/{main.mjs => main.mts} | 6 +- .../{main.test.mjs => main.test.mts} | 0 create-pull-request/action.yml | 4 +- create-pull-request/{main.mjs => main.mts} | 6 +- .../{main.test.mjs => main.test.mts} | 0 dismiss-approvals/action.yml | 4 +- dismiss-approvals/{main.mjs => main.mts} | 4 +- .../{main.test.mjs => main.test.mts} | 0 dismiss-approvals/package.json | 2 +- find-related-workflow-run-id/action.yml | 4 +- .../{main.mjs => main.mts} | 14 +- .../{main.test.mjs => main.test.mts} | 0 git-try-push/action.yml | 4 +- git-try-push/{main.js => main.mts} | 14 +- git-try-push/package.json | 2 +- git-user-config/action.yml | 4 +- git-user-config/{main.js => main.mts} | 10 +- git-user-config/package.json | 2 +- label-pull-requests/action.yml | 4 +- label-pull-requests/{main.mjs => main.mts} | 57 +- .../{main.test.mjs => main.test.mts} | 4 +- label-pull-requests/package.json | 2 +- limit-pull-requests/action.yml | 4 +- limit-pull-requests/{main.mjs => main.mts} | 14 +- .../{main.test.mjs => main.test.mts} | 2 +- node_modules/.bin/js-yaml | 1 - node_modules/.package-lock.json | 277 +- node_modules/@actions/core/README.md | 2 +- node_modules/@actions/core/lib/command.d.ts | 31 +- node_modules/@actions/core/lib/command.js | 60 +- node_modules/@actions/core/lib/command.js.map | 2 +- node_modules/@actions/core/lib/core.d.ts | 27 +- node_modules/@actions/core/lib/core.js | 95 +- node_modules/@actions/core/lib/core.js.map | 2 +- .../@actions/core/lib/file-command.js | 29 +- .../@actions/core/lib/file-command.js.map | 2 +- node_modules/@actions/core/lib/oidc-utils.js | 2 +- .../@actions/core/lib/oidc-utils.js.map | 2 +- node_modules/@actions/core/lib/path-utils.js | 31 +- .../@actions/core/lib/path-utils.js.map | 2 +- node_modules/@actions/core/lib/platform.d.ts | 1 - node_modules/@actions/core/lib/platform.js | 28 +- .../@actions/core/lib/platform.js.map | 2 +- node_modules/@actions/core/lib/summary.js.map | 2 +- node_modules/@actions/core/lib/utils.js | 5 +- node_modules/@actions/core/lib/utils.js.map | 2 +- node_modules/@actions/core/package.json | 6 +- node_modules/@actions/exec/lib/exec.js | 37 +- node_modules/@actions/exec/lib/exec.js.map | 2 +- .../@actions/exec/lib/interfaces.d.ts | 1 - .../@actions/exec/lib/toolrunner.d.ts | 1 - node_modules/@actions/exec/lib/toolrunner.js | 49 +- .../@actions/exec/lib/toolrunner.js.map | 2 +- node_modules/@actions/exec/package.json | 4 +- .../@actions/github/lib/context.js.map | 2 +- node_modules/@actions/github/lib/github.js | 28 +- .../@actions/github/lib/github.js.map | 2 +- .../@actions/github/lib/internal/utils.d.ts | 1 - .../@actions/github/lib/internal/utils.js | 35 +- .../@actions/github/lib/internal/utils.js.map | 2 +- node_modules/@actions/github/lib/utils.js | 28 +- node_modules/@actions/github/lib/utils.js.map | 2 +- node_modules/@actions/github/package.json | 4 +- node_modules/@actions/http-client/README.md | 4 +- .../@actions/http-client/lib/auth.d.ts | 1 - .../@actions/http-client/lib/auth.js.map | 2 +- .../@actions/http-client/lib/index.d.ts | 19 +- .../@actions/http-client/lib/index.js | 133 +- .../@actions/http-client/lib/index.js.map | 2 +- .../@actions/http-client/lib/interfaces.d.ts | 3 - .../@actions/http-client/lib/proxy.js | 5 +- .../@actions/http-client/lib/proxy.js.map | 2 +- .../@actions/http-client/package.json | 11 +- node_modules/@actions/io/lib/io-util.d.ts | 15 +- node_modules/@actions/io/lib/io-util.js | 89 +- node_modules/@actions/io/lib/io-util.js.map | 2 +- node_modules/@actions/io/lib/io.js | 53 +- node_modules/@actions/io/lib/io.js.map | 2 +- node_modules/@actions/io/package.json | 2 +- node_modules/@octokit/core/dist-node/index.js | 27 +- .../@octokit/core/dist-node/index.js.map | 4 +- node_modules/@octokit/core/dist-src/index.js | 25 +- .../@octokit/core/dist-src/version.js | 2 +- .../@octokit/core/dist-types/version.d.ts | 2 +- node_modules/@octokit/core/dist-web/index.js | 27 +- .../@octokit/core/dist-web/index.js.map | 4 +- .../@octokit/openapi-types/package.json | 21 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - node_modules/@octokit/core/package.json | 2 +- .../@octokit/openapi-types/package.json | 21 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - .../node_modules/@octokit/types/package.json | 47 - .../@octokit/graphql-schema/LICENSE.md | 20 + .../@octokit/graphql-schema/README.md | 83 + .../@octokit/graphql-schema/index.d.ts | 17 + node_modules/@octokit/graphql-schema/index.js | 10 + .../@octokit/graphql-schema/lib/validate.js | 13 + .../@octokit/graphql-schema/package.json | 85 + .../@octokit/graphql-schema/schema.d.ts | 31282 +++ .../@octokit/graphql-schema/schema.graphql | 64309 ++++++ .../@octokit/graphql-schema/schema.json | 162361 +++++++++++++++ .../@octokit/openapi-types/types.d.ts | 110231 ---------- .../node_modules/@octokit/types/LICENSE | 7 - .../node_modules/@octokit/types/README.md | 65 - .../types/dist-types/AuthInterface.d.ts | 31 - .../types/dist-types/EndpointDefaults.d.ts | 21 - .../types/dist-types/EndpointInterface.d.ts | 65 - .../types/dist-types/EndpointOptions.d.ts | 7 - .../@octokit/types/dist-types/Fetch.d.ts | 4 - .../GetResponseTypeFromEndpointMethod.d.ts | 5 - .../types/dist-types/OctokitResponse.d.ts | 17 - .../types/dist-types/RequestError.d.ts | 11 - .../types/dist-types/RequestHeaders.d.ts | 15 - .../types/dist-types/RequestInterface.d.ts | 34 - .../types/dist-types/RequestMethod.d.ts | 4 - .../types/dist-types/RequestOptions.d.ts | 14 - .../types/dist-types/RequestParameters.d.ts | 45 - .../dist-types/RequestRequestOptions.d.ts | 21 - .../types/dist-types/ResponseHeaders.d.ts | 21 - .../@octokit/types/dist-types/Route.d.ts | 4 - .../@octokit/types/dist-types/Signal.d.ts | 6 - .../types/dist-types/StrategyInterface.d.ts | 4 - .../@octokit/types/dist-types/Url.d.ts | 4 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - .../types/dist-types/generated/Endpoints.d.ts | 3813 - .../@octokit/types/dist-types/index.d.ts | 21 - .../node_modules/@octokit/types/package.json | 47 - .../@octokit => }/openapi-types/LICENSE | 0 .../@octokit => }/openapi-types/README.md | 0 .../@octokit => }/openapi-types/package.json | 4 +- .../@octokit => }/openapi-types/types.d.ts | 13450 +- .../@octokit/openapi-types/LICENSE | 0 .../@octokit/openapi-types/README.md | 0 .../@octokit/openapi-types/package.json | 0 .../@octokit/openapi-types/types.d.ts | 0 .../node_modules/@octokit/types/LICENSE | 0 .../node_modules/@octokit/types/README.md | 0 .../types/dist-types/AuthInterface.d.ts | 0 .../types/dist-types/EndpointDefaults.d.ts | 0 .../types/dist-types/EndpointInterface.d.ts | 0 .../types/dist-types/EndpointOptions.d.ts | 0 .../@octokit/types/dist-types/Fetch.d.ts | 0 .../GetResponseTypeFromEndpointMethod.d.ts | 0 .../types/dist-types/OctokitResponse.d.ts | 0 .../types/dist-types/RequestError.d.ts | 0 .../types/dist-types/RequestHeaders.d.ts | 0 .../types/dist-types/RequestInterface.d.ts | 0 .../types/dist-types/RequestMethod.d.ts | 0 .../types/dist-types/RequestOptions.d.ts | 0 .../types/dist-types/RequestParameters.d.ts | 0 .../dist-types/RequestRequestOptions.d.ts | 1 - .../types/dist-types/ResponseHeaders.d.ts | 0 .../@octokit/types/dist-types/Route.d.ts | 0 .../@octokit/types/dist-types/Signal.d.ts | 0 .../types/dist-types/StrategyInterface.d.ts | 0 .../@octokit/types/dist-types/Url.d.ts | 0 .../@octokit/types/dist-types/VERSION.d.ts | 1 + .../types/dist-types/generated/Endpoints.d.ts | 96 +- .../@octokit/types/dist-types/index.d.ts | 0 .../node_modules/@octokit/types/package.json | 13 +- .../@octokit/openapi-types/LICENSE | 0 .../@octokit/openapi-types/README.md | 0 .../@octokit/openapi-types/package.json | 7 +- .../@octokit/openapi-types/types.d.ts | 55382 ++--- .../node_modules/@octokit/types/LICENSE | 0 .../node_modules/@octokit/types/README.md | 0 .../types/dist-types/AuthInterface.d.ts | 0 .../types/dist-types/EndpointDefaults.d.ts | 0 .../types/dist-types/EndpointInterface.d.ts | 0 .../types/dist-types/EndpointOptions.d.ts | 0 .../@octokit/types/dist-types/Fetch.d.ts | 0 .../GetResponseTypeFromEndpointMethod.d.ts | 0 .../types/dist-types/OctokitResponse.d.ts | 0 .../types/dist-types/RequestError.d.ts | 0 .../types/dist-types/RequestHeaders.d.ts | 0 .../types/dist-types/RequestInterface.d.ts | 0 .../types/dist-types/RequestMethod.d.ts | 0 .../types/dist-types/RequestOptions.d.ts | 0 .../types/dist-types/RequestParameters.d.ts | 0 .../dist-types/RequestRequestOptions.d.ts | 1 - .../types/dist-types/ResponseHeaders.d.ts | 0 .../@octokit/types/dist-types/Route.d.ts | 0 .../@octokit/types/dist-types/Signal.d.ts | 0 .../types/dist-types/StrategyInterface.d.ts | 0 .../@octokit/types/dist-types/Url.d.ts | 0 .../@octokit/types/dist-types/VERSION.d.ts | 1 + .../types/dist-types/generated/Endpoints.d.ts | 96 +- .../@octokit/types/dist-types/index.d.ts | 0 .../node_modules/@octokit/types/package.json | 13 +- .../@octokit/openapi-types/LICENSE | 7 - .../@octokit/openapi-types/README.md | 17 - .../@octokit/openapi-types/types.d.ts | 110231 ---------- .../node_modules/@octokit/types/LICENSE | 7 - .../node_modules/@octokit/types/README.md | 65 - .../types/dist-types/AuthInterface.d.ts | 31 - .../types/dist-types/EndpointDefaults.d.ts | 21 - .../types/dist-types/EndpointInterface.d.ts | 65 - .../types/dist-types/EndpointOptions.d.ts | 7 - .../@octokit/types/dist-types/Fetch.d.ts | 4 - .../GetResponseTypeFromEndpointMethod.d.ts | 5 - .../types/dist-types/OctokitResponse.d.ts | 17 - .../types/dist-types/RequestError.d.ts | 11 - .../types/dist-types/RequestHeaders.d.ts | 15 - .../types/dist-types/RequestInterface.d.ts | 34 - .../types/dist-types/RequestMethod.d.ts | 4 - .../types/dist-types/RequestOptions.d.ts | 14 - .../types/dist-types/RequestParameters.d.ts | 45 - .../dist-types/RequestRequestOptions.d.ts | 21 - .../types/dist-types/ResponseHeaders.d.ts | 21 - .../@octokit/types/dist-types/Route.d.ts | 4 - .../@octokit/types/dist-types/Signal.d.ts | 6 - .../types/dist-types/StrategyInterface.d.ts | 4 - .../@octokit/types/dist-types/Url.d.ts | 4 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - .../types/dist-types/generated/Endpoints.d.ts | 3813 - .../@octokit/types/dist-types/index.d.ts | 21 - .../@octokit/openapi-types/LICENSE | 7 - .../@octokit/openapi-types/README.md | 17 - .../@octokit/openapi-types/package.json | 21 - .../@octokit/openapi-types/types.d.ts | 110231 ---------- .../node_modules/@octokit/types/LICENSE | 7 - .../node_modules/@octokit/types/README.md | 65 - .../types/dist-types/AuthInterface.d.ts | 31 - .../types/dist-types/EndpointDefaults.d.ts | 21 - .../types/dist-types/EndpointInterface.d.ts | 65 - .../types/dist-types/EndpointOptions.d.ts | 7 - .../@octokit/types/dist-types/Fetch.d.ts | 4 - .../GetResponseTypeFromEndpointMethod.d.ts | 5 - .../types/dist-types/OctokitResponse.d.ts | 17 - .../types/dist-types/RequestError.d.ts | 11 - .../types/dist-types/RequestHeaders.d.ts | 15 - .../types/dist-types/RequestInterface.d.ts | 34 - .../types/dist-types/RequestMethod.d.ts | 4 - .../types/dist-types/RequestOptions.d.ts | 14 - .../types/dist-types/RequestParameters.d.ts | 45 - .../dist-types/RequestRequestOptions.d.ts | 21 - .../types/dist-types/ResponseHeaders.d.ts | 21 - .../@octokit/types/dist-types/Route.d.ts | 4 - .../@octokit/types/dist-types/Signal.d.ts | 6 - .../types/dist-types/StrategyInterface.d.ts | 4 - .../@octokit/types/dist-types/Url.d.ts | 4 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - .../types/dist-types/generated/Endpoints.d.ts | 3813 - .../@octokit/types/dist-types/index.d.ts | 21 - .../node_modules/@octokit/types/package.json | 47 - .../types/dist-types/AuthInterface.d.ts | 10 +- .../types/dist-types/EndpointDefaults.d.ts | 8 +- .../types/dist-types/EndpointInterface.d.ts | 10 +- .../types/dist-types/EndpointOptions.d.ts | 6 +- .../types/dist-types/OctokitResponse.d.ts | 4 +- .../types/dist-types/RequestInterface.d.ts | 10 +- .../types/dist-types/RequestOptions.d.ts | 8 +- .../types/dist-types/RequestParameters.d.ts | 16 +- .../dist-types/RequestRequestOptions.d.ts | 6 +- .../@octokit/types/dist-types/Signal.d.ts | 6 - .../types/dist-types/StrategyInterface.d.ts | 2 +- .../@octokit/types/dist-types/VERSION.d.ts | 2 +- .../types/dist-types/generated/Endpoints.d.ts | 494 +- .../@octokit/types/dist-types/index.d.ts | 41 +- .../@octokit/openapi-types/LICENSE | 7 - .../@octokit/openapi-types/README.md | 17 - node_modules/@octokit/types/package.json | 26 +- .../esm-reload/tests/fixtures/simple/dep.js | 2 - .../esm-reload/tests/fixtures/simple/index.js | 8 - .../tests/fixtures/simple/package.json | 1 - .../tests/fixtures/simple/transitive.js | 2 - node_modules/esm-reload/tests/helper.js | 32 - node_modules/esm-reload/tests/tests.js | 24 - node_modules/graphql-tag/CHANGELOG.md | 236 + node_modules/graphql-tag/LICENSE | 21 + node_modules/graphql-tag/README.md | 251 + .../graphql-tag/lib/graphql-tag.umd.js | 136 + .../graphql-tag/lib/graphql-tag.umd.js.flow | 7 + .../graphql-tag/lib/graphql-tag.umd.js.map | 1 + node_modules/graphql-tag/lib/index.d.ts | 15 + node_modules/graphql-tag/lib/index.d.ts.map | 1 + node_modules/graphql-tag/lib/index.js | 121 + node_modules/graphql-tag/lib/index.js.map | 1 + node_modules/graphql-tag/lib/tests.cjs.js | 409 + node_modules/graphql-tag/lib/tests.cjs.js.map | 1 + node_modules/graphql-tag/lib/tests.d.ts | 2 + node_modules/graphql-tag/lib/tests.d.ts.map | 1 + node_modules/graphql-tag/lib/tests.js | 288 + node_modules/graphql-tag/lib/tests.js.map | 1 + node_modules/graphql-tag/loader.js | 190 + node_modules/graphql-tag/main.js | 3 + node_modules/graphql-tag/package.json | 59 + node_modules/graphql-tag/src/index.js.flow | 7 + node_modules/graphql-tag/src/index.ts | 174 + node_modules/graphql-tag/src/tests.ts | 491 + node_modules/graphql/LICENSE | 21 + .../graphql/NotSupportedTSVersion.d.ts | 1 + node_modules/graphql/README.md | 203 + node_modules/graphql/error/GraphQLError.d.ts | 152 + node_modules/graphql/error/GraphQLError.js | 267 + node_modules/graphql/error/GraphQLError.mjs | 253 + node_modules/graphql/error/index.d.ts | 9 + node_modules/graphql/error/index.js | 41 + node_modules/graphql/error/index.mjs | 3 + node_modules/graphql/error/locatedError.d.ts | 13 + node_modules/graphql/error/locatedError.js | 40 + node_modules/graphql/error/locatedError.mjs | 32 + node_modules/graphql/error/syntaxError.d.ts | 11 + node_modules/graphql/error/syntaxError.js | 19 + node_modules/graphql/error/syntaxError.mjs | 12 + .../graphql/execution/collectFields.d.ts | 45 + .../graphql/execution/collectFields.js | 229 + .../graphql/execution/collectFields.mjs | 213 + node_modules/graphql/execution/execute.d.ts | 190 + node_modules/graphql/execution/execute.js | 1054 + node_modules/graphql/execution/execute.mjs | 1026 + node_modules/graphql/execution/index.d.ts | 18 + node_modules/graphql/execution/index.js | 73 + node_modules/graphql/execution/index.mjs | 13 + .../graphql/execution/mapAsyncIterator.d.ts | 9 + .../graphql/execution/mapAsyncIterator.js | 68 + .../graphql/execution/mapAsyncIterator.mjs | 61 + node_modules/graphql/execution/subscribe.d.ts | 72 + node_modules/graphql/execution/subscribe.js | 244 + node_modules/graphql/execution/subscribe.mjs | 222 + node_modules/graphql/execution/values.d.ts | 79 + node_modules/graphql/execution/values.js | 300 + node_modules/graphql/execution/values.mjs | 263 + node_modules/graphql/graphql.d.ts | 67 + node_modules/graphql/graphql.js | 96 + node_modules/graphql/graphql.mjs | 122 + node_modules/graphql/index.d.ts | 428 + node_modules/graphql/index.js | 1311 + node_modules/graphql/index.mjs | 262 + node_modules/graphql/jsutils/Maybe.d.ts | 2 + node_modules/graphql/jsutils/Maybe.js | 5 + node_modules/graphql/jsutils/Maybe.mjs | 1 + node_modules/graphql/jsutils/ObjMap.d.ts | 16 + node_modules/graphql/jsutils/ObjMap.js | 5 + node_modules/graphql/jsutils/ObjMap.mjs | 1 + node_modules/graphql/jsutils/Path.d.ts | 20 + node_modules/graphql/jsutils/Path.js | 33 + node_modules/graphql/jsutils/Path.mjs | 25 + .../graphql/jsutils/PromiseOrValue.d.ts | 1 + .../graphql/jsutils/PromiseOrValue.js | 5 + .../graphql/jsutils/PromiseOrValue.mjs | 1 + node_modules/graphql/jsutils/devAssert.d.ts | 1 + node_modules/graphql/jsutils/devAssert.js | 14 + node_modules/graphql/jsutils/devAssert.mjs | 7 + node_modules/graphql/jsutils/didYouMean.d.ts | 8 + node_modules/graphql/jsutils/didYouMean.js | 38 + node_modules/graphql/jsutils/didYouMean.mjs | 32 + node_modules/graphql/jsutils/groupBy.d.ts | 7 + node_modules/graphql/jsutils/groupBy.js | 26 + node_modules/graphql/jsutils/groupBy.mjs | 19 + .../graphql/jsutils/identityFunc.d.ts | 4 + node_modules/graphql/jsutils/identityFunc.js | 13 + node_modules/graphql/jsutils/identityFunc.mjs | 6 + node_modules/graphql/jsutils/inspect.d.ts | 4 + node_modules/graphql/jsutils/inspect.js | 121 + node_modules/graphql/jsutils/inspect.mjs | 115 + node_modules/graphql/jsutils/instanceOf.d.ts | 16 + node_modules/graphql/jsutils/instanceOf.js | 65 + node_modules/graphql/jsutils/instanceOf.mjs | 57 + node_modules/graphql/jsutils/invariant.d.ts | 4 + node_modules/graphql/jsutils/invariant.js | 16 + node_modules/graphql/jsutils/invariant.mjs | 9 + .../graphql/jsutils/isAsyncIterable.d.ts | 7 + .../graphql/jsutils/isAsyncIterable.js | 18 + .../graphql/jsutils/isAsyncIterable.mjs | 11 + .../graphql/jsutils/isIterableObject.d.ts | 20 + .../graphql/jsutils/isIterableObject.js | 32 + .../graphql/jsutils/isIterableObject.mjs | 25 + .../graphql/jsutils/isObjectLike.d.ts | 7 + node_modules/graphql/jsutils/isObjectLike.js | 14 + node_modules/graphql/jsutils/isObjectLike.mjs | 7 + node_modules/graphql/jsutils/isPromise.d.ts | 5 + node_modules/graphql/jsutils/isPromise.js | 17 + node_modules/graphql/jsutils/isPromise.mjs | 10 + node_modules/graphql/jsutils/keyMap.d.ts | 32 + node_modules/graphql/jsutils/keyMap.js | 43 + node_modules/graphql/jsutils/keyMap.mjs | 36 + node_modules/graphql/jsutils/keyValMap.d.ts | 23 + node_modules/graphql/jsutils/keyValMap.js | 33 + node_modules/graphql/jsutils/keyValMap.mjs | 26 + node_modules/graphql/jsutils/mapValue.d.ts | 9 + node_modules/graphql/jsutils/mapValue.js | 20 + node_modules/graphql/jsutils/mapValue.mjs | 13 + node_modules/graphql/jsutils/memoize3.d.ts | 9 + node_modules/graphql/jsutils/memoize3.js | 41 + node_modules/graphql/jsutils/memoize3.mjs | 34 + .../graphql/jsutils/naturalCompare.d.ts | 8 + .../graphql/jsutils/naturalCompare.js | 69 + .../graphql/jsutils/naturalCompare.mjs | 61 + .../graphql/jsutils/printPathArray.d.ts | 6 + .../graphql/jsutils/printPathArray.js | 17 + .../graphql/jsutils/printPathArray.mjs | 10 + .../graphql/jsutils/promiseForObject.d.ts | 11 + .../graphql/jsutils/promiseForObject.js | 25 + .../graphql/jsutils/promiseForObject.mjs | 18 + .../graphql/jsutils/promiseReduce.d.ts | 13 + node_modules/graphql/jsutils/promiseReduce.js | 27 + .../graphql/jsutils/promiseReduce.mjs | 20 + .../graphql/jsutils/suggestionList.d.ts | 8 + .../graphql/jsutils/suggestionList.js | 139 + .../graphql/jsutils/suggestionList.mjs | 130 + node_modules/graphql/jsutils/toError.d.ts | 4 + node_modules/graphql/jsutils/toError.js | 25 + node_modules/graphql/jsutils/toError.mjs | 18 + node_modules/graphql/jsutils/toObjMap.d.ts | 5 + node_modules/graphql/jsutils/toObjMap.js | 24 + node_modules/graphql/jsutils/toObjMap.mjs | 17 + node_modules/graphql/language/ast.d.ts | 582 + node_modules/graphql/language/ast.js | 237 + node_modules/graphql/language/ast.mjs | 221 + .../graphql/language/blockString.d.ts | 28 + node_modules/graphql/language/blockString.js | 195 + node_modules/graphql/language/blockString.mjs | 178 + .../graphql/language/characterClasses.d.ts | 47 + .../graphql/language/characterClasses.js | 75 + .../graphql/language/characterClasses.mjs | 64 + .../graphql/language/directiveLocation.d.ts | 33 + .../graphql/language/directiveLocation.js | 39 + .../graphql/language/directiveLocation.mjs | 33 + node_modules/graphql/language/index.d.ts | 110 + node_modules/graphql/language/index.js | 227 + node_modules/graphql/language/index.mjs | 36 + node_modules/graphql/language/kinds.d.ts | 72 + node_modules/graphql/language/kinds.js | 68 + node_modules/graphql/language/kinds.mjs | 62 + node_modules/graphql/language/lexer.d.ts | 96 + node_modules/graphql/language/lexer.js | 1016 + node_modules/graphql/language/lexer.mjs | 915 + node_modules/graphql/language/location.d.ts | 16 + node_modules/graphql/language/location.js | 38 + node_modules/graphql/language/location.mjs | 30 + node_modules/graphql/language/parser.d.ts | 592 + node_modules/graphql/language/parser.js | 1692 + node_modules/graphql/language/parser.mjs | 1645 + node_modules/graphql/language/predicates.d.ts | 37 + node_modules/graphql/language/predicates.js | 120 + node_modules/graphql/language/predicates.mjs | 90 + .../graphql/language/printLocation.d.ts | 14 + .../graphql/language/printLocation.js | 74 + .../graphql/language/printLocation.mjs | 66 + .../graphql/language/printString.d.ts | 5 + node_modules/graphql/language/printString.js | 183 + node_modules/graphql/language/printString.mjs | 176 + node_modules/graphql/language/printer.d.ts | 6 + node_modules/graphql/language/printer.js | 380 + node_modules/graphql/language/printer.mjs | 368 + .../language/schemaCoordinateLexer.d.ts | 43 + .../graphql/language/schemaCoordinateLexer.js | 171 + .../language/schemaCoordinateLexer.mjs | 122 + node_modules/graphql/language/source.d.ts | 25 + node_modules/graphql/language/source.js | 65 + node_modules/graphql/language/source.mjs | 50 + node_modules/graphql/language/tokenKind.d.ts | 36 + node_modules/graphql/language/tokenKind.js | 44 + node_modules/graphql/language/tokenKind.mjs | 38 + node_modules/graphql/language/visitor.d.ts | 194 + node_modules/graphql/language/visitor.js | 374 + node_modules/graphql/language/visitor.mjs | 358 + node_modules/graphql/package.json | 39 + node_modules/graphql/subscription/index.d.ts | 19 + node_modules/graphql/subscription/index.js | 19 + node_modules/graphql/subscription/index.mjs | 19 + node_modules/graphql/type/assertName.d.ts | 10 + node_modules/graphql/type/assertName.js | 59 + node_modules/graphql/type/assertName.mjs | 44 + node_modules/graphql/type/definition.d.ts | 926 + node_modules/graphql/type/definition.js | 1362 + node_modules/graphql/type/definition.mjs | 1197 + node_modules/graphql/type/directives.d.ts | 90 + node_modules/graphql/type/directives.js | 238 + node_modules/graphql/type/directives.mjs | 202 + node_modules/graphql/type/index.d.ts | 151 + node_modules/graphql/type/index.js | 553 + node_modules/graphql/type/index.mjs | 104 + node_modules/graphql/type/introspection.d.ts | 30 + node_modules/graphql/type/introspection.js | 625 + node_modules/graphql/type/introspection.mjs | 559 + node_modules/graphql/type/scalars.d.ts | 19 + node_modules/graphql/type/scalars.js | 369 + node_modules/graphql/type/scalars.mjs | 309 + node_modules/graphql/type/schema.d.ts | 170 + node_modules/graphql/type/schema.js | 402 + node_modules/graphql/type/schema.mjs | 381 + node_modules/graphql/type/validate.d.ts | 17 + node_modules/graphql/type/validate.js | 706 + node_modules/graphql/type/validate.mjs | 681 + node_modules/graphql/utilities/TypeInfo.d.ts | 67 + node_modules/graphql/utilities/TypeInfo.js | 418 + node_modules/graphql/utilities/TypeInfo.mjs | 395 + .../graphql/utilities/assertValidName.d.ts | 13 + .../graphql/utilities/assertValidName.js | 51 + .../graphql/utilities/assertValidName.mjs | 40 + .../graphql/utilities/astFromValue.d.ts | 28 + .../graphql/utilities/astFromValue.js | 190 + .../graphql/utilities/astFromValue.mjs | 177 + .../graphql/utilities/buildASTSchema.d.ts | 35 + .../graphql/utilities/buildASTSchema.js | 115 + .../graphql/utilities/buildASTSchema.mjs | 97 + .../graphql/utilities/buildClientSchema.d.ts | 19 + .../graphql/utilities/buildClientSchema.js | 387 + .../graphql/utilities/buildClientSchema.mjs | 364 + .../graphql/utilities/coerceInputValue.d.ts | 16 + .../graphql/utilities/coerceInputValue.js | 217 + .../graphql/utilities/coerceInputValue.mjs | 192 + node_modules/graphql/utilities/concatAST.d.ts | 9 + node_modules/graphql/utilities/concatAST.js | 26 + node_modules/graphql/utilities/concatAST.mjs | 19 + .../graphql/utilities/extendSchema.d.ts | 40 + .../graphql/utilities/extendSchema.js | 808 + .../graphql/utilities/extendSchema.mjs | 798 + .../utilities/findBreakingChanges.d.ts | 53 + .../graphql/utilities/findBreakingChanges.js | 547 + .../graphql/utilities/findBreakingChanges.mjs | 519 + .../utilities/getIntrospectionQuery.d.ts | 188 + .../utilities/getIntrospectionQuery.js | 145 + .../utilities/getIntrospectionQuery.mjs | 138 + .../graphql/utilities/getOperationAST.d.ts | 11 + .../graphql/utilities/getOperationAST.js | 43 + .../graphql/utilities/getOperationAST.mjs | 36 + .../utilities/getOperationRootType.d.ts | 15 + .../graphql/utilities/getOperationRootType.js | 67 + .../utilities/getOperationRootType.mjs | 54 + node_modules/graphql/utilities/index.d.ts | 66 + node_modules/graphql/utilities/index.js | 247 + node_modules/graphql/utilities/index.mjs | 60 + .../utilities/introspectionFromSchema.d.ts | 18 + .../utilities/introspectionFromSchema.js | 43 + .../utilities/introspectionFromSchema.mjs | 31 + .../utilities/lexicographicSortSchema.d.ts | 9 + .../utilities/lexicographicSortSchema.js | 177 + .../utilities/lexicographicSortSchema.mjs | 172 + .../graphql/utilities/printSchema.d.ts | 5 + node_modules/graphql/utilities/printSchema.js | 338 + .../graphql/utilities/printSchema.mjs | 314 + .../utilities/resolveSchemaCoordinate.d.ts | 80 + .../utilities/resolveSchemaCoordinate.js | 260 + .../utilities/resolveSchemaCoordinate.mjs | 243 + .../graphql/utilities/separateOperations.d.ts | 11 + .../graphql/utilities/separateOperations.js | 88 + .../graphql/utilities/separateOperations.mjs | 80 + .../graphql/utilities/sortValueNode.d.ts | 9 + .../graphql/utilities/sortValueNode.js | 47 + .../graphql/utilities/sortValueNode.mjs | 39 + .../utilities/stripIgnoredCharacters.d.ts | 62 + .../utilities/stripIgnoredCharacters.js | 121 + .../utilities/stripIgnoredCharacters.mjs | 104 + .../graphql/utilities/typeComparators.d.ts | 32 + .../graphql/utilities/typeComparators.js | 116 + .../graphql/utilities/typeComparators.mjs | 106 + .../graphql/utilities/typeFromAST.d.ts | 32 + node_modules/graphql/utilities/typeFromAST.js | 27 + .../graphql/utilities/typeFromAST.mjs | 18 + .../utilities/typedQueryDocumentNode.d.ts | 22 + .../utilities/typedQueryDocumentNode.js | 5 + .../utilities/typedQueryDocumentNode.mjs | 1 + .../graphql/utilities/valueFromAST.d.ts | 29 + .../graphql/utilities/valueFromAST.js | 197 + .../graphql/utilities/valueFromAST.mjs | 184 + .../utilities/valueFromASTUntyped.d.ts | 23 + .../graphql/utilities/valueFromASTUntyped.js | 61 + .../graphql/utilities/valueFromASTUntyped.mjs | 53 + .../graphql/validation/ValidationContext.d.ts | 96 + .../graphql/validation/ValidationContext.js | 233 + .../graphql/validation/ValidationContext.mjs | 213 + node_modules/graphql/validation/index.d.ts | 41 + node_modules/graphql/validation/index.js | 331 + node_modules/graphql/validation/index.mjs | 69 + .../rules/ExecutableDefinitionsRule.d.ts | 13 + .../rules/ExecutableDefinitionsRule.js | 46 + .../rules/ExecutableDefinitionsRule.mjs | 34 + .../rules/FieldsOnCorrectTypeRule.d.ts | 13 + .../rules/FieldsOnCorrectTypeRule.js | 145 + .../rules/FieldsOnCorrectTypeRule.mjs | 127 + .../rules/FragmentsOnCompositeTypesRule.d.ts | 14 + .../rules/FragmentsOnCompositeTypesRule.js | 69 + .../rules/FragmentsOnCompositeTypesRule.mjs | 53 + .../rules/KnownArgumentNamesRule.d.ts | 23 + .../rules/KnownArgumentNamesRule.js | 120 + .../rules/KnownArgumentNamesRule.mjs | 102 + .../validation/rules/KnownDirectivesRule.d.ts | 16 + .../validation/rules/KnownDirectivesRule.js | 167 + .../validation/rules/KnownDirectivesRule.mjs | 150 + .../rules/KnownFragmentNamesRule.d.ts | 13 + .../rules/KnownFragmentNamesRule.js | 36 + .../rules/KnownFragmentNamesRule.mjs | 26 + .../validation/rules/KnownTypeNamesRule.d.ts | 16 + .../validation/rules/KnownTypeNamesRule.js | 89 + .../validation/rules/KnownTypeNamesRule.mjs | 77 + .../rules/LoneAnonymousOperationRule.d.ts | 13 + .../rules/LoneAnonymousOperationRule.js | 42 + .../rules/LoneAnonymousOperationRule.mjs | 34 + .../rules/LoneSchemaDefinitionRule.d.ts | 10 + .../rules/LoneSchemaDefinitionRule.js | 67 + .../rules/LoneSchemaDefinitionRule.mjs | 57 + .../rules/MaxIntrospectionDepthRule.d.ts | 5 + .../rules/MaxIntrospectionDepthRule.js | 90 + .../rules/MaxIntrospectionDepthRule.mjs | 77 + .../rules/NoFragmentCyclesRule.d.ts | 13 + .../validation/rules/NoFragmentCyclesRule.js | 85 + .../validation/rules/NoFragmentCyclesRule.mjs | 78 + .../rules/NoUndefinedVariablesRule.d.ts | 13 + .../rules/NoUndefinedVariablesRule.js | 52 + .../rules/NoUndefinedVariablesRule.mjs | 45 + .../rules/NoUnusedFragmentsRule.d.ts | 13 + .../validation/rules/NoUnusedFragmentsRule.js | 61 + .../rules/NoUnusedFragmentsRule.mjs | 51 + .../rules/NoUnusedVariablesRule.d.ts | 13 + .../validation/rules/NoUnusedVariablesRule.js | 57 + .../rules/NoUnusedVariablesRule.mjs | 50 + .../OverlappingFieldsCanBeMergedRule.d.ts | 14 + .../rules/OverlappingFieldsCanBeMergedRule.js | 868 + .../OverlappingFieldsCanBeMergedRule.mjs | 853 + .../rules/PossibleFragmentSpreadsRule.d.ts | 12 + .../rules/PossibleFragmentSpreadsRule.js | 95 + .../rules/PossibleFragmentSpreadsRule.mjs | 73 + .../rules/PossibleTypeExtensionsRule.d.ts | 10 + .../rules/PossibleTypeExtensionsRule.js | 171 + .../rules/PossibleTypeExtensionsRule.mjs | 148 + .../rules/ProvidedRequiredArgumentsRule.d.ts | 20 + .../rules/ProvidedRequiredArgumentsRule.js | 162 + .../rules/ProvidedRequiredArgumentsRule.mjs | 142 + .../validation/rules/ScalarLeafsRule.d.ts | 9 + .../validation/rules/ScalarLeafsRule.js | 66 + .../validation/rules/ScalarLeafsRule.mjs | 57 + .../rules/SingleFieldSubscriptionsRule.d.ts | 13 + .../rules/SingleFieldSubscriptionsRule.js | 86 + .../rules/SingleFieldSubscriptionsRule.mjs | 77 + .../UniqueArgumentDefinitionNamesRule.d.ts | 11 + .../UniqueArgumentDefinitionNamesRule.js | 92 + .../UniqueArgumentDefinitionNamesRule.mjs | 81 + .../rules/UniqueArgumentNamesRule.d.ts | 13 + .../rules/UniqueArgumentNamesRule.js | 55 + .../rules/UniqueArgumentNamesRule.mjs | 44 + .../rules/UniqueDirectiveNamesRule.d.ts | 10 + .../rules/UniqueDirectiveNamesRule.js | 54 + .../rules/UniqueDirectiveNamesRule.mjs | 47 + .../UniqueDirectivesPerLocationRule.d.ts | 16 + .../rules/UniqueDirectivesPerLocationRule.js | 95 + .../rules/UniqueDirectivesPerLocationRule.mjs | 85 + .../rules/UniqueEnumValueNamesRule.d.ts | 10 + .../rules/UniqueEnumValueNamesRule.js | 75 + .../rules/UniqueEnumValueNamesRule.mjs | 64 + .../rules/UniqueFieldDefinitionNamesRule.d.ts | 10 + .../rules/UniqueFieldDefinitionNamesRule.js | 87 + .../rules/UniqueFieldDefinitionNamesRule.mjs | 79 + .../rules/UniqueFragmentNamesRule.d.ts | 12 + .../rules/UniqueFragmentNamesRule.js | 41 + .../rules/UniqueFragmentNamesRule.mjs | 34 + .../rules/UniqueInputFieldNamesRule.d.ts | 13 + .../rules/UniqueInputFieldNamesRule.js | 54 + .../rules/UniqueInputFieldNamesRule.mjs | 46 + .../rules/UniqueOperationNamesRule.d.ts | 12 + .../rules/UniqueOperationNamesRule.js | 46 + .../rules/UniqueOperationNamesRule.mjs | 39 + .../rules/UniqueOperationTypesRule.d.ts | 10 + .../rules/UniqueOperationTypesRule.js | 71 + .../rules/UniqueOperationTypesRule.mjs | 64 + .../validation/rules/UniqueTypeNamesRule.d.ts | 10 + .../validation/rules/UniqueTypeNamesRule.js | 57 + .../validation/rules/UniqueTypeNamesRule.mjs | 47 + .../rules/UniqueVariableNamesRule.d.ts | 10 + .../rules/UniqueVariableNamesRule.js | 49 + .../rules/UniqueVariableNamesRule.mjs | 41 + .../rules/ValuesOfCorrectTypeRule.d.ts | 13 + .../rules/ValuesOfCorrectTypeRule.js | 246 + .../rules/ValuesOfCorrectTypeRule.mjs | 223 + .../rules/VariablesAreInputTypesRule.d.ts | 13 + .../rules/VariablesAreInputTypesRule.js | 46 + .../rules/VariablesAreInputTypesRule.mjs | 33 + .../rules/VariablesInAllowedPositionRule.d.ts | 12 + .../rules/VariablesInAllowedPositionRule.js | 131 + .../rules/VariablesInAllowedPositionRule.mjs | 116 + .../rules/custom/NoDeprecatedCustomRule.d.ts | 15 + .../rules/custom/NoDeprecatedCustomRule.js | 131 + .../rules/custom/NoDeprecatedCustomRule.mjs | 117 + .../NoSchemaIntrospectionCustomRule.d.ts | 15 + .../custom/NoSchemaIntrospectionCustomRule.js | 41 + .../NoSchemaIntrospectionCustomRule.mjs | 32 + .../graphql/validation/specifiedRules.d.ts | 18 + .../graphql/validation/specifiedRules.js | 176 + .../graphql/validation/specifiedRules.mjs | 132 + node_modules/graphql/validation/validate.d.ts | 61 + node_modules/graphql/validation/validate.js | 151 + node_modules/graphql/validation/validate.mjs | 133 + node_modules/graphql/version.d.ts | 13 + node_modules/graphql/version.js | 25 + node_modules/graphql/version.mjs | 17 + node_modules/js-yaml/CHANGELOG.md | 616 - node_modules/js-yaml/README.md | 17 +- node_modules/js-yaml/dist/js-yaml.js | 38 +- node_modules/js-yaml/dist/js-yaml.min.js | 4 +- node_modules/js-yaml/dist/js-yaml.mjs | 35 +- node_modules/js-yaml/lib/loader.js | 30 +- node_modules/js-yaml/package.json | 2 +- node_modules/tslib/CopyrightNotice.txt | 15 + node_modules/tslib/LICENSE.txt | 12 + node_modules/tslib/README.md | 164 + node_modules/tslib/SECURITY.md | 41 + node_modules/tslib/modules/index.d.ts | 38 + node_modules/tslib/modules/index.js | 70 + node_modules/tslib/modules/package.json | 3 + node_modules/tslib/package.json | 47 + node_modules/tslib/tslib.d.ts | 460 + node_modules/tslib/tslib.es6.html | 1 + node_modules/tslib/tslib.es6.js | 402 + node_modules/tslib/tslib.es6.mjs | 401 + node_modules/tslib/tslib.html | 1 + node_modules/tslib/tslib.js | 484 + package-lock.json | 226 +- package.json | 12 +- post-comment/action.yml | 4 +- post-comment/{main.mjs => main.mts} | 4 +- post-comment/{main.test.mjs => main.test.mts} | 0 post-comment/package.json | 2 +- setup-homebrew/main.mjs | 2 + setup-homebrew/package.json | 2 +- setup-homebrew/post.mjs | 2 + spec-helper.mjs => spec-helper.mts | 39 +- test-reporter.mjs => test-reporter.mts | 12 +- tsconfig.json | 6 + 731 files changed, 356642 insertions(+), 371856 deletions(-) create mode 100644 .gitignore rename api-commit-and-push/{main.mjs => main.mts} (87%) rename api-commit-and-push/{main.test.mjs => main.test.mts} (94%) rename check-commit-format/{main.mjs => main.mts} (88%) rename check-commit-format/{main.test.mjs => main.test.mts} (57%) rename create-or-update-issue/{main.mjs => main.mts} (94%) rename create-or-update-issue/{main.test.mjs => main.test.mts} (100%) rename create-pull-request/{main.mjs => main.mts} (87%) rename create-pull-request/{main.test.mjs => main.test.mts} (100%) rename dismiss-approvals/{main.mjs => main.mts} (88%) rename dismiss-approvals/{main.test.mjs => main.test.mts} (100%) rename find-related-workflow-run-id/{main.mjs => main.mts} (79%) rename find-related-workflow-run-id/{main.test.mjs => main.test.mts} (100%) rename git-try-push/{main.js => main.mts} (90%) rename git-user-config/{main.js => main.mts} (82%) rename label-pull-requests/{main.mjs => main.mts} (82%) rename label-pull-requests/{main.test.mjs => main.test.mts} (98%) rename limit-pull-requests/{main.mjs => main.mts} (82%) rename limit-pull-requests/{main.test.mjs => main.test.mts} (99%) delete mode 120000 node_modules/.bin/js-yaml delete mode 100644 node_modules/@octokit/core/node_modules/@octokit/openapi-types/package.json delete mode 100644 node_modules/@octokit/core/node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types/package.json delete mode 100644 node_modules/@octokit/endpoint/node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/endpoint/node_modules/@octokit/types/package.json create mode 100644 node_modules/@octokit/graphql-schema/LICENSE.md create mode 100644 node_modules/@octokit/graphql-schema/README.md create mode 100644 node_modules/@octokit/graphql-schema/index.d.ts create mode 100644 node_modules/@octokit/graphql-schema/index.js create mode 100644 node_modules/@octokit/graphql-schema/lib/validate.js create mode 100644 node_modules/@octokit/graphql-schema/package.json create mode 100644 node_modules/@octokit/graphql-schema/schema.d.ts create mode 100644 node_modules/@octokit/graphql-schema/schema.graphql create mode 100644 node_modules/@octokit/graphql-schema/schema.json delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/openapi-types/types.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/LICENSE delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/README.md delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/AuthInterface.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/Fetch.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestError.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestInterface.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestMethod.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestOptions.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestParameters.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/Route.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/Signal.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/Url.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/graphql/node_modules/@octokit/types/package.json rename node_modules/@octokit/{core/node_modules/@octokit => }/openapi-types/LICENSE (100%) rename node_modules/@octokit/{core/node_modules/@octokit => }/openapi-types/README.md (100%) rename node_modules/@octokit/{graphql/node_modules/@octokit => }/openapi-types/package.json (90%) rename node_modules/@octokit/{endpoint/node_modules/@octokit => }/openapi-types/types.d.ts (89%) rename node_modules/@octokit/{endpoint => plugin-paginate-rest}/node_modules/@octokit/openapi-types/LICENSE (100%) rename node_modules/@octokit/{endpoint => plugin-paginate-rest}/node_modules/@octokit/openapi-types/README.md (100%) rename node_modules/@octokit/{types => plugin-paginate-rest}/node_modules/@octokit/openapi-types/package.json (100%) rename node_modules/@octokit/{types => plugin-paginate-rest}/node_modules/@octokit/openapi-types/types.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/LICENSE (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/README.md (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/AuthInterface.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/Fetch.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestError.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestInterface.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestMethod.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestOptions.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestParameters.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts (94%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/Route.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/Signal.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/Url.d.ts (100%) create mode 100644 node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types/dist-types/VERSION.d.ts rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts (98%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/dist-types/index.d.ts (100%) rename node_modules/@octokit/{core => plugin-paginate-rest}/node_modules/@octokit/types/package.json (81%) rename node_modules/@octokit/{graphql => plugin-rest-endpoint-methods}/node_modules/@octokit/openapi-types/LICENSE (100%) rename node_modules/@octokit/{graphql => plugin-rest-endpoint-methods}/node_modules/@octokit/openapi-types/README.md (100%) rename node_modules/@octokit/{request-error => plugin-rest-endpoint-methods}/node_modules/@octokit/openapi-types/package.json (81%) rename node_modules/@octokit/{core => plugin-rest-endpoint-methods}/node_modules/@octokit/openapi-types/types.d.ts (91%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/LICENSE (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/README.md (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/AuthInterface.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/Fetch.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestError.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestInterface.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestMethod.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestOptions.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestParameters.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts (94%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/Route.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/Signal.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts (100%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/Url.d.ts (100%) create mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types/dist-types/VERSION.d.ts rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts (98%) rename node_modules/@octokit/{endpoint => plugin-rest-endpoint-methods}/node_modules/@octokit/types/dist-types/index.d.ts (100%) rename node_modules/@octokit/{request-error => plugin-rest-endpoint-methods}/node_modules/@octokit/types/package.json (81%) delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/openapi-types/LICENSE delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/openapi-types/README.md delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/openapi-types/types.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/LICENSE delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/README.md delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/AuthInterface.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/Fetch.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestError.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestInterface.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestMethod.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestOptions.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestParameters.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/Route.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/Signal.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/Url.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts delete mode 100644 node_modules/@octokit/request-error/node_modules/@octokit/types/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/openapi-types/LICENSE delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/openapi-types/README.md delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/openapi-types/package.json delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/openapi-types/types.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/LICENSE delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/README.md delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/AuthInterface.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/EndpointInterface.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/Fetch.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestError.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestInterface.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestMethod.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestOptions.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestParameters.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/Route.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/Signal.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/Url.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/request/node_modules/@octokit/types/package.json delete mode 100644 node_modules/@octokit/types/dist-types/Signal.d.ts delete mode 100644 node_modules/@octokit/types/node_modules/@octokit/openapi-types/LICENSE delete mode 100644 node_modules/@octokit/types/node_modules/@octokit/openapi-types/README.md delete mode 100644 node_modules/esm-reload/tests/fixtures/simple/dep.js delete mode 100644 node_modules/esm-reload/tests/fixtures/simple/index.js delete mode 100644 node_modules/esm-reload/tests/fixtures/simple/package.json delete mode 100644 node_modules/esm-reload/tests/fixtures/simple/transitive.js delete mode 100644 node_modules/esm-reload/tests/helper.js delete mode 100644 node_modules/esm-reload/tests/tests.js create mode 100644 node_modules/graphql-tag/CHANGELOG.md create mode 100644 node_modules/graphql-tag/LICENSE create mode 100644 node_modules/graphql-tag/README.md create mode 100644 node_modules/graphql-tag/lib/graphql-tag.umd.js create mode 100644 node_modules/graphql-tag/lib/graphql-tag.umd.js.flow create mode 100644 node_modules/graphql-tag/lib/graphql-tag.umd.js.map create mode 100644 node_modules/graphql-tag/lib/index.d.ts create mode 100644 node_modules/graphql-tag/lib/index.d.ts.map create mode 100644 node_modules/graphql-tag/lib/index.js create mode 100644 node_modules/graphql-tag/lib/index.js.map create mode 100644 node_modules/graphql-tag/lib/tests.cjs.js create mode 100644 node_modules/graphql-tag/lib/tests.cjs.js.map create mode 100644 node_modules/graphql-tag/lib/tests.d.ts create mode 100644 node_modules/graphql-tag/lib/tests.d.ts.map create mode 100644 node_modules/graphql-tag/lib/tests.js create mode 100644 node_modules/graphql-tag/lib/tests.js.map create mode 100644 node_modules/graphql-tag/loader.js create mode 100644 node_modules/graphql-tag/main.js create mode 100644 node_modules/graphql-tag/package.json create mode 100644 node_modules/graphql-tag/src/index.js.flow create mode 100644 node_modules/graphql-tag/src/index.ts create mode 100644 node_modules/graphql-tag/src/tests.ts create mode 100644 node_modules/graphql/LICENSE create mode 100644 node_modules/graphql/NotSupportedTSVersion.d.ts create mode 100644 node_modules/graphql/README.md create mode 100644 node_modules/graphql/error/GraphQLError.d.ts create mode 100644 node_modules/graphql/error/GraphQLError.js create mode 100644 node_modules/graphql/error/GraphQLError.mjs create mode 100644 node_modules/graphql/error/index.d.ts create mode 100644 node_modules/graphql/error/index.js create mode 100644 node_modules/graphql/error/index.mjs create mode 100644 node_modules/graphql/error/locatedError.d.ts create mode 100644 node_modules/graphql/error/locatedError.js create mode 100644 node_modules/graphql/error/locatedError.mjs create mode 100644 node_modules/graphql/error/syntaxError.d.ts create mode 100644 node_modules/graphql/error/syntaxError.js create mode 100644 node_modules/graphql/error/syntaxError.mjs create mode 100644 node_modules/graphql/execution/collectFields.d.ts create mode 100644 node_modules/graphql/execution/collectFields.js create mode 100644 node_modules/graphql/execution/collectFields.mjs create mode 100644 node_modules/graphql/execution/execute.d.ts create mode 100644 node_modules/graphql/execution/execute.js create mode 100644 node_modules/graphql/execution/execute.mjs create mode 100644 node_modules/graphql/execution/index.d.ts create mode 100644 node_modules/graphql/execution/index.js create mode 100644 node_modules/graphql/execution/index.mjs create mode 100644 node_modules/graphql/execution/mapAsyncIterator.d.ts create mode 100644 node_modules/graphql/execution/mapAsyncIterator.js create mode 100644 node_modules/graphql/execution/mapAsyncIterator.mjs create mode 100644 node_modules/graphql/execution/subscribe.d.ts create mode 100644 node_modules/graphql/execution/subscribe.js create mode 100644 node_modules/graphql/execution/subscribe.mjs create mode 100644 node_modules/graphql/execution/values.d.ts create mode 100644 node_modules/graphql/execution/values.js create mode 100644 node_modules/graphql/execution/values.mjs create mode 100644 node_modules/graphql/graphql.d.ts create mode 100644 node_modules/graphql/graphql.js create mode 100644 node_modules/graphql/graphql.mjs create mode 100644 node_modules/graphql/index.d.ts create mode 100644 node_modules/graphql/index.js create mode 100644 node_modules/graphql/index.mjs create mode 100644 node_modules/graphql/jsutils/Maybe.d.ts create mode 100644 node_modules/graphql/jsutils/Maybe.js create mode 100644 node_modules/graphql/jsutils/Maybe.mjs create mode 100644 node_modules/graphql/jsutils/ObjMap.d.ts create mode 100644 node_modules/graphql/jsutils/ObjMap.js create mode 100644 node_modules/graphql/jsutils/ObjMap.mjs create mode 100644 node_modules/graphql/jsutils/Path.d.ts create mode 100644 node_modules/graphql/jsutils/Path.js create mode 100644 node_modules/graphql/jsutils/Path.mjs create mode 100644 node_modules/graphql/jsutils/PromiseOrValue.d.ts create mode 100644 node_modules/graphql/jsutils/PromiseOrValue.js create mode 100644 node_modules/graphql/jsutils/PromiseOrValue.mjs create mode 100644 node_modules/graphql/jsutils/devAssert.d.ts create mode 100644 node_modules/graphql/jsutils/devAssert.js create mode 100644 node_modules/graphql/jsutils/devAssert.mjs create mode 100644 node_modules/graphql/jsutils/didYouMean.d.ts create mode 100644 node_modules/graphql/jsutils/didYouMean.js create mode 100644 node_modules/graphql/jsutils/didYouMean.mjs create mode 100644 node_modules/graphql/jsutils/groupBy.d.ts create mode 100644 node_modules/graphql/jsutils/groupBy.js create mode 100644 node_modules/graphql/jsutils/groupBy.mjs create mode 100644 node_modules/graphql/jsutils/identityFunc.d.ts create mode 100644 node_modules/graphql/jsutils/identityFunc.js create mode 100644 node_modules/graphql/jsutils/identityFunc.mjs create mode 100644 node_modules/graphql/jsutils/inspect.d.ts create mode 100644 node_modules/graphql/jsutils/inspect.js create mode 100644 node_modules/graphql/jsutils/inspect.mjs create mode 100644 node_modules/graphql/jsutils/instanceOf.d.ts create mode 100644 node_modules/graphql/jsutils/instanceOf.js create mode 100644 node_modules/graphql/jsutils/instanceOf.mjs create mode 100644 node_modules/graphql/jsutils/invariant.d.ts create mode 100644 node_modules/graphql/jsutils/invariant.js create mode 100644 node_modules/graphql/jsutils/invariant.mjs create mode 100644 node_modules/graphql/jsutils/isAsyncIterable.d.ts create mode 100644 node_modules/graphql/jsutils/isAsyncIterable.js create mode 100644 node_modules/graphql/jsutils/isAsyncIterable.mjs create mode 100644 node_modules/graphql/jsutils/isIterableObject.d.ts create mode 100644 node_modules/graphql/jsutils/isIterableObject.js create mode 100644 node_modules/graphql/jsutils/isIterableObject.mjs create mode 100644 node_modules/graphql/jsutils/isObjectLike.d.ts create mode 100644 node_modules/graphql/jsutils/isObjectLike.js create mode 100644 node_modules/graphql/jsutils/isObjectLike.mjs create mode 100644 node_modules/graphql/jsutils/isPromise.d.ts create mode 100644 node_modules/graphql/jsutils/isPromise.js create mode 100644 node_modules/graphql/jsutils/isPromise.mjs create mode 100644 node_modules/graphql/jsutils/keyMap.d.ts create mode 100644 node_modules/graphql/jsutils/keyMap.js create mode 100644 node_modules/graphql/jsutils/keyMap.mjs create mode 100644 node_modules/graphql/jsutils/keyValMap.d.ts create mode 100644 node_modules/graphql/jsutils/keyValMap.js create mode 100644 node_modules/graphql/jsutils/keyValMap.mjs create mode 100644 node_modules/graphql/jsutils/mapValue.d.ts create mode 100644 node_modules/graphql/jsutils/mapValue.js create mode 100644 node_modules/graphql/jsutils/mapValue.mjs create mode 100644 node_modules/graphql/jsutils/memoize3.d.ts create mode 100644 node_modules/graphql/jsutils/memoize3.js create mode 100644 node_modules/graphql/jsutils/memoize3.mjs create mode 100644 node_modules/graphql/jsutils/naturalCompare.d.ts create mode 100644 node_modules/graphql/jsutils/naturalCompare.js create mode 100644 node_modules/graphql/jsutils/naturalCompare.mjs create mode 100644 node_modules/graphql/jsutils/printPathArray.d.ts create mode 100644 node_modules/graphql/jsutils/printPathArray.js create mode 100644 node_modules/graphql/jsutils/printPathArray.mjs create mode 100644 node_modules/graphql/jsutils/promiseForObject.d.ts create mode 100644 node_modules/graphql/jsutils/promiseForObject.js create mode 100644 node_modules/graphql/jsutils/promiseForObject.mjs create mode 100644 node_modules/graphql/jsutils/promiseReduce.d.ts create mode 100644 node_modules/graphql/jsutils/promiseReduce.js create mode 100644 node_modules/graphql/jsutils/promiseReduce.mjs create mode 100644 node_modules/graphql/jsutils/suggestionList.d.ts create mode 100644 node_modules/graphql/jsutils/suggestionList.js create mode 100644 node_modules/graphql/jsutils/suggestionList.mjs create mode 100644 node_modules/graphql/jsutils/toError.d.ts create mode 100644 node_modules/graphql/jsutils/toError.js create mode 100644 node_modules/graphql/jsutils/toError.mjs create mode 100644 node_modules/graphql/jsutils/toObjMap.d.ts create mode 100644 node_modules/graphql/jsutils/toObjMap.js create mode 100644 node_modules/graphql/jsutils/toObjMap.mjs create mode 100644 node_modules/graphql/language/ast.d.ts create mode 100644 node_modules/graphql/language/ast.js create mode 100644 node_modules/graphql/language/ast.mjs create mode 100644 node_modules/graphql/language/blockString.d.ts create mode 100644 node_modules/graphql/language/blockString.js create mode 100644 node_modules/graphql/language/blockString.mjs create mode 100644 node_modules/graphql/language/characterClasses.d.ts create mode 100644 node_modules/graphql/language/characterClasses.js create mode 100644 node_modules/graphql/language/characterClasses.mjs create mode 100644 node_modules/graphql/language/directiveLocation.d.ts create mode 100644 node_modules/graphql/language/directiveLocation.js create mode 100644 node_modules/graphql/language/directiveLocation.mjs create mode 100644 node_modules/graphql/language/index.d.ts create mode 100644 node_modules/graphql/language/index.js create mode 100644 node_modules/graphql/language/index.mjs create mode 100644 node_modules/graphql/language/kinds.d.ts create mode 100644 node_modules/graphql/language/kinds.js create mode 100644 node_modules/graphql/language/kinds.mjs create mode 100644 node_modules/graphql/language/lexer.d.ts create mode 100644 node_modules/graphql/language/lexer.js create mode 100644 node_modules/graphql/language/lexer.mjs create mode 100644 node_modules/graphql/language/location.d.ts create mode 100644 node_modules/graphql/language/location.js create mode 100644 node_modules/graphql/language/location.mjs create mode 100644 node_modules/graphql/language/parser.d.ts create mode 100644 node_modules/graphql/language/parser.js create mode 100644 node_modules/graphql/language/parser.mjs create mode 100644 node_modules/graphql/language/predicates.d.ts create mode 100644 node_modules/graphql/language/predicates.js create mode 100644 node_modules/graphql/language/predicates.mjs create mode 100644 node_modules/graphql/language/printLocation.d.ts create mode 100644 node_modules/graphql/language/printLocation.js create mode 100644 node_modules/graphql/language/printLocation.mjs create mode 100644 node_modules/graphql/language/printString.d.ts create mode 100644 node_modules/graphql/language/printString.js create mode 100644 node_modules/graphql/language/printString.mjs create mode 100644 node_modules/graphql/language/printer.d.ts create mode 100644 node_modules/graphql/language/printer.js create mode 100644 node_modules/graphql/language/printer.mjs create mode 100644 node_modules/graphql/language/schemaCoordinateLexer.d.ts create mode 100644 node_modules/graphql/language/schemaCoordinateLexer.js create mode 100644 node_modules/graphql/language/schemaCoordinateLexer.mjs create mode 100644 node_modules/graphql/language/source.d.ts create mode 100644 node_modules/graphql/language/source.js create mode 100644 node_modules/graphql/language/source.mjs create mode 100644 node_modules/graphql/language/tokenKind.d.ts create mode 100644 node_modules/graphql/language/tokenKind.js create mode 100644 node_modules/graphql/language/tokenKind.mjs create mode 100644 node_modules/graphql/language/visitor.d.ts create mode 100644 node_modules/graphql/language/visitor.js create mode 100644 node_modules/graphql/language/visitor.mjs create mode 100644 node_modules/graphql/package.json create mode 100644 node_modules/graphql/subscription/index.d.ts create mode 100644 node_modules/graphql/subscription/index.js create mode 100644 node_modules/graphql/subscription/index.mjs create mode 100644 node_modules/graphql/type/assertName.d.ts create mode 100644 node_modules/graphql/type/assertName.js create mode 100644 node_modules/graphql/type/assertName.mjs create mode 100644 node_modules/graphql/type/definition.d.ts create mode 100644 node_modules/graphql/type/definition.js create mode 100644 node_modules/graphql/type/definition.mjs create mode 100644 node_modules/graphql/type/directives.d.ts create mode 100644 node_modules/graphql/type/directives.js create mode 100644 node_modules/graphql/type/directives.mjs create mode 100644 node_modules/graphql/type/index.d.ts create mode 100644 node_modules/graphql/type/index.js create mode 100644 node_modules/graphql/type/index.mjs create mode 100644 node_modules/graphql/type/introspection.d.ts create mode 100644 node_modules/graphql/type/introspection.js create mode 100644 node_modules/graphql/type/introspection.mjs create mode 100644 node_modules/graphql/type/scalars.d.ts create mode 100644 node_modules/graphql/type/scalars.js create mode 100644 node_modules/graphql/type/scalars.mjs create mode 100644 node_modules/graphql/type/schema.d.ts create mode 100644 node_modules/graphql/type/schema.js create mode 100644 node_modules/graphql/type/schema.mjs create mode 100644 node_modules/graphql/type/validate.d.ts create mode 100644 node_modules/graphql/type/validate.js create mode 100644 node_modules/graphql/type/validate.mjs create mode 100644 node_modules/graphql/utilities/TypeInfo.d.ts create mode 100644 node_modules/graphql/utilities/TypeInfo.js create mode 100644 node_modules/graphql/utilities/TypeInfo.mjs create mode 100644 node_modules/graphql/utilities/assertValidName.d.ts create mode 100644 node_modules/graphql/utilities/assertValidName.js create mode 100644 node_modules/graphql/utilities/assertValidName.mjs create mode 100644 node_modules/graphql/utilities/astFromValue.d.ts create mode 100644 node_modules/graphql/utilities/astFromValue.js create mode 100644 node_modules/graphql/utilities/astFromValue.mjs create mode 100644 node_modules/graphql/utilities/buildASTSchema.d.ts create mode 100644 node_modules/graphql/utilities/buildASTSchema.js create mode 100644 node_modules/graphql/utilities/buildASTSchema.mjs create mode 100644 node_modules/graphql/utilities/buildClientSchema.d.ts create mode 100644 node_modules/graphql/utilities/buildClientSchema.js create mode 100644 node_modules/graphql/utilities/buildClientSchema.mjs create mode 100644 node_modules/graphql/utilities/coerceInputValue.d.ts create mode 100644 node_modules/graphql/utilities/coerceInputValue.js create mode 100644 node_modules/graphql/utilities/coerceInputValue.mjs create mode 100644 node_modules/graphql/utilities/concatAST.d.ts create mode 100644 node_modules/graphql/utilities/concatAST.js create mode 100644 node_modules/graphql/utilities/concatAST.mjs create mode 100644 node_modules/graphql/utilities/extendSchema.d.ts create mode 100644 node_modules/graphql/utilities/extendSchema.js create mode 100644 node_modules/graphql/utilities/extendSchema.mjs create mode 100644 node_modules/graphql/utilities/findBreakingChanges.d.ts create mode 100644 node_modules/graphql/utilities/findBreakingChanges.js create mode 100644 node_modules/graphql/utilities/findBreakingChanges.mjs create mode 100644 node_modules/graphql/utilities/getIntrospectionQuery.d.ts create mode 100644 node_modules/graphql/utilities/getIntrospectionQuery.js create mode 100644 node_modules/graphql/utilities/getIntrospectionQuery.mjs create mode 100644 node_modules/graphql/utilities/getOperationAST.d.ts create mode 100644 node_modules/graphql/utilities/getOperationAST.js create mode 100644 node_modules/graphql/utilities/getOperationAST.mjs create mode 100644 node_modules/graphql/utilities/getOperationRootType.d.ts create mode 100644 node_modules/graphql/utilities/getOperationRootType.js create mode 100644 node_modules/graphql/utilities/getOperationRootType.mjs create mode 100644 node_modules/graphql/utilities/index.d.ts create mode 100644 node_modules/graphql/utilities/index.js create mode 100644 node_modules/graphql/utilities/index.mjs create mode 100644 node_modules/graphql/utilities/introspectionFromSchema.d.ts create mode 100644 node_modules/graphql/utilities/introspectionFromSchema.js create mode 100644 node_modules/graphql/utilities/introspectionFromSchema.mjs create mode 100644 node_modules/graphql/utilities/lexicographicSortSchema.d.ts create mode 100644 node_modules/graphql/utilities/lexicographicSortSchema.js create mode 100644 node_modules/graphql/utilities/lexicographicSortSchema.mjs create mode 100644 node_modules/graphql/utilities/printSchema.d.ts create mode 100644 node_modules/graphql/utilities/printSchema.js create mode 100644 node_modules/graphql/utilities/printSchema.mjs create mode 100644 node_modules/graphql/utilities/resolveSchemaCoordinate.d.ts create mode 100644 node_modules/graphql/utilities/resolveSchemaCoordinate.js create mode 100644 node_modules/graphql/utilities/resolveSchemaCoordinate.mjs create mode 100644 node_modules/graphql/utilities/separateOperations.d.ts create mode 100644 node_modules/graphql/utilities/separateOperations.js create mode 100644 node_modules/graphql/utilities/separateOperations.mjs create mode 100644 node_modules/graphql/utilities/sortValueNode.d.ts create mode 100644 node_modules/graphql/utilities/sortValueNode.js create mode 100644 node_modules/graphql/utilities/sortValueNode.mjs create mode 100644 node_modules/graphql/utilities/stripIgnoredCharacters.d.ts create mode 100644 node_modules/graphql/utilities/stripIgnoredCharacters.js create mode 100644 node_modules/graphql/utilities/stripIgnoredCharacters.mjs create mode 100644 node_modules/graphql/utilities/typeComparators.d.ts create mode 100644 node_modules/graphql/utilities/typeComparators.js create mode 100644 node_modules/graphql/utilities/typeComparators.mjs create mode 100644 node_modules/graphql/utilities/typeFromAST.d.ts create mode 100644 node_modules/graphql/utilities/typeFromAST.js create mode 100644 node_modules/graphql/utilities/typeFromAST.mjs create mode 100644 node_modules/graphql/utilities/typedQueryDocumentNode.d.ts create mode 100644 node_modules/graphql/utilities/typedQueryDocumentNode.js create mode 100644 node_modules/graphql/utilities/typedQueryDocumentNode.mjs create mode 100644 node_modules/graphql/utilities/valueFromAST.d.ts create mode 100644 node_modules/graphql/utilities/valueFromAST.js create mode 100644 node_modules/graphql/utilities/valueFromAST.mjs create mode 100644 node_modules/graphql/utilities/valueFromASTUntyped.d.ts create mode 100644 node_modules/graphql/utilities/valueFromASTUntyped.js create mode 100644 node_modules/graphql/utilities/valueFromASTUntyped.mjs create mode 100644 node_modules/graphql/validation/ValidationContext.d.ts create mode 100644 node_modules/graphql/validation/ValidationContext.js create mode 100644 node_modules/graphql/validation/ValidationContext.mjs create mode 100644 node_modules/graphql/validation/index.d.ts create mode 100644 node_modules/graphql/validation/index.js create mode 100644 node_modules/graphql/validation/index.mjs create mode 100644 node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js create mode 100644 node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs create mode 100644 node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts create mode 100644 node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js create mode 100644 node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs create mode 100644 node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js create mode 100644 node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs create mode 100644 node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/KnownArgumentNamesRule.js create mode 100644 node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/KnownDirectivesRule.js create mode 100644 node_modules/graphql/validation/rules/KnownDirectivesRule.mjs create mode 100644 node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/KnownFragmentNamesRule.js create mode 100644 node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/KnownTypeNamesRule.js create mode 100644 node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts create mode 100644 node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js create mode 100644 node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs create mode 100644 node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts create mode 100644 node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js create mode 100644 node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs create mode 100644 node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.d.ts create mode 100644 node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js create mode 100644 node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs create mode 100644 node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/NoFragmentCyclesRule.js create mode 100644 node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs create mode 100644 node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js create mode 100644 node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs create mode 100644 node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js create mode 100644 node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs create mode 100644 node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/NoUnusedVariablesRule.js create mode 100644 node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs create mode 100644 node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts create mode 100644 node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js create mode 100644 node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs create mode 100644 node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js create mode 100644 node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs create mode 100644 node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js create mode 100644 node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs create mode 100644 node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js create mode 100644 node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs create mode 100644 node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/ScalarLeafsRule.js create mode 100644 node_modules/graphql/validation/rules/ScalarLeafsRule.mjs create mode 100644 node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts create mode 100644 node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js create mode 100644 node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueOperationNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueOperationTypesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueTypeNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/UniqueVariableNamesRule.js create mode 100644 node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs create mode 100644 node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts create mode 100644 node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js create mode 100644 node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs create mode 100644 node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts create mode 100644 node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js create mode 100644 node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs create mode 100644 node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts create mode 100644 node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js create mode 100644 node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs create mode 100644 node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts create mode 100644 node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js create mode 100644 node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs create mode 100644 node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts create mode 100644 node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js create mode 100644 node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs create mode 100644 node_modules/graphql/validation/specifiedRules.d.ts create mode 100644 node_modules/graphql/validation/specifiedRules.js create mode 100644 node_modules/graphql/validation/specifiedRules.mjs create mode 100644 node_modules/graphql/validation/validate.d.ts create mode 100644 node_modules/graphql/validation/validate.js create mode 100644 node_modules/graphql/validation/validate.mjs create mode 100644 node_modules/graphql/version.d.ts create mode 100644 node_modules/graphql/version.js create mode 100644 node_modules/graphql/version.mjs delete mode 100644 node_modules/js-yaml/CHANGELOG.md create mode 100644 node_modules/tslib/CopyrightNotice.txt create mode 100644 node_modules/tslib/LICENSE.txt create mode 100644 node_modules/tslib/README.md create mode 100644 node_modules/tslib/SECURITY.md create mode 100644 node_modules/tslib/modules/index.d.ts create mode 100644 node_modules/tslib/modules/index.js create mode 100644 node_modules/tslib/modules/package.json create mode 100644 node_modules/tslib/package.json create mode 100644 node_modules/tslib/tslib.d.ts create mode 100644 node_modules/tslib/tslib.es6.html create mode 100644 node_modules/tslib/tslib.es6.js create mode 100644 node_modules/tslib/tslib.es6.mjs create mode 100644 node_modules/tslib/tslib.html create mode 100644 node_modules/tslib/tslib.js rename post-comment/{main.mjs => main.mts} (84%) rename post-comment/{main.test.mjs => main.test.mts} (100%) rename spec-helper.mjs => spec-helper.mts (64%) rename test-reporter.mjs => test-reporter.mts (50%) create mode 100644 tsconfig.json diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f7e4765..9dc72de8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,10 @@ jobs: - name: Setup Node uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: - node-version: '20' + node-version: '24' + + - name: Run type checking + run: npm install && npx tsc - name: Run tests run: npm test -- --experimental-test-coverage --test-reporter lcov --test-reporter-destination lcov.info diff --git a/.github/workflows/vendor-node-modules.yml b/.github/workflows/vendor-node-modules.yml index c787a8f0..0bfed568 100644 --- a/.github/workflows/vendor-node-modules.yml +++ b/.github/workflows/vendor-node-modules.yml @@ -49,9 +49,7 @@ jobs: PR: ${{ github.event.pull_request.number || github.event.inputs.pull_request }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Vendor node_modules - run: | - npm ci --ignore-scripts - rm -r ./node_modules/esm-reload/.github/ + run: npm ci --ignore-scripts --omit=dev - name: Commit changes id: commit run: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..f27e1641 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/node_modules/.bin/ +/node_modules/@tsconfig/ +/node_modules/@types/ +/node_modules/typescript/ +/node_modules/undici-types/ +/node_modules/**/.github/ +/node_modules/**/tests/ diff --git a/api-commit-and-push/action.yml b/api-commit-and-push/action.yml index 3663a78b..77a76ccd 100644 --- a/api-commit-and-push/action.yml +++ b/api-commit-and-push/action.yml @@ -23,5 +23,5 @@ inputs: required: false default: ${{ github.repository }} runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/api-commit-and-push/main.mjs b/api-commit-and-push/main.mts similarity index 87% rename from api-commit-and-push/main.mjs rename to api-commit-and-push/main.mts index ede898b4..123e38cf 100644 --- a/api-commit-and-push/main.mjs +++ b/api-commit-and-push/main.mts @@ -4,6 +4,8 @@ import github from "@actions/github" import fs from "node:fs/promises" import path from "node:path" +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods" + async function main() { const commitMessage = core.getInput("message") const branch = core.getInput("branch") @@ -22,7 +24,7 @@ async function main() { const headCommitSha = (await exec.getExecOutput("git", ["-C", directory, "rev-parse", "HEAD"], { silent: true })).stdout.trim() const headTreeSha = (await exec.getExecOutput("git", ["-C", directory, "rev-parse", "HEAD:"], { silent: true })).stdout.trim() - const tree = {} + const tree: Record = {} for (const file of files) { const absoluteFile = path.resolve(directory, file) @@ -30,9 +32,11 @@ async function main() { try { content = await fs.readFile(absoluteFile, {encoding: "base64"}) } catch (error) { - if (error.code !== "ENOENT") throw error; - - content = null; + if (Error.isError(error) && "code" in error && error.code === "ENOENT") { + content = null + } else { + throw error + } } if (content !== null) { @@ -59,7 +63,7 @@ async function main() { const blobResponse = await client.rest.git.createBlob({ owner: owner, repo: repo, - content: await fs.readFile(absoluteFile, {encoding: "base64"}), + content: content, encoding: "base64" }) diff --git a/api-commit-and-push/main.test.mjs b/api-commit-and-push/main.test.mts similarity index 94% rename from api-commit-and-push/main.test.mjs rename to api-commit-and-push/main.test.mts index c75db54e..e758fd99 100644 --- a/api-commit-and-push/main.test.mjs +++ b/api-commit-and-push/main.test.mts @@ -4,13 +4,15 @@ import os from "node:os" import path from "node:path" import util from "node:util" +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods" + describe("api-commit-and-push", async () => { const token = "fake-token" const branch = "a-branch" const message = "Some message" - let directory - let baseCommitSha - let baseTreeSha + let directory: string + let baseCommitSha: string + let baseTreeSha: string const blobSha = "abcdef1234567890abcdef1234567890abcdef12" const treeSha = "abcdef1234567890abcdef1234567890abcdef13" @@ -70,7 +72,7 @@ describe("api-commit-and-push", async () => { sha: blobSha, }) - const tree = [] + const tree: Array = [] addedFile.split("/").slice(0, -1).reduce((parentPath, component) => { const treePath = path.posix.join(parentPath, component); diff --git a/check-commit-format/action.yml b/check-commit-format/action.yml index 1af3fd3b..7b29db50 100644 --- a/check-commit-format/action.yml +++ b/check-commit-format/action.yml @@ -22,5 +22,5 @@ inputs: required: false default: CI-published-bottle-commits runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/check-commit-format/main.mjs b/check-commit-format/main.mts similarity index 88% rename from check-commit-format/main.mjs rename to check-commit-format/main.mts index b0bc042e..c2a9cc20 100644 --- a/check-commit-format/main.mjs +++ b/check-commit-format/main.mts @@ -1,8 +1,11 @@ +import assert from "node:assert/strict" import core from "@actions/core" import github from "@actions/github" import fs from "fs" import path from "path" +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods" + async function main() { try { const token = core.getInput("token", { required: true }) @@ -13,6 +16,7 @@ async function main() { const client = github.getOctokit(token) // Parse event + assert(process.env.GITHUB_EVENT_PATH) const json = fs.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: "utf-8" }) const event = JSON.parse(json) const pull = event.pull_request @@ -25,9 +29,9 @@ async function main() { let is_success = true let autosquash = false - let commit_state = "success" + let commit_state: RestEndpointMethodTypes["repos"]["createCommitStatus"]["parameters"]["state"] = "success" let message = "Commit format is correct." - let files_touched = [] + let files_touched: Array = [] let target_url = "https://docs.brew.sh/Formula-Cookbook#commit" // For each commit... @@ -47,6 +51,14 @@ async function main() { break } + // Empty commits that are not merge commits are usually a mistake or a bad rebase. + if (!commit_info.data.files || commit_info.data.files.length === 0) { + is_success = false + commit_state = "failure" + message = `${short_sha} is an empty commit.` + break + } + // Autosquash doesn't support commits that modify more than one file. if (commit_info.data.files.length != 1) { is_success = false @@ -72,7 +84,7 @@ async function main() { } const file = commit_info.data.files[0] - const commit_subject = commit_info.data.commit.message.split("\n").shift() + const commit_subject = commit_info.data.commit.message.split("\n")[0] if (file.filename.startsWith("Formula/")) { const formula = path.basename(file.filename, '.rb') @@ -118,11 +130,11 @@ async function main() { }) // Get existing labels on PR - let existingLabels = await client.rest.issues.listLabelsOnIssue({ + let issueLabels = await client.rest.issues.listLabelsOnIssue({ ...github.context.repo, issue_number: pull.number }) - existingLabels = existingLabels.data.map(label => label.name) + let existingLabels = issueLabels.data.map(label => label.name) // Copy labels into new Array const updatedLabels = existingLabels.slice() @@ -167,6 +179,8 @@ async function main() { labels: updatedLabels }) } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error) } } diff --git a/check-commit-format/main.test.mjs b/check-commit-format/main.test.mts similarity index 57% rename from check-commit-format/main.test.mjs rename to check-commit-format/main.test.mts index c74d225a..33379bd6 100644 --- a/check-commit-format/main.test.mjs +++ b/check-commit-format/main.test.mts @@ -28,7 +28,9 @@ describe("check-commit-format", async () => { }) afterEach(() => { - fs.rmSync(path.dirname(process.env.GITHUB_EVENT_PATH), { recursive: true }) + if (process.env.GITHUB_EVENT_PATH) { + fs.rmSync(path.dirname(process.env.GITHUB_EVENT_PATH), { recursive: true }) + } }) describe("on a correct commit", async () => { @@ -132,6 +134,177 @@ describe("check-commit-format", async () => { }) }) + describe("on a merge commit", async () => { + beforeEach(() => { + const mockPool = githubMockPool() + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/pulls/${pr}/commits`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, [ + { + sha: sha, + }, + ]) + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/commits/${sha}`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, { + sha: sha, + parents: [ + { sha: "abcdef1234567890abcdef1234567890abcdef11" }, + { sha: "abcdef1234567890abcdef1234567890abcdef12" } + ], + files: [], + commit: { + message: "Merge commit", + } + }) + + mockPool.intercept({ + method: "POST", + path: `/repos/${GITHUB_REPOSITORY}/statuses/${sha}`, + headers: { + Authorization: `token ${token}`, + }, + body: (body) => util.isDeepStrictEqual(JSON.parse(body), { + state: "failure", + description: `${sha.substring(0, 10)} has 2 parents. Please rebase against origin/HEAD.`, + context: "Commit style", + target_url: "https://docs.brew.sh/Formula-Cookbook#commit" + }), + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, {}) + }) + + it("fails and adds a failure label", async () => { + const mockPool = githubMockPool() + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/issues/${pr}/labels`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, [ + { name: "other-label" }, + ]) + + mockPool.intercept({ + method: "PATCH", + path: `/repos/${GITHUB_REPOSITORY}/issues/${pr}`, + headers: { + Authorization: `token ${token}`, + }, + body: (body) => util.isDeepStrictEqual(JSON.parse(body), { + labels: ["other-label", failureLabel], + }), + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, {}) + + await loadMain() + }) + }) + + describe("on an empty commit", async () => { + beforeEach(() => { + const mockPool = githubMockPool() + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/pulls/${pr}/commits`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, [ + { + sha: sha, + }, + ]) + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/commits/${sha}`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, { + sha: sha, + parents: [{ sha: "abcdef1234567890abcdef1234567890abcdef11" }], + files: [], + commit: { + message: "Empty commit", + } + }) + + mockPool.intercept({ + method: "POST", + path: `/repos/${GITHUB_REPOSITORY}/statuses/${sha}`, + headers: { + Authorization: `token ${token}`, + }, + body: (body) => util.isDeepStrictEqual(JSON.parse(body), { + state: "failure", + description: `${sha.substring(0, 10)} is an empty commit.`, + context: "Commit style", + target_url: "https://docs.brew.sh/Formula-Cookbook#commit" + }), + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, {}) + }) + + it("fails and adds a failure label", async () => { + const mockPool = githubMockPool() + + mockPool.intercept({ + method: "GET", + path: `/repos/${GITHUB_REPOSITORY}/issues/${pr}/labels`, + headers: { + Authorization: `token ${token}`, + }, + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, [ + { name: "other-label" }, + ]) + + mockPool.intercept({ + method: "PATCH", + path: `/repos/${GITHUB_REPOSITORY}/issues/${pr}`, + headers: { + Authorization: `token ${token}`, + }, + body: (body) => util.isDeepStrictEqual(JSON.parse(body), { + labels: ["other-label", failureLabel], + }), + }).defaultReplyHeaders({ + "Content-Type": "application/json", + }).reply(200, {}) + + await loadMain() + }) + }) + describe("on an autosquashable incorrect commit", async () => { beforeEach(() => { const mockPool = githubMockPool() diff --git a/check-commit-format/package.json b/check-commit-format/package.json index 80e7206f..d3925109 100644 --- a/check-commit-format/package.json +++ b/check-commit-format/package.json @@ -1,4 +1,4 @@ { "name": "check-commit-format", - "main": "main.mjs" + "main": "main.mts" } diff --git a/create-or-update-issue/action.yml b/create-or-update-issue/action.yml index 0fa925df..d42e5164 100644 --- a/create-or-update-issue/action.yml +++ b/create-or-update-issue/action.yml @@ -62,5 +62,5 @@ outputs: The node ID of the created or updated issue, used in GitHub GraphQL API queries; undefined if `outcome` is `none` runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/create-or-update-issue/main.mjs b/create-or-update-issue/main.mts similarity index 94% rename from create-or-update-issue/main.mjs rename to create-or-update-issue/main.mts index 799d75b0..76a8236f 100644 --- a/create-or-update-issue/main.mjs +++ b/create-or-update-issue/main.mts @@ -1,6 +1,8 @@ import core from "@actions/core"; import github from "@actions/github"; +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; + async function main() { try { const token = core.getInput("token", { required: true }); @@ -24,7 +26,7 @@ async function main() { let existingIssue = undefined; if (updateExisting || closeExisting) { - const params = { + const params: RestEndpointMethodTypes["issues"]["listForRepo"]["parameters"] = { owner, repo, state: "open", @@ -116,6 +118,8 @@ async function main() { core.setOutput("number", issueNumber); core.setOutput("node_id", issueNodeId); } catch (error) { + if (!Error.isError(error)) throw error; + core.setFailed(error); } } diff --git a/create-or-update-issue/main.test.mjs b/create-or-update-issue/main.test.mts similarity index 100% rename from create-or-update-issue/main.test.mjs rename to create-or-update-issue/main.test.mts diff --git a/create-pull-request/action.yml b/create-pull-request/action.yml index ea2059e5..a9441a5d 100644 --- a/create-pull-request/action.yml +++ b/create-pull-request/action.yml @@ -32,5 +32,5 @@ inputs: description: Comma-separated list of reviewers to request on the pull request required: false runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/create-pull-request/main.mjs b/create-pull-request/main.mts similarity index 87% rename from create-pull-request/main.mjs rename to create-pull-request/main.mts index 6b465355..2c6a3d40 100644 --- a/create-pull-request/main.mjs +++ b/create-pull-request/main.mts @@ -1,6 +1,8 @@ import core from "@actions/core" import github from "@actions/github" +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods" + async function main() { try { const token = core.getInput("token", { required: true }) @@ -18,7 +20,7 @@ async function main() { const client = github.getOctokit(token) - let prRequest = { owner, repo, head, base } + let prRequest: RestEndpointMethodTypes["pulls"]["create"]["parameters"] = { owner, repo, head, base } if (title) { prRequest.title = title } @@ -58,6 +60,8 @@ async function main() { core.setOutput("number", prNumber) core.setOutput("node_id", prNodeId) } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error) } } diff --git a/create-pull-request/main.test.mjs b/create-pull-request/main.test.mts similarity index 100% rename from create-pull-request/main.test.mjs rename to create-pull-request/main.test.mts diff --git a/dismiss-approvals/action.yml b/dismiss-approvals/action.yml index 04f72e97..356d422f 100644 --- a/dismiss-approvals/action.yml +++ b/dismiss-approvals/action.yml @@ -16,5 +16,5 @@ inputs: description: Dismissal message required: true runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/dismiss-approvals/main.mjs b/dismiss-approvals/main.mts similarity index 88% rename from dismiss-approvals/main.mjs rename to dismiss-approvals/main.mts index 787eda04..474450fe 100644 --- a/dismiss-approvals/main.mjs +++ b/dismiss-approvals/main.mts @@ -4,7 +4,7 @@ import github from "@actions/github" async function main() { try { const token = core.getInput("token", { required: true }) - const pr = core.getInput("pr", { required: true }) + const pr = parseInt(core.getInput("pr", { required: true }), 10) const message = core.getInput("message", { required: true }) const client = github.getOctokit(token) @@ -28,6 +28,8 @@ async function main() { }); } } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error) } } diff --git a/dismiss-approvals/main.test.mjs b/dismiss-approvals/main.test.mts similarity index 100% rename from dismiss-approvals/main.test.mjs rename to dismiss-approvals/main.test.mts diff --git a/dismiss-approvals/package.json b/dismiss-approvals/package.json index aaecfcf4..39aefeaf 100644 --- a/dismiss-approvals/package.json +++ b/dismiss-approvals/package.json @@ -1,4 +1,4 @@ { "name": "dismiss-approvals", - "main": "main.mjs" + "main": "main.mts" } diff --git a/find-related-workflow-run-id/action.yml b/find-related-workflow-run-id/action.yml index ed9e12b1..6a3d909f 100644 --- a/find-related-workflow-run-id/action.yml +++ b/find-related-workflow-run-id/action.yml @@ -21,5 +21,5 @@ outputs: ID of the related workflow run. Also available as `env.workflow_run_id`. runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/find-related-workflow-run-id/main.mjs b/find-related-workflow-run-id/main.mts similarity index 79% rename from find-related-workflow-run-id/main.mjs rename to find-related-workflow-run-id/main.mts index 41f8f907..7937f48e 100644 --- a/find-related-workflow-run-id/main.mjs +++ b/find-related-workflow-run-id/main.mts @@ -1,6 +1,8 @@ import core from "@actions/core"; import github from "@actions/github"; +import type { WorkflowRun } from "@octokit/graphql-schema"; + async function main() { try { const runId = core.getInput("run-id", { required: true }); @@ -12,7 +14,7 @@ async function main() { const serverUrl = github.context.serverUrl; const runUrl = `${serverUrl}/${repository}/actions/runs/${runId}`; - const response = await client.graphql( + const response = await client.graphql<{ resource: WorkflowRun }>( ` query($runUrl: URI!) { resource(url: $runUrl) { @@ -39,10 +41,10 @@ async function main() { ); const relatedRunId = - response.resource.checkSuite.commit.checkSuites.nodes - .reverse() - .find(node => node.workflowRun?.workflow.name === workflowName) - ?.workflowRun.databaseId; + response.resource.checkSuite.commit.checkSuites?.nodes + ?.reverse() + .find(node => node?.workflowRun?.workflow.name === workflowName) + ?.workflowRun?.databaseId; if (relatedRunId === undefined) { core.setFailed(`No related run found for workflow ${workflowName}`); @@ -52,6 +54,8 @@ async function main() { core.setOutput("workflow-run-id", relatedRunId); core.exportVariable("workflow_run_id", relatedRunId); } catch (error) { + if (!Error.isError(error)) throw error; + core.setFailed(error.message); } } diff --git a/find-related-workflow-run-id/main.test.mjs b/find-related-workflow-run-id/main.test.mts similarity index 100% rename from find-related-workflow-run-id/main.test.mjs rename to find-related-workflow-run-id/main.test.mts diff --git a/git-try-push/action.yml b/git-try-push/action.yml index ec253dd7..0049b14c 100644 --- a/git-try-push/action.yml +++ b/git-try-push/action.yml @@ -36,5 +36,5 @@ inputs: description: Whether to force push without lease (requires force) required: false runs: - using: node20 - main: main.js + using: node24 + main: main.mts diff --git a/git-try-push/main.js b/git-try-push/main.mts similarity index 90% rename from git-try-push/main.js rename to git-try-push/main.mts index d379b827..2351274f 100644 --- a/git-try-push/main.js +++ b/git-try-push/main.mts @@ -1,5 +1,5 @@ -const core = require('@actions/core') -const exec = require('@actions/exec') +import core from "@actions/core" +import exec from "@actions/exec" async function main() { try { @@ -7,7 +7,7 @@ async function main() { const directory = core.getInput("directory") const remote = core.getInput("remote", { required: true }) const branch = core.getInput("branch", { required: true }) - const tries = core.getInput("tries", { required: true }) + const tries = parseInt(core.getInput("tries", { required: true }), 10) const remote_branch = core.getInput("remote_branch") || branch const origin_branch = core.getInput("origin_branch") || remote_branch const force = String(core.getInput("force")) == "true" @@ -70,14 +70,14 @@ async function main() { // Push failed. Wait some time (with an exponential backoff), pull changes with rebasing // and try again. const delay = 2 ** i - await exec.exec("sleep", [delay]) + await exec.exec("sleep", [delay.toString()]) // `git pull` can also fail, so do the same retry procedure here. for (let j = 0; j < tries; j++) { try { await exec.exec(git, ["pull", "--rebase", "--autostash", remote, origin_branch]) break } catch (error) { - await exec.exec("sleep", [delay]) + await exec.exec("sleep", [delay.toString()]) } } } @@ -86,8 +86,10 @@ async function main() { // This should never be reached. throw new Error("Max tries reached") } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error.message) } } -main() +await main() diff --git a/git-try-push/package.json b/git-try-push/package.json index 8710bd8c..ff73965d 100644 --- a/git-try-push/package.json +++ b/git-try-push/package.json @@ -1,4 +1,4 @@ { "name": "git-try-push", - "main": "main.js" + "main": "main.mts" } diff --git a/git-user-config/action.yml b/git-user-config/action.yml index f2a37312..09ed5fa5 100644 --- a/git-user-config/action.yml +++ b/git-user-config/action.yml @@ -19,5 +19,5 @@ outputs: email: description: Configured git user's email runs: - using: node20 - main: main.js + using: node24 + main: main.mts diff --git a/git-user-config/main.js b/git-user-config/main.mts similarity index 82% rename from git-user-config/main.js rename to git-user-config/main.mts index 7f9051d4..ecec0027 100644 --- a/git-user-config/main.js +++ b/git-user-config/main.mts @@ -1,6 +1,6 @@ -const core = require('@actions/core') -const github = require('@actions/github') -const exec = require('@actions/exec') +import core from "@actions/core" +import github from "@actions/github" +import exec from "@actions/exec" async function main() { try { @@ -21,8 +21,10 @@ async function main() { await exec.exec("git", ["config", "--global", "user.name", name]) await exec.exec("git", ["config", "--global", "user.email", email]) } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error.message) } } -main() +await main() diff --git a/git-user-config/package.json b/git-user-config/package.json index cb67d3de..92fe1ee5 100644 --- a/git-user-config/package.json +++ b/git-user-config/package.json @@ -1,4 +1,4 @@ { "name": "git-user-config", - "main": "main.js" + "main": "main.mts" } diff --git a/label-pull-requests/action.yml b/label-pull-requests/action.yml index bfad95e9..2c56ad1c 100644 --- a/label-pull-requests/action.yml +++ b/label-pull-requests/action.yml @@ -78,5 +78,5 @@ inputs: required: true runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/label-pull-requests/main.mjs b/label-pull-requests/main.mts similarity index 82% rename from label-pull-requests/main.mjs rename to label-pull-requests/main.mts index fd580c5e..ad0e69db 100644 --- a/label-pull-requests/main.mjs +++ b/label-pull-requests/main.mts @@ -1,17 +1,36 @@ +import assert from "node:assert/strict" import core from "@actions/core" import github from "@actions/github" import fs from "fs" import yaml from "js-yaml" +import type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods" + +type Constraint = { + label: string, + status?: "added" | "modified" | "removed", + path?: string | Array, + except?: string | Array, + content?: string | Array, + patch_content?: string | Array, + missing_content?: string | Array, + pr_body_content?: string, + keep_if_no_match?: boolean, + allow_any_match?: boolean, + wanted?: boolean +} + +type FileWithContent = RestEndpointMethodTypes["pulls"]["listFiles"]["response"]["data"][number] & { content?: string } + async function main() { try { const token = core.getInput("token", { required: true }) const def = core.getInput("def", { required: true }) // Parse definition - let constraints + let constraints: Array try { - constraints = yaml.load(def) + constraints = yaml.load(def) as Array } catch { constraints = JSON.parse(def) } @@ -28,12 +47,13 @@ async function main() { const client = github.getOctokit(token) // Parse event + assert(process.env.GITHUB_EVENT_PATH) const json = fs.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: "utf-8" }) const event = JSON.parse(json) const pull = event.pull_request // Fetch PR files - const files = await client.rest.pulls.listFiles({ + const { data: files }: { data: FileWithContent[] } = await client.rest.pulls.listFiles({ ...github.context.repo, pull_number: pull.number }) @@ -45,7 +65,7 @@ async function main() { }) // Extend every file object with its content - for (const file of files.data) { + for (const file of files) { // Only match added/removed lines file.patch = (file.patch || "") .split("\n") @@ -54,7 +74,6 @@ async function main() { // File object could have this field set as 'null' if (!file.sha) { - file.content = "" continue } @@ -65,24 +84,24 @@ async function main() { }) // Decode received base64-encoded file content - const buffer = Buffer.from(blob.data.content, blob.data.encoding) + const buffer = Buffer.from(blob.data.content, blob.data.encoding as BufferEncoding) const content = buffer.toString('ascii') file.content = content } // Get existing labels on PR - let existingLabels = await client.rest.issues.listLabelsOnIssue({ + let issueLabels = await client.rest.issues.listLabelsOnIssue({ ...github.context.repo, issue_number: pull.number }) - existingLabels = existingLabels.data.map(label => label.name) + let existingLabels = issueLabels.data.map(label => label.name) // Map constraint to an array of matching files objects const constraintToMatchingFiles = new Map() // Match files with given constraints - for (const file of files.data) { + for (const file of files) { for (const constraint of constraints) { // Constraints that check the PR body are checked separately if (constraint.pr_body_content) { @@ -143,7 +162,7 @@ async function main() { continue } - if (matchingFiles.length == files.data.length) { + if (matchingFiles.length == files.length) { continue } @@ -165,7 +184,7 @@ async function main() { } if (body) { - constraintApplies = body.match(constraint.pr_body_content) + constraintApplies = RegExp(constraint.pr_body_content).test(body) } if (labelExists && constraintApplies) { @@ -221,11 +240,13 @@ async function main() { labels: updatedLabels }) } catch (error) { + if (!Error.isError(error)) throw error + core.setFailed(error) } } -function doesConstraintApply(constraint, file) { +function doesConstraintApply(constraint: Constraint, file: FileWithContent): boolean { if (constraint.status && file.status != constraint.status) { return false } @@ -260,11 +281,11 @@ function doesConstraintApply(constraint, file) { if (constraint.content) { if (Array.isArray(constraint.content)) { for (const content of constraint.content) { - if (!file.content.match(content)) { + if (!RegExp(content).test(file.content || "")) { return false } } - } else if (!file.content.match(constraint.content)) { + } else if (!RegExp(constraint.content).test(file.content || "")) { return false } } @@ -272,11 +293,11 @@ function doesConstraintApply(constraint, file) { if (constraint.patch_content) { if (Array.isArray(constraint.patch_content)) { for (const patchContent of constraint.patch_content) { - if (!file.patch.match(patchContent)) { + if (!RegExp(patchContent).test(file.patch || "")) { return false } } - } else if (!file.patch.match(constraint.patch_content)) { + } else if (!RegExp(constraint.patch_content).test(file.patch || "")) { return false } } @@ -289,11 +310,11 @@ function doesConstraintApply(constraint, file) { if (Array.isArray(constraint.missing_content)) { for (const content of constraint.missing_content) { - if (file.content.match(content)) { + if (RegExp(content).test(file.content || "")) { return false } } - } else if (file.content.match(constraint.missing_content)) { + } else if (RegExp(constraint.missing_content).test(file.content || "")) { return false } } diff --git a/label-pull-requests/main.test.mjs b/label-pull-requests/main.test.mts similarity index 98% rename from label-pull-requests/main.test.mjs rename to label-pull-requests/main.test.mts index 1adbe9ab..49381c62 100644 --- a/label-pull-requests/main.test.mjs +++ b/label-pull-requests/main.test.mts @@ -24,7 +24,9 @@ describe("label-pull-requests", async () => { }) afterEach(() => { - fs.rmSync(path.dirname(process.env.GITHUB_EVENT_PATH), { recursive: true }) + if (process.env.GITHUB_EVENT_PATH) { + fs.rmSync(path.dirname(process.env.GITHUB_EVENT_PATH), { recursive: true }) + } }) describe("correctly labels", async () => { diff --git a/label-pull-requests/package.json b/label-pull-requests/package.json index 5c122670..94cd7b7d 100644 --- a/label-pull-requests/package.json +++ b/label-pull-requests/package.json @@ -1,4 +1,4 @@ { "name": "label-pull-requests", - "main": "main.mjs" + "main": "main.mts" } diff --git a/limit-pull-requests/action.yml b/limit-pull-requests/action.yml index cd9d8d7f..aa33ec5a 100644 --- a/limit-pull-requests/action.yml +++ b/limit-pull-requests/action.yml @@ -39,5 +39,5 @@ inputs: default: "false" runs: - using: node20 - main: main.mjs + using: node24 + main: main.mts diff --git a/limit-pull-requests/main.mjs b/limit-pull-requests/main.mts similarity index 82% rename from limit-pull-requests/main.mjs rename to limit-pull-requests/main.mts index 99f7fa13..c2bd521a 100644 --- a/limit-pull-requests/main.mjs +++ b/limit-pull-requests/main.mts @@ -19,9 +19,9 @@ async function main() { const exceptAuthorAssocs = exceptAuthorAssocsInput ? exceptAuthorAssocsInput.split(",") : []; - const commentLimit = core.getInput("comment-limit"); + const commentLimit = parseInt(core.getInput("comment-limit"), 10); const comment = core.getInput("comment"); - const closeLimit = core.getInput("close-limit"); + const closeLimit = parseInt(core.getInput("close-limit"), 10); const close = core.getBooleanInput("close"); if (!comment && !close) { @@ -33,7 +33,7 @@ async function main() { return; } if (exceptAuthorAssocs.includes( - github.context.payload.pull_request.author_association)) { + github.context.payload.pull_request!.author_association)) { core.info(`@${github.context.actor} is exempted from the limit.`); return; } @@ -45,14 +45,14 @@ async function main() { per_page: 100, }); const prCount = openPrs - .filter(pr => pr.user.login === github.context.actor) + .filter(pr => pr.user?.login === github.context.actor) .length; core.info(`@${github.context.actor} has ${prCount} open PR(s).`); if (comment && prCount >= commentLimit) { await client.rest.issues.createComment({ ...github.context.repo, - issue_number: github.context.payload.pull_request.number, + issue_number: github.context.payload.pull_request!.number, body: comment, }); core.notice(`Soft limit reached; commented on PR.`); @@ -61,12 +61,14 @@ async function main() { if (close && prCount >= closeLimit) { await client.rest.pulls.update({ ...github.context.repo, - pull_number: github.context.payload.pull_request.number, + pull_number: github.context.payload.pull_request!.number, state: "closed", }); core.notice(`Hard limit reached; closed PR.`); } } catch (error) { + if (!Error.isError(error)) throw error; + core.setFailed(error); } } diff --git a/limit-pull-requests/main.test.mjs b/limit-pull-requests/main.test.mts similarity index 99% rename from limit-pull-requests/main.test.mjs rename to limit-pull-requests/main.test.mts index 7ea1eac4..1bdc238d 100644 --- a/limit-pull-requests/main.test.mjs +++ b/limit-pull-requests/main.test.mts @@ -16,7 +16,7 @@ describe("limit-pull-requests", async () => { const GITHUB_ACTOR = "fake-actor"; const GITHUB_EVENT_NAME = "pull_request_target"; - let directory; + let directory: string; let eventPath; before(async () => { diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010d..00000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 4f8205fd..424e2a14 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -4,29 +4,31 @@ "requires": true, "packages": { "node_modules/@actions/core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", - "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.2.tgz", + "integrity": "sha512-Ast1V7yHbGAhplAsuVlnb/5J8Mtr/Zl6byPPL+Qjq3lmfIgWF1ak1iYfF/079cRERiuTALTXkSuEUdZeDCfGtA==", + "license": "MIT", "dependencies": { - "@actions/exec": "^1.1.1", - "@actions/http-client": "^2.0.1" + "@actions/exec": "^2.0.0", + "@actions/http-client": "^3.0.1" } }, "node_modules/@actions/exec": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", - "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-2.0.0.tgz", + "integrity": "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw==", + "license": "MIT", "dependencies": { - "@actions/io": "^1.0.1" + "@actions/io": "^2.0.0" } }, "node_modules/@actions/github": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.1.tgz", - "integrity": "sha512-xbZVcaqD4XnQAe35qSQqskb3SqIAfRyLBrHMd/8TuL7hJSz2QtbDwnNM8zWx4zO5l2fnGtseNE3MbEvD7BxVMw==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-7.0.0.tgz", + "integrity": "sha512-PyGODO938aoBTZd/IfN/+e+Pd5hUcVpyf+thm4CPESLeqhdSkq5QwMTGX9v84XHE1ifmHWBQ60KB8kIgm96opw==", "license": "MIT", "dependencies": { - "@actions/http-client": "^2.2.0", + "@actions/http-client": "^3.0.1", "@octokit/core": "^5.0.1", "@octokit/plugin-paginate-rest": "^9.2.2", "@octokit/plugin-rest-endpoint-methods": "^10.4.0", @@ -36,23 +38,26 @@ } }, "node_modules/@actions/http-client": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", - "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-3.0.1.tgz", + "integrity": "sha512-SbGS8c/vySbNO3kjFgSW77n83C4MQx/Yoe+b1hAdpuvfHxnkHzDq2pWljUpAA56Si1Gae/7zjeZsV0CYjmLo/w==", + "license": "MIT", "dependencies": { "tunnel": "^0.0.6", - "undici": "^5.25.4" + "undici": "^5.28.5" } }, "node_modules/@actions/io": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", - "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-2.0.0.tgz", + "integrity": "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg==", + "license": "MIT" }, "node_modules/@fastify/busboy": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "license": "MIT", "engines": { "node": ">=14" } @@ -61,14 +66,15 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", + "license": "MIT", "engines": { "node": ">= 18" } }, "node_modules/@octokit/core": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.1.tgz", - "integrity": "sha512-dKYCMuPO1bmrpuogcjQ8z7ICCH3FP6WmxpwC03yjzGfZhj9fTJg6+bS1+UAplekbN2C+M61UNllGOOoAfGCrdQ==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.2.tgz", + "integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==", "license": "MIT", "dependencies": { "@octokit/auth-token": "^4.0.0", @@ -83,19 +89,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/core/node_modules/@octokit/openapi-types": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" - }, - "node_modules/@octokit/core/node_modules/@octokit/types": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", - "dependencies": { - "@octokit/openapi-types": "^22.2.0" - } - }, "node_modules/@octokit/endpoint": { "version": "9.0.6", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.6.tgz", @@ -109,19 +102,6 @@ "node": ">= 18" } }, - "node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" - }, - "node_modules/@octokit/endpoint/node_modules/@octokit/types": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", - "dependencies": { - "@octokit/openapi-types": "^22.2.0" - } - }, "node_modules/@octokit/graphql": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.1.tgz", @@ -136,19 +116,22 @@ "node": ">= 18" } }, - "node_modules/@octokit/graphql/node_modules/@octokit/openapi-types": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" - }, - "node_modules/@octokit/graphql/node_modules/@octokit/types": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", + "node_modules/@octokit/graphql-schema": { + "version": "15.26.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql-schema/-/graphql-schema-15.26.1.tgz", + "integrity": "sha512-RFDC2MpRBd4AxSRvUeBIVeBU7ojN/SxDfALUd7iVYOSeEK3gZaqR2MGOysj4Zh2xj2RY5fQAUT+Oqq7hWTraMA==", + "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^22.2.0" + "graphql": "^16.0.0", + "graphql-tag": "^2.10.3" } }, + "node_modules/@octokit/openapi-types": { + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", + "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", + "license": "MIT" + }, "node_modules/@octokit/plugin-paginate-rest": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.2.tgz", @@ -164,10 +147,26 @@ "@octokit/core": "5" } }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, "node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "10.4.1", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz", "integrity": "sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==", + "license": "MIT", "dependencies": { "@octokit/types": "^12.6.0" }, @@ -178,6 +177,21 @@ "@octokit/core": "5" } }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", + "license": "MIT" + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, "node_modules/@octokit/request": { "version": "8.4.1", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.1.tgz", @@ -207,69 +221,99 @@ "node": ">= 18" } }, - "node_modules/@octokit/request-error/node_modules/@octokit/openapi-types": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" - }, - "node_modules/@octokit/request-error/node_modules/@octokit/types": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", - "dependencies": { - "@octokit/openapi-types": "^22.2.0" - } - }, - "node_modules/@octokit/request/node_modules/@octokit/openapi-types": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" - }, - "node_modules/@octokit/request/node_modules/@octokit/types": { - "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", + "node_modules/@octokit/types": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", + "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", + "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^22.2.0" + "@octokit/openapi-types": "^24.2.0" } }, - "node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "node_modules/@tsconfig/node-ts": { + "version": "23.6.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node-ts/-/node-ts-23.6.2.tgz", + "integrity": "sha512-WcU3KR3tHB8XMotRBpUEGfPLT3W0gAhrHcTxU7mNQ4N1+fwF3LbjpWP07TuhZtN5ehK3bcK/R4Zzqp7Pqd7Nqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node24": { + "version": "24.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node24/-/node24-24.0.4.tgz", + "integrity": "sha512-2A933l5P5oCbv6qSxHs7ckKwobs8BDAe9SJ/Xr2Hy+nDlwmLE1GhFh/g/vXGRZWgxBg9nX/5piDtHR9Dkw/XuA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/js-yaml": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz", + "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "24.10.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.9.tgz", + "integrity": "sha512-ne4A0IpG3+2ETuREInjPNhUGis1SFjv1d5asp8MzEAGtOZeTeHVDOYqOgqfhvseqg/iXty2hjBf1zAOb7RNiNw==", + "dev": true, + "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "undici-types": "~7.16.0" } }, - "node_modules/@octokit/types/node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", + "license": "Apache-2.0" }, "node_modules/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "license": "ISC" }, "node_modules/esm-reload": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/esm-reload/-/esm-reload-1.0.1.tgz", - "integrity": "sha512-kQUtZmuj3QutOF+zj3nJboc8PDdxjIwz1FF3hgCgGcxXwj0x/oBzIww0wH1RY5paehQdnnp6/ZeNmMSbLZ7cgA==" + "integrity": "sha512-kQUtZmuj3QutOF+zj3nJboc8PDdxjIwz1FF3hgCgGcxXwj0x/oBzIww0wH1RY5paehQdnnp6/ZeNmMSbLZ7cgA==", + "license": "ISC" + }, + "node_modules/graphql": { + "version": "16.12.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.12.0.tgz", + "integrity": "sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==", + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + } + }, + "node_modules/graphql-tag": { + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz", + "integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -281,18 +325,40 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, "node_modules/tunnel": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "license": "MIT", "engines": { "node": ">=0.6.11 <=0.7.0 || >=0.7.3" } }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/undici": { "version": "5.29.0", "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", @@ -305,15 +371,24 @@ "node": ">=14.0" } }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" + }, "node_modules/universal-user-agent": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", - "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==", + "license": "ISC" }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" } } } diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md index ac8ced92..f24e9f43 100644 --- a/node_modules/@actions/core/README.md +++ b/node_modules/@actions/core/README.md @@ -16,7 +16,7 @@ import * as core from '@actions/core'; #### Inputs/Outputs -Action inputs can be read with `getInput` which returns a `string` or `getBooleanInput` which parses a boolean based on the [yaml 1.2 specification](https://yaml.org/spec/1.2/spec.html#id2804923). If `required` set to be false, the input should have a default value in `action.yml`. +Action inputs can be read with `getInput` which returns a `string` or `getBooleanInput` which parses a boolean based on the [yaml 1.2 specification](https://yaml.org/spec/1.2/spec.html#id2804923). If `required` is set to be false, the input should have a default value in `action.yml`. Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled. diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts index 53f8f4b8..290e402a 100644 --- a/node_modules/@actions/core/lib/command.d.ts +++ b/node_modules/@actions/core/lib/command.d.ts @@ -2,14 +2,37 @@ export interface CommandProperties { [key: string]: any; } /** - * Commands + * Issues a command to the GitHub Actions runner + * + * @param command - The command name to issue + * @param properties - Additional properties for the command (key-value pairs) + * @param message - The message to include with the command + * @remarks + * This function outputs a specially formatted string to stdout that the Actions + * runner interprets as a command. These commands can control workflow behavior, + * set outputs, create annotations, mask values, and more. * * Command Format: * ::name key=value,key=value::message * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value + * @example + * ```typescript + * // Issue a warning annotation + * issueCommand('warning', {}, 'This is a warning message'); + * // Output: ::warning::This is a warning message + * + * // Set an environment variable + * issueCommand('set-env', { name: 'MY_VAR' }, 'some value'); + * // Output: ::set-env name=MY_VAR::some value + * + * // Add a secret mask + * issueCommand('add-mask', {}, 'secretValue123'); + * // Output: ::add-mask::secretValue123 + * ``` + * + * @internal + * This is an internal utility function that powers the public API functions + * such as setSecret, warning, error, and exportVariable. */ export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; export declare function issue(name: string, message?: string): void; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js index 728a0149..b2a8c697 100644 --- a/node_modules/@actions/core/lib/command.js +++ b/node_modules/@actions/core/lib/command.js @@ -15,36 +15,68 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.issue = exports.issueCommand = void 0; +exports.issueCommand = issueCommand; +exports.issue = issue; const os = __importStar(require("os")); const utils_1 = require("./utils"); /** - * Commands + * Issues a command to the GitHub Actions runner + * + * @param command - The command name to issue + * @param properties - Additional properties for the command (key-value pairs) + * @param message - The message to include with the command + * @remarks + * This function outputs a specially formatted string to stdout that the Actions + * runner interprets as a command. These commands can control workflow behavior, + * set outputs, create annotations, mask values, and more. * * Command Format: * ::name key=value,key=value::message * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value + * @example + * ```typescript + * // Issue a warning annotation + * issueCommand('warning', {}, 'This is a warning message'); + * // Output: ::warning::This is a warning message + * + * // Set an environment variable + * issueCommand('set-env', { name: 'MY_VAR' }, 'some value'); + * // Output: ::set-env name=MY_VAR::some value + * + * // Add a secret mask + * issueCommand('add-mask', {}, 'secretValue123'); + * // Output: ::add-mask::secretValue123 + * ``` + * + * @internal + * This is an internal utility function that powers the public API functions + * such as setSecret, warning, error, and exportVariable. */ function issueCommand(command, properties, message) { const cmd = new Command(command, properties, message); process.stdout.write(cmd.toString() + os.EOL); } -exports.issueCommand = issueCommand; function issue(name, message = '') { issueCommand(name, {}, message); } -exports.issue = issue; const CMD_STRING = '::'; class Command { constructor(command, properties, message) { diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map index 476bcf64..75ef7457 100644 --- a/node_modules/@actions/core/lib/command.js.map +++ b/node_modules/@actions/core/lib/command.js.map @@ -1 +1 @@ -{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,mCAAsC;AAWtC;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,K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AC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,IAAA,sBAAc,EAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts index a0803d7a..3c50c320 100644 --- a/node_modules/@actions/core/lib/core.d.ts +++ b/node_modules/@actions/core/lib/core.d.ts @@ -59,7 +59,32 @@ export interface AnnotationProperties { export declare function exportVariable(name: string, val: any): void; /** * Registers a secret which will get masked from logs - * @param secret value of the secret + * + * @param secret - Value of the secret to be masked + * @remarks + * This function instructs the Actions runner to mask the specified value in any + * logs produced during the workflow run. Once registered, the secret value will + * be replaced with asterisks (***) whenever it appears in console output, logs, + * or error messages. + * + * This is useful for protecting sensitive information such as: + * - API keys + * - Access tokens + * - Authentication credentials + * - URL parameters containing signatures (SAS tokens) + * + * Note that masking only affects future logs; any previous appearances of the + * secret in logs before calling this function will remain unmasked. + * + * @example + * ```typescript + * // Register an API token as a secret + * const apiToken = "abc123xyz456"; + * setSecret(apiToken); + * + * // Now any logs containing this value will show *** instead + * console.log(`Using token: ${apiToken}`); // Outputs: "Using token: ***" + * ``` */ export declare function setSecret(secret: string): void; /** diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js index 8f85466d..6ad8ee26 100644 --- a/node_modules/@actions/core/lib/core.js +++ b/node_modules/@actions/core/lib/core.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -32,7 +42,28 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; +exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.ExitCode = void 0; +exports.exportVariable = exportVariable; +exports.setSecret = setSecret; +exports.addPath = addPath; +exports.getInput = getInput; +exports.getMultilineInput = getMultilineInput; +exports.getBooleanInput = getBooleanInput; +exports.setOutput = setOutput; +exports.setCommandEcho = setCommandEcho; +exports.setFailed = setFailed; +exports.isDebug = isDebug; +exports.debug = debug; +exports.error = error; +exports.warning = warning; +exports.notice = notice; +exports.info = info; +exports.startGroup = startGroup; +exports.endGroup = endGroup; +exports.group = group; +exports.saveState = saveState; +exports.getState = getState; +exports.getIDToken = getIDToken; const command_1 = require("./command"); const file_command_1 = require("./file-command"); const utils_1 = require("./utils"); @@ -71,15 +102,38 @@ function exportVariable(name, val) { } (0, command_1.issueCommand)('set-env', { name }, convertedVal); } -exports.exportVariable = exportVariable; /** * Registers a secret which will get masked from logs - * @param secret value of the secret + * + * @param secret - Value of the secret to be masked + * @remarks + * This function instructs the Actions runner to mask the specified value in any + * logs produced during the workflow run. Once registered, the secret value will + * be replaced with asterisks (***) whenever it appears in console output, logs, + * or error messages. + * + * This is useful for protecting sensitive information such as: + * - API keys + * - Access tokens + * - Authentication credentials + * - URL parameters containing signatures (SAS tokens) + * + * Note that masking only affects future logs; any previous appearances of the + * secret in logs before calling this function will remain unmasked. + * + * @example + * ```typescript + * // Register an API token as a secret + * const apiToken = "abc123xyz456"; + * setSecret(apiToken); + * + * // Now any logs containing this value will show *** instead + * console.log(`Using token: ${apiToken}`); // Outputs: "Using token: ***" + * ``` */ function setSecret(secret) { (0, command_1.issueCommand)('add-mask', {}, secret); } -exports.setSecret = setSecret; /** * Prepends inputPath to the PATH (for this action and future actions) * @param inputPath @@ -94,7 +148,6 @@ function addPath(inputPath) { } process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; } -exports.addPath = addPath; /** * Gets the value of an input. * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. @@ -114,7 +167,6 @@ function getInput(name, options) { } return val.trim(); } -exports.getInput = getInput; /** * Gets the values of an multiline input. Each value is also trimmed. * @@ -132,7 +184,6 @@ function getMultilineInput(name, options) { } return inputs.map(input => input.trim()); } -exports.getMultilineInput = getMultilineInput; /** * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Support boolean input list: `true | True | TRUE | false | False | FALSE` . @@ -154,7 +205,6 @@ function getBooleanInput(name, options) { throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); } -exports.getBooleanInput = getBooleanInput; /** * Sets the value of an output. * @@ -170,7 +220,6 @@ function setOutput(name, value) { process.stdout.write(os.EOL); (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value)); } -exports.setOutput = setOutput; /** * Enables or disables the echoing of commands into stdout for the rest of the step. * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. @@ -179,7 +228,6 @@ exports.setOutput = setOutput; function setCommandEcho(enabled) { (0, command_1.issue)('echo', enabled ? 'on' : 'off'); } -exports.setCommandEcho = setCommandEcho; //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -192,7 +240,6 @@ function setFailed(message) { process.exitCode = ExitCode.Failure; error(message); } -exports.setFailed = setFailed; //----------------------------------------------------------------------- // Logging Commands //----------------------------------------------------------------------- @@ -202,7 +249,6 @@ exports.setFailed = setFailed; function isDebug() { return process.env['RUNNER_DEBUG'] === '1'; } -exports.isDebug = isDebug; /** * Writes debug message to user log * @param message debug message @@ -210,7 +256,6 @@ exports.isDebug = isDebug; function debug(message) { (0, command_1.issueCommand)('debug', {}, message); } -exports.debug = debug; /** * Adds an error issue * @param message error issue message. Errors will be converted to string via toString() @@ -219,7 +264,6 @@ exports.debug = debug; function error(message, properties = {}) { (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } -exports.error = error; /** * Adds a warning issue * @param message warning issue message. Errors will be converted to string via toString() @@ -228,7 +272,6 @@ exports.error = error; function warning(message, properties = {}) { (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } -exports.warning = warning; /** * Adds a notice issue * @param message notice issue message. Errors will be converted to string via toString() @@ -237,7 +280,6 @@ exports.warning = warning; function notice(message, properties = {}) { (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); } -exports.notice = notice; /** * Writes info to log with console.log. * @param message info message @@ -245,7 +287,6 @@ exports.notice = notice; function info(message) { process.stdout.write(message + os.EOL); } -exports.info = info; /** * Begin an output group. * @@ -256,14 +297,12 @@ exports.info = info; function startGroup(name) { (0, command_1.issue)('group', name); } -exports.startGroup = startGroup; /** * End an output group. */ function endGroup() { (0, command_1.issue)('endgroup'); } -exports.endGroup = endGroup; /** * Wrap an asynchronous function call in a group. * @@ -285,7 +324,6 @@ function group(name, fn) { return result; }); } -exports.group = group; //----------------------------------------------------------------------- // Wrapper action state //----------------------------------------------------------------------- @@ -303,7 +341,6 @@ function saveState(name, value) { } (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value)); } -exports.saveState = saveState; /** * Gets the value of an state set by this action's main execution. * @@ -313,13 +350,11 @@ exports.saveState = saveState; function getState(name) { return process.env[`STATE_${name}`] || ''; } -exports.getState = getState; function getIDToken(aud) { return __awaiter(this, void 0, void 0, function* () { return yield oidc_utils_1.OidcClient.getIDToken(aud); }); } -exports.getIDToken = getIDToken; /** * Summary exports */ diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map index 12617183..115a92d7 100644 --- a/node_modules/@actions/core/lib/core.js.map +++ b/node_modules/@actions/core/lib/core.js.map @@ -1 +1 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAAuE;AACvE,mCAA2D;AAE3D,uCAAwB;AACxB,2CAA4B;AAE5B,6CAAuC;AAavC;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,wBAAR,QAAQ,QAUnB;AAuCD,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9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C,CAAC,CAAA;AAC3D,CAAC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAED,SAAsB,UAAU,CAAC,GAAY;;QAC3C,OAAO,MAAM,uBAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;CAAA;AAED;;GAEG;AACH,qCAAiC;AAAzB,kGAAA,OAAO,OAAA;AAEf;;GAEG;AACH,qCAAyC;AAAjC,0GAAA,eAAe,OAAA;AAEvB;;GAEG;AACH,2CAAqE;AAA7D,yGAAA,WAAW,OAAA;AAAE,yGAAA,WAAW,OAAA;AAAE,4GAAA,cAAc,OAAA;AAEhD;;GAEG;AACH,uDAAsC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js index e4cae444..807447a1 100644 --- a/node_modules/@actions/core/lib/file-command.js +++ b/node_modules/@actions/core/lib/file-command.js @@ -16,15 +16,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; +exports.issueFileCommand = issueFileCommand; +exports.prepareKeyValueMessage = prepareKeyValueMessage; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ const crypto = __importStar(require("crypto")); @@ -43,7 +54,6 @@ function issueFileCommand(command, message) { encoding: 'utf8' }); } -exports.issueFileCommand = issueFileCommand; function prepareKeyValueMessage(key, value) { const delimiter = `ghadelimiter_${crypto.randomUUID()}`; const convertedValue = (0, utils_1.toCommandValue)(value); @@ -58,5 +68,4 @@ function prepareKeyValueMessage(key, value) { } return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`; } -exports.prepareKeyValueMessage = prepareKeyValueMessage; //# sourceMappingURL=file-command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map index 8510a573..74044d3c 100644 --- a/node_modules/@actions/core/lib/file-command.js.map +++ b/node_modules/@actions/core/lib/file-command.js.map @@ -1 +1 @@ -{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,+CAAgC;AAChC,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,gBAAgB,CAAC,OAAe,EAAE,OAAY;IAC5D,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,IAAA,sBAAc,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,4CAcC;AAED,SAAgB,sBAAsB,CAAC,GAAW,EAAE,KAAU;IAC5D,MAAM,SAAS,GAAG,gBAAgB,MAAM,CAAC,UAAU,EAAE,EAAE,CAAA;IACvD,MAAM,cAAc,GAAG,IAAA,sBAAc,EAAC,KAAK,CAAC,CAAA;IAE5C,4EAA4E;IAC5E,6EAA6E;IAC7E,iBAAiB;IACjB,IAAI,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QAC3B,MAAM,IAAI,KAAK,CACb,4DAA4D,SAAS,GAAG,CACzE,CAAA;KACF;IAED,IAAI,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QACtC,MAAM,IAAI,KAAK,CACb,6DAA6D,SAAS,GAAG,CAC1E,CAAA;KACF;IAED,OAAO,GAAG,GAAG,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,cAAc,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;AAC9E,CAAC;AApBD,wDAoBC"} \ No newline at end of file +{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUvC,4CAcC;AAED,wDAoBC;AA5CD,mCAAmC;AACnC,uDAAuD;AAEvD,+CAAgC;AAChC,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,gBAAgB,CAAC,OAAe,EAAE,OAAY;IAC5D,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;IACH,CAAC;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;IACtD,CAAC;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,IAAA,sBAAc,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAED,SAAgB,sBAAsB,CAAC,GAAW,EAAE,KAAU;IAC5D,MAAM,SAAS,GAAG,gBAAgB,MAAM,CAAC,UAAU,EAAE,EAAE,CAAA;IACvD,MAAM,cAAc,GAAG,IAAA,sBAAc,EAAC,KAAK,CAAC,CAAA;IAE5C,4EAA4E;IAC5E,6EAA6E;IAC7E,iBAAiB;IACjB,IAAI,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CACb,4DAA4D,SAAS,GAAG,CACzE,CAAA;IACH,CAAC;IAED,IAAI,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,KAAK,CACb,6DAA6D,SAAS,GAAG,CAC1E,CAAA;IACH,CAAC;IAED,OAAO,GAAG,GAAG,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,cAAc,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;AAC9E,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.js b/node_modules/@actions/core/lib/oidc-utils.js index f8895d08..b666b256 100644 --- a/node_modules/@actions/core/lib/oidc-utils.js +++ b/node_modules/@actions/core/lib/oidc-utils.js @@ -36,8 +36,8 @@ class OidcClient { return runtimeUrl; } static getCall(id_token_url) { - var _a; return __awaiter(this, void 0, void 0, function* () { + var _a; const httpclient = OidcClient.createHttpClient(); const res = yield httpclient .getJson(id_token_url) diff --git a/node_modules/@actions/core/lib/oidc-utils.js.map b/node_modules/@actions/core/lib/oidc-utils.js.map index f144099c..d6ad7793 100644 --- a/node_modules/@actions/core/lib/oidc-utils.js.map +++ b/node_modules/@actions/core/lib/oidc-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"oidc-utils.js","sourceRoot":"","sources":["../src/oidc-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,sDAA+C;AAC/C,wDAAqE;AACrE,iCAAuC;AAKvC,MAAa,UAAU;IACb,MAAM,CAAC,gBAAgB,CAC7B,UAAU,GAAG,IAAI,EACjB,QAAQ,GAAG,EAAE;QAEb,MAAM,cAAc,GAAmB;YACrC,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,QAAQ;SACrB,CAAA;QAED,OAAO,IAAI,wBAAU,CACnB,qBAAqB,EACrB,CAAC,IAAI,8BAAuB,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,EAC3D,cAAc,CACf,CAAA;IACH,CAAC;IAEO,MAAM,CAAC,eAAe;QAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;QAC3D,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,IAAI,KAAK,CACb,2DAA2D,CAC5D,CAAA;SACF;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAEO,MAAM,CAAC,aAAa;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAA;QAC9D,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;SAC3E;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,MAAM,CAAO,OAAO,CAAC,YAAoB;;;YAC/C,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAA;YAEhD,MAAM,GAAG,GAAG,MAAM,UAAU;iBACzB,OAAO,CAAgB,YAAY,CAAC;iBACp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AC;gBACH,gDAAgD;gBAChD,IAAI,YAAY,GAAW,UAAU,CAAC,aAAa,EAAE,CAAA;gBACrD,IAAI,QAAQ,EAAE,CAAC;oBACb,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;oBACpD,YAAY,GAAG,GAAG,YAAY,aAAa,eAAe,EAAE,CAAA;gBAC9D,CAAC;gBAED,IAAA,YAAK,EAAC,mBAAmB,YAAY,EAAE,CAAC,CAAA;gBAExC,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;gBACvD,IAAA,gBAAS,EAAC,QAAQ,CAAC,CAAA;gBACnB,OAAO,QAAQ,CAAA;YACjB,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,kBAAkB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;YACpD,CAAC;QACH,CAAC;KAAA;CACF;AAzED,gCAyEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/path-utils.js b/node_modules/@actions/core/lib/path-utils.js index d13f4ec8..f5765b4f 100644 --- a/node_modules/@actions/core/lib/path-utils.js +++ b/node_modules/@actions/core/lib/path-utils.js @@ -15,15 +15,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; +exports.toPosixPath = toPosixPath; +exports.toWin32Path = toWin32Path; +exports.toPlatformPath = toPlatformPath; const path = __importStar(require("path")); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be @@ -35,7 +47,6 @@ const path = __importStar(require("path")); function toPosixPath(pth) { return pth.replace(/[\\]/g, '/'); } -exports.toPosixPath = toPosixPath; /** * toWin32Path converts the given path to the win32 form. On Linux, / will be * replaced with \\. @@ -46,7 +57,6 @@ exports.toPosixPath = toPosixPath; function toWin32Path(pth) { return pth.replace(/[/]/g, '\\'); } -exports.toWin32Path = toWin32Path; /** * toPlatformPath converts the given path to a platform-specific path. It does * this by replacing instances of / and \ with the platform-specific path @@ -58,5 +68,4 @@ exports.toWin32Path = toWin32Path; function toPlatformPath(pth) { return pth.replace(/[/\\]/g, path.sep); } -exports.toPlatformPath = toPlatformPath; //# sourceMappingURL=path-utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/path-utils.js.map b/node_modules/@actions/core/lib/path-utils.js.map index b2960085..f194f5e8 100644 --- a/node_modules/@actions/core/lib/path-utils.js.map +++ b/node_modules/@actions/core/lib/path-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} \ No newline at end of file +{"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,kCAEC;AASD,kCAEC;AAUD,wCAEC;AAlCD,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/platform.d.ts b/node_modules/@actions/core/lib/platform.d.ts index 34dbd93b..5e85bbed 100644 --- a/node_modules/@actions/core/lib/platform.d.ts +++ b/node_modules/@actions/core/lib/platform.d.ts @@ -1,4 +1,3 @@ -/// export declare const platform: NodeJS.Platform; export declare const arch: string; export declare const isWindows: boolean; diff --git a/node_modules/@actions/core/lib/platform.js b/node_modules/@actions/core/lib/platform.js index c6b58c53..b6014cb0 100644 --- a/node_modules/@actions/core/lib/platform.js +++ b/node_modules/@actions/core/lib/platform.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -35,7 +45,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; +exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; +exports.getDetails = getDetails; const os_1 = __importDefault(require("os")); const exec = __importStar(require("@actions/exec")); const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () { @@ -90,5 +101,4 @@ function getDetails() { isLinux: exports.isLinux }); }); } -exports.getDetails = getDetails; //# sourceMappingURL=platform.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/platform.js.map b/node_modules/@actions/core/lib/platform.js.map index 976102b0..cb4c9179 100644 --- a/node_modules/@actions/core/lib/platform.js.map +++ b/node_modules/@actions/core/lib/platform.js.map @@ -1 +1 @@ -{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAmB;AACnB,oDAAqC;AAEr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AAO;QACL,IAAI;QACJ,OAAO;KACR,CAAA;AACH,CAAC,CAAA,CAAA;AAEY,QAAA,QAAQ,GAAG,YAAE,CAAC,QAAQ,EAAE,CAAA;AACxB,QAAA,IAAI,GAAG,YAAE,CAAC,IAAI,EAAE,CAAA;AAChB,QAAA,SAAS,GAAG,gBAAQ,KAAK,OAAO,CAAA;AAChC,QAAA,OAAO,GAAG,gBAAQ,KAAK,QAAQ,CAAA;AAC/B,QAAA,OAAO,GAAG,gBAAQ,KAAK,OAAO,CAAA;AAE3C,SAAsB,UAAU;;QAS9B,uCACK,CAAC,MAAM,CAAC,iBAAS;YAClB,CAAC,CAAC,cAAc,EAAE;YAClB,CAAC,CAAC,eAAO;gBACT,CAAC,CAAC,YAAY,EAAE;gBAChB,CAAC,CAAC,YAAY,EAAE,CAAC,CAAC,KACpB,QAAQ,EAAR,gBAAQ;YACR,IAAI,EAAJ,YAAI;YACJ,SAAS,EAAT,iBAAS;YACT,OAAO,EAAP,eAAO;YACP,OAAO,EAAP,eAAO,IACR;IACH,CAAC;CAAA;AArBD,gCAqBC"} \ No newline at end of file +{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA,gCAqBC;AAtFD,4CAAmB;AACnB,oDAAqC;AAErC,MAAM,cAAc,GAAG,GAAmD,EAAE;IAC1E,MAAM,EAAC,MAAM,EAAE,OAAO,EAAC,GAAG,MAAM,IAAI,CAAC,aAAa,CAChD,kFAAkF,EAClF,SAAS,EACT;QACE,MAAM,EAAE,IAAI;KACb,CACF,CAAA;IAED,MAAM,EAAC,MAAM,EAAE,IAAI,EAAC,GAAG,MAAM,IAAI,CAAC,aAAa,CAC7C,kFAAkF,EAClF,SAAS,EACT;QACE,MAAM,EAAE,IAAI;KACb,CACF,CAAA;IAED,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;QACjB,OAAO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AAS;YAClB,CAAC,CAAC,cAAc,EAAE;YAClB,CAAC,CAAC,eAAO;gBACP,CAAC,CAAC,YAAY,EAAE;gBAChB,CAAC,CAAC,YAAY,EAAE,CAAC,CAAC,KACtB,QAAQ,EAAR,gBAAQ;YACR,IAAI,EAAJ,YAAI;YACJ,SAAS,EAAT,iBAAS;YACT,OAAO,EAAP,eAAO;YACP,OAAO,EAAP,eAAO,IACR;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/summary.js.map b/node_modules/@actions/core/lib/summary.js.map index 96373515..01f6ab7b 100644 --- a/node_modules/@actions/core/lib/summary.js.map +++ b/node_modules/@actions/core/lib/summary.js.map @@ -1 +1 @@ -{"version":3,"file":"summary.js","sourceRoot":"","sources":["../src/summary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAAsB;AACtB,2BAAsC;AACtC,MAAM,EAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAC,GAAG,aAAQ,CAAA;AAEnC,QAAA,eAAe,GAAG,qBAAqB,CAAA;AACvC,QAAA,gBAAgB,GAC3B,2GAA2G,CAAA;AA+C7G,MAAM,OAAO;IAIX;QACE,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;IACnB,CAAC;IAED;;;;;OAKG;IACW,QAAQ;;YACpB,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,OAAO,IAAI,CAAC,SAAS,CAAA;aACtB;YAED,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAA;YAChD,IAAI,CAAC,WAAW,EAAE;gBAChB,MAAM,IAAI,KAAK,CACb,4CAA4C,uBAAe,6DAA6D,CACzH,CAAA;aACF;YAED,IAAI;gBACF,MAAM,MAAM,CAAC,WAAW,EAAE,cAAS,CAAC,IAAI,GAAG,cAAS,CAAC,IAAI,CAAC,CAAA;aAC3D;YAAC,WAAM;gBACN,MAAM,IAAI,KAAK,CACb,mCAAmC,WAAW,0DAA0D,CACzG,C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AA;IACtC,CAAC;CACF;AAED,MAAM,QAAQ,GAAG,IAAI,OAAO,EAAE,CAAA;AAE9B;;GAEG;AACU,QAAA,eAAe,GAAG,QAAQ,CAAA;AAC1B,QAAA,OAAO,GAAG,QAAQ,CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js index 9b5ca44b..a95a3bb3 100644 --- a/node_modules/@actions/core/lib/utils.js +++ b/node_modules/@actions/core/lib/utils.js @@ -2,7 +2,8 @@ // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.toCommandProperties = exports.toCommandValue = void 0; +exports.toCommandValue = toCommandValue; +exports.toCommandProperties = toCommandProperties; /** * Sanitizes an input into a string so it can be passed into issueCommand safely * @param input input to sanitize into a string @@ -16,7 +17,6 @@ function toCommandValue(input) { } return JSON.stringify(input); } -exports.toCommandValue = toCommandValue; /** * * @param annotationProperties @@ -36,5 +36,4 @@ function toCommandProperties(annotationProperties) { endColumn: annotationProperties.endColumn }; } -exports.toCommandProperties = toCommandProperties; //# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map index 8211bb7e..bf4e0788 100644 --- a/node_modules/@actions/core/lib/utils.js.map +++ b/node_modules/@actions/core/lib/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CA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ACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 6d60010e..5645e727 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.11.1", + "version": "2.0.2", "description": "Actions core lib", "keywords": [ "github", @@ -36,8 +36,8 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/exec": "^1.1.1", - "@actions/http-client": "^2.0.1" + "@actions/exec": "^2.0.0", + "@actions/http-client": "^3.0.1" }, "devDependencies": { "@types/node": "^16.18.112" diff --git a/node_modules/@actions/exec/lib/exec.js b/node_modules/@actions/exec/lib/exec.js index 72c7a9cc..524a59c2 100644 --- a/node_modules/@actions/exec/lib/exec.js +++ b/node_modules/@actions/exec/lib/exec.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -28,7 +42,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExecOutput = exports.exec = void 0; +exports.exec = exec; +exports.getExecOutput = getExecOutput; const string_decoder_1 = require("string_decoder"); const tr = __importStar(require("./toolrunner")); /** @@ -54,7 +69,6 @@ function exec(commandLine, args, options) { return runner.exec(); }); } -exports.exec = exec; /** * Exec a command and get the output. * Output will be streamed to the live console. @@ -66,8 +80,8 @@ exports.exec = exec; * @returns Promise exit code, stdout, and stderr */ function getExecOutput(commandLine, args, options) { - var _a, _b; return __awaiter(this, void 0, void 0, function* () { + var _a, _b; let stdout = ''; let stderr = ''; //Using string decoder covers the case where a mult-byte character is split @@ -99,5 +113,4 @@ function getExecOutput(commandLine, args, options) { }; }); } -exports.getExecOutput = getExecOutput; //# sourceMappingURL=exec.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/exec.js.map b/node_modules/@actions/exec/lib/exec.js.map index 07626365..31134c38 100644 --- a/node_modules/@actions/exec/lib/exec.js.map +++ b/node_modules/@actions/exec/lib/exec.js.map @@ -1 +1 @@ -{"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4C;AAE5C,i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Ac,GACvB,CAAA;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,IAAI,kCAAM,OAAO,KAAE,SAAS,IAAE,CAAA;QAEvE,gCAAgC;QAChC,MAAM,IAAI,aAAa,CAAC,GAAG,EAAE,CAAA;QAC7B,MAAM,IAAI,aAAa,CAAC,GAAG,EAAE,CAAA;QAE7B,OAAO;YACL,QAAQ;YACR,MAAM;YACN,MAAM;SACP,CAAA;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/interfaces.d.ts b/node_modules/@actions/exec/lib/interfaces.d.ts index 8ae20e48..bdd6376d 100644 --- a/node_modules/@actions/exec/lib/interfaces.d.ts +++ b/node_modules/@actions/exec/lib/interfaces.d.ts @@ -1,4 +1,3 @@ -/// import * as stream from 'stream'; /** * Interface for exec options diff --git a/node_modules/@actions/exec/lib/toolrunner.d.ts b/node_modules/@actions/exec/lib/toolrunner.d.ts index 9bbbb1ea..c2a622e8 100644 --- a/node_modules/@actions/exec/lib/toolrunner.d.ts +++ b/node_modules/@actions/exec/lib/toolrunner.d.ts @@ -1,4 +1,3 @@ -/// import * as events from 'events'; import * as im from './interfaces'; export declare class ToolRunner extends events.EventEmitter { diff --git a/node_modules/@actions/exec/lib/toolrunner.js b/node_modules/@actions/exec/lib/toolrunner.js index e456a729..3a14af92 100644 --- a/node_modules/@actions/exec/lib/toolrunner.js +++ b/node_modules/@actions/exec/lib/toolrunner.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -28,7 +42,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.argStringToArray = exports.ToolRunner = void 0; +exports.ToolRunner = void 0; +exports.argStringToArray = argStringToArray; const os = __importStar(require("os")); const events = __importStar(require("events")); const child = __importStar(require("child_process")); @@ -260,10 +275,7 @@ class ToolRunner extends events.EventEmitter { } } reverse += '"'; - return reverse - .split('') - .reverse() - .join(''); + return reverse.split('').reverse().join(''); } _uvQuoteCmdArg(arg) { // Tool runner wraps child_process.spawn() and needs to apply the same quoting as @@ -339,10 +351,7 @@ class ToolRunner extends events.EventEmitter { } } reverse += '"'; - return reverse - .split('') - .reverse() - .join(''); + return reverse.split('').reverse().join(''); } _cloneExecOptions(options) { options = options || {}; @@ -546,7 +555,6 @@ function argStringToArray(argString) { } return args; } -exports.argStringToArray = argStringToArray; class ExecState extends events.EventEmitter { constructor(options, toolPath) { super(); @@ -575,7 +583,7 @@ class ExecState extends events.EventEmitter { this._setResult(); } else if (this.processExited) { - this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this); + this.timeout = (0, timers_1.setTimeout)(ExecState.HandleTimeout, this.delay, this); } } _debug(message) { @@ -608,8 +616,7 @@ class ExecState extends events.EventEmitter { return; } if (!state.processClosed && state.processExited) { - const message = `The STDIO streams did not close within ${state.delay / - 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; + const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; state._debug(message); } state._setResult(); diff --git a/node_modules/@actions/exec/lib/toolrunner.js.map b/node_modules/@actions/exec/lib/toolrunner.js.map index 6eaf1830..6b50f487 100644 --- a/node_modules/@actions/exec/lib/toolrunner.js.map +++ b/node_modules/@actions/exec/lib/toolrunner.js.map @@ -1 +1 @@ -{"version":3,"file":"toolrunner.js","sourceRoot":"","sources":["../src/toolrunner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,+CAAgC;AAChC,qDAAsC;AACtC,2CAA4B;AAG5B,gDAAiC;AACjC,gEAAiD;AACjD,mCAAiC;AAEjC,sDAAsD;AAEtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,YAAY;IACjD,YAAY,QAAgB,EAAE,IAAe,EAAE,OAAwB;QACrE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;SACjE;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;QACtB,IAAI,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,CAAC,QAAQ,sEAAsE,CACpG,CAAA;YACH,CAAC;QACH,CAAC;QAED,oBAAoB;QACpB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QACrB,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,eAAe,CAAC,CAAA;IAChD,CAAC;IAEO,MAAM,CAAC,aAAa,CAAC,KAAgB;QAC3C,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACf,OAAM;QACR,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,EAAE,CAAC;YAChD,MAAM,OAAO,GAAG,0CACd,KAAK,CAAC,KAAK,GAAG,IAChB,4CACE,KAAK,CAAC,QACR,0FAA0F,CAAA;YAC1F,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;QACvB,CAAC;QAED,KAAK,CAAC,UAAU,EAAE,CAAA;IACpB,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@actions/exec/package.json b/node_modules/@actions/exec/package.json index bc4d77a2..22a794ff 100644 --- a/node_modules/@actions/exec/package.json +++ b/node_modules/@actions/exec/package.json @@ -1,6 +1,6 @@ { "name": "@actions/exec", - "version": "1.1.1", + "version": "2.0.0", "description": "Actions exec lib", "keywords": [ "github", @@ -36,6 +36,6 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/io": "^1.0.1" + "@actions/io": "^2.0.0" } } diff --git a/node_modules/@actions/github/lib/context.js.map b/node_modules/@actions/github/lib/context.js.map index 2cc6453d..4328d84d 100644 --- a/node_modules/@actions/github/lib/context.js.map +++ b/node_modules/@actions/github/lib/context.js.map @@ -1 +1 @@ -{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context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/lib/github.js b/node_modules/@actions/github/lib/github.js index ea73b56a..15c7d36b 100644 --- a/node_modules/@actions/github/lib/github.js +++ b/node_modules/@actions/github/lib/github.js @@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokit = exports.context = void 0; +exports.context = void 0; +exports.getOctokit = getOctokit; const Context = __importStar(require("./context")); const utils_1 = require("./utils"); exports.context = new Context.Context(); @@ -37,5 +48,4 @@ function getOctokit(token, options, ...additionalPlugins) { const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins); return new GitHubWithPlugins((0, utils_1.getOctokitOptions)(token, options)); } -exports.getOctokit = getOctokit; //# sourceMappingURL=github.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/github.js.map b/node_modules/@actions/github/lib/github.js.map index e643866b..f454b906 100644 --- a/node_modules/@actions/github/lib/github.js.map +++ b/node_modules/@actions/github/lib/github.js.map @@ -1 +1 @@ -{"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB,EACxB,GAAG,iBAAkC;IAErC,MAAM,iBAAiB,GAAG,cAAM,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAC7D,OAAO,IAAI,iBAAiB,CAAC,IAAA,yBAAiB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,CAAC;AAPD,gCAOC"} \ No newline at end of file +{"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,gCAOC;AArBD,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB,EACxB,GAAG,iBAAkC;IAErC,MAAM,iBAAiB,GAAG,cAAM,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAC7D,OAAO,IAAI,iBAAiB,CAAC,IAAA,yBAAiB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.d.ts b/node_modules/@actions/github/lib/internal/utils.d.ts index 8d236934..8db50ca7 100644 --- a/node_modules/@actions/github/lib/internal/utils.d.ts +++ b/node_modules/@actions/github/lib/internal/utils.d.ts @@ -1,4 +1,3 @@ -/// import * as http from 'http'; import { OctokitOptions } from '@octokit/core/dist-types/types'; import { ProxyAgent, fetch } from 'undici'; diff --git a/node_modules/@actions/github/lib/internal/utils.js b/node_modules/@actions/github/lib/internal/utils.js index d2e23c03..60cfec2c 100644 --- a/node_modules/@actions/github/lib/internal/utils.js +++ b/node_modules/@actions/github/lib/internal/utils.js @@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -32,7 +42,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getApiBaseUrl = exports.getProxyFetch = exports.getProxyAgentDispatcher = exports.getProxyAgent = exports.getAuthString = void 0; +exports.getAuthString = getAuthString; +exports.getProxyAgent = getProxyAgent; +exports.getProxyAgentDispatcher = getProxyAgentDispatcher; +exports.getProxyFetch = getProxyFetch; +exports.getApiBaseUrl = getApiBaseUrl; const httpClient = __importStar(require("@actions/http-client")); const undici_1 = require("undici"); function getAuthString(token, options) { @@ -44,17 +58,14 @@ function getAuthString(token, options) { } return typeof options.auth === 'string' ? options.auth : `token ${token}`; } -exports.getAuthString = getAuthString; function getProxyAgent(destinationUrl) { const hc = new httpClient.HttpClient(); return hc.getAgent(destinationUrl); } -exports.getProxyAgent = getProxyAgent; function getProxyAgentDispatcher(destinationUrl) { const hc = new httpClient.HttpClient(); return hc.getAgentDispatcher(destinationUrl); } -exports.getProxyAgentDispatcher = getProxyAgentDispatcher; function getProxyFetch(destinationUrl) { const httpDispatcher = getProxyAgentDispatcher(destinationUrl); const proxyFetch = (url, opts) => __awaiter(this, void 0, void 0, function* () { @@ -62,9 +73,7 @@ function getProxyFetch(destinationUrl) { }); return proxyFetch; } -exports.getProxyFetch = getProxyFetch; function getApiBaseUrl() { return process.env['GITHUB_API_URL'] || 'https://api.github.com'; } -exports.getApiBaseUrl = getApiBaseUrl; //# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.js.map b/node_modules/@actions/github/lib/internal/utils.js.map index 0293cbf1..1b26cbd7 100644 --- a/node_modules/@actions/github/lib/internal/utils.js.map +++ b/node_modules/@actions/github/lib/internal/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iEAAkD;AAElD,mCAAwC;AAExC,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;KAC5E;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAXD,sCAWC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAHD,sCAGC;AAED,SAAgB,uBAAuB,CACrC,cAAsB;IAEtB,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAA;AAC9C,CAAC;AALD,0DAKC;AAED,SAAgB,aAAa,CAAC,cAAc;IAC1C,MAAM,cAAc,GAAG,uBAAuB,CAAC,cAAc,CAAC,CAAA;IAC9D,MAAM,UAAU,GAAiB,CAAO,GAAG,EAAE,IAAI,EAAE,EAAE;QACnD,OAAO,IAAA,cAAK,EAAC,GAAG,kCACX,IAAI,KACP,UAAU,EAAE,cAAc,IAC1B,CAAA;IACJ,CAAC,CAAA,CAAA;IACD,OAAO,UAAU,CAAA;AACnB,CAAC;AATD,sCASC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC;AAFD,sCAEC"} \ No newline at end of file +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,sCAWC;AAED,sCAGC;AAED,0DAKC;AAED,sCASC;AAED,sCAEC;AA1CD,iEAAkD;AAElD,mCAAwC;AAExC,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;IAC7D,CAAC;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QACjC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;IAC7E,CAAC;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAED,SAAgB,uBAAuB,CACrC,cAAsB;IAEtB,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,aAAa,CAAC,cAAc;IAC1C,MAAM,cAAc,GAAG,uBAAuB,CAAC,cAAc,CAAC,CAAA;IAC9D,MAAM,UAAU,GAAiB,CAAO,GAAG,EAAE,IAAI,EAAE,EAAE;QACnD,OAAO,IAAA,cAAK,EAAC,GAAG,kCACX,IAAI,KACP,UAAU,EAAE,cAAc,IAC1B,CAAA;IACJ,CAAC,CAAA,CAAA;IACD,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.js b/node_modules/@actions/github/lib/utils.js index 0dbb6ef2..9809e934 100644 --- a/node_modules/@actions/github/lib/utils.js +++ b/node_modules/@actions/github/lib/utils.js @@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; +exports.GitHub = exports.defaults = exports.context = void 0; +exports.getOctokitOptions = getOctokitOptions; const Context = __importStar(require("./context")); const Utils = __importStar(require("./internal/utils")); // octokit + plugins @@ -55,5 +66,4 @@ function getOctokitOptions(token, options) { } return opts; } -exports.getOctokitOptions = getOctokitOptions; //# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.js.map b/node_modules/@actions/github/lib/utils.js.map index f68bc40b..f62d0fe2 100644 --- a/node_modules/@actions/github/lib/utils.js.map +++ b/node_modules/@actions/github/lib/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACxB,QAAA,QAAQ,GAAmB;IACtC,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;QACnC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,gBAAQ,CAAC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Aa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE,CAAC;QACT,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/github/package.json b/node_modules/@actions/github/package.json index 8e17050b..9d5b4fbd 100644 --- a/node_modules/@actions/github/package.json +++ b/node_modules/@actions/github/package.json @@ -1,6 +1,6 @@ { "name": "@actions/github", - "version": "6.0.1", + "version": "7.0.0", "description": "Actions github lib", "keywords": [ "github", @@ -38,7 +38,7 @@ "url": "https://github.com/actions/toolkit/issues" }, "dependencies": { - "@actions/http-client": "^2.2.0", + "@actions/http-client": "^3.0.1", "@octokit/core": "^5.0.1", "@octokit/plugin-paginate-rest": "^9.2.2", "@octokit/plugin-rest-endpoint-methods": "^10.4.0", diff --git a/node_modules/@actions/http-client/README.md b/node_modules/@actions/http-client/README.md index 7e06adeb..7d1750c8 100644 --- a/node_modules/@actions/http-client/README.md +++ b/node_modules/@actions/http-client/README.md @@ -7,7 +7,7 @@ A lightweight HTTP client optimized for building actions. - HTTP client with TypeScript generics and async/await/Promises - Typings included! - [Proxy support](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners#using-a-proxy-server-with-self-hosted-runners) just works with actions and the runner - - Targets ES2019 (runner runs actions with node 12+). Only supported on node 12+. + - Targets ES2019 (runner runs actions with node 24+). Only supported on node 20+. - Basic, Bearer and PAT Support out of the box. Extensible handlers for others. - Redirects supported @@ -44,7 +44,7 @@ export NODE_DEBUG=http ## Node support -The http-client is built using the latest LTS version of Node 12. It may work on previous node LTS versions but it's tested and officially supported on Node12+. +The http-client is built using Node 24. It may work on previous node LTS versions but it's tested and officially supported on Node 20+. ## Support and Versioning diff --git a/node_modules/@actions/http-client/lib/auth.d.ts b/node_modules/@actions/http-client/lib/auth.d.ts index 8cc9fc3d..6b97ee81 100644 --- a/node_modules/@actions/http-client/lib/auth.d.ts +++ b/node_modules/@actions/http-client/lib/auth.d.ts @@ -1,4 +1,3 @@ -/// import * as http from 'http'; import * as ifm from './interfaces'; import { HttpClientResponse } from './index'; diff --git a/node_modules/@actions/http-client/lib/auth.js.map b/node_modules/@actions/http-client/lib/auth.js.map index 62cc16b6..d0306b47 100644 --- a/node_modules/@actions/http-client/lib/auth.js.map +++ b/node_modules/@actions/http-client/lib/auth.js.map @@ -1 +1 @@ -{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAa,sBAAsB;IAIjC,YAAY,QAAgB,EAAE,QAAgB;QAC5C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;QACD,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,MAAM,CAAC,IAAI,CACrD,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE,CACpC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAA;IACxB,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAEK,oBAAoB;;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACpC,CAAC;KAAA;CACF;AA1BD,wDA0BC;AAED,MAAa,uBAAuB;IAGlC,YAAY,KAAa;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,yCAAyC;IACzC,sDAAsD;IACtD,cAAc,CAAC,OAA4B;QACzC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACpB,MAAM,KAAK,CAAC,4BAA4B,CAAC,CAAA;SAC1C;Q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Q,CAAC,QAAQ,CAAC,EAAE,CAAA;IACxB,CAAC;IAED,iCAAiC;IACjC,uBAAuB;QACrB,OAAO,KAAK,CAAA;IACd,CAAC;IAEK,oBAAoB;;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACpC,CAAC;KAAA;CACF;AA5BD,oFA4BC"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/index.d.ts b/node_modules/@actions/http-client/lib/index.d.ts index 38db7000..11f292c4 100644 --- a/node_modules/@actions/http-client/lib/index.d.ts +++ b/node_modules/@actions/http-client/lib/index.d.ts @@ -1,6 +1,3 @@ -/// -/// -/// import * as http from 'http'; import * as ifm from './interfaces'; import { ProxyAgent } from 'undici'; @@ -122,9 +119,25 @@ export declare class HttpClient { getAgentDispatcher(serverUrl: string): ProxyAgent | undefined; private _prepareRequest; private _mergeHeaders; + /** + * Gets an existing header value or returns a default. + * Handles converting number header values to strings since HTTP headers must be strings. + * Note: This returns string | string[] since some headers can have multiple values. + * For headers that must always be a single string (like Content-Type), use the + * specialized _getExistingOrDefaultContentTypeHeader method instead. + */ private _getExistingOrDefaultHeader; + /** + * Specialized version of _getExistingOrDefaultHeader for Content-Type header. + * Always returns a single string (not an array) since Content-Type should be a single value. + * Converts arrays to comma-separated strings and numbers to strings to ensure type safety. + * This was split from _getExistingOrDefaultHeader to provide stricter typing for callers + * that assign the result to places expecting a string (e.g., additionalHeaders[Headers.ContentType]). + */ + private _getExistingOrDefaultContentTypeHeader; private _getAgent; private _getProxyAgentDispatcher; + private _getUserAgentWithOrchestrationId; private _performExponentialBackoff; private _processResponse; } diff --git a/node_modules/@actions/http-client/lib/index.js b/node_modules/@actions/http-client/lib/index.js index c337ca6e..d9b69a23 100644 --- a/node_modules/@actions/http-client/lib/index.js +++ b/node_modules/@actions/http-client/lib/index.js @@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -33,7 +43,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; +exports.HttpClient = exports.HttpClientResponse = exports.HttpClientError = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; +exports.getProxyUrl = getProxyUrl; +exports.isHttps = isHttps; const http = __importStar(require("http")); const https = __importStar(require("https")); const pm = __importStar(require("./proxy")); @@ -86,7 +98,6 @@ function getProxyUrl(serverUrl) { const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); return proxyUrl ? proxyUrl.href : ''; } -exports.getProxyUrl = getProxyUrl; const HttpRedirectCodes = [ HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, @@ -147,7 +158,6 @@ function isHttps(requestUrl) { const parsedUrl = new URL(requestUrl); return parsedUrl.protocol === 'https:'; } -exports.isHttps = isHttps; class HttpClient { constructor(userAgent, handlers, requestOptions) { this._ignoreSslError = false; @@ -158,7 +168,7 @@ class HttpClient { this._maxRetries = 1; this._keepAlive = false; this._disposed = false; - this.userAgent = userAgent; + this.userAgent = this._getUserAgentWithOrchestrationId(userAgent); this.handlers = handlers || []; this.requestOptions = requestOptions; if (requestOptions) { @@ -230,36 +240,39 @@ class HttpClient { * Gets a typed object from an endpoint * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise */ - getJson(requestUrl, additionalHeaders = {}) { - return __awaiter(this, void 0, void 0, function* () { + getJson(requestUrl_1) { + return __awaiter(this, arguments, void 0, function* (requestUrl, additionalHeaders = {}) { additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); const res = yield this.get(requestUrl, additionalHeaders); return this._processResponse(res, this.requestOptions); }); } - postJson(requestUrl, obj, additionalHeaders = {}) { - return __awaiter(this, void 0, void 0, function* () { + postJson(requestUrl_1, obj_1) { + return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) { const data = JSON.stringify(obj, null, 2); additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = + this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson); const res = yield this.post(requestUrl, data, additionalHeaders); return this._processResponse(res, this.requestOptions); }); } - putJson(requestUrl, obj, additionalHeaders = {}) { - return __awaiter(this, void 0, void 0, function* () { + putJson(requestUrl_1, obj_1) { + return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) { const data = JSON.stringify(obj, null, 2); additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = + this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson); const res = yield this.put(requestUrl, data, additionalHeaders); return this._processResponse(res, this.requestOptions); }); } - patchJson(requestUrl, obj, additionalHeaders = {}) { - return __awaiter(this, void 0, void 0, function* () { + patchJson(requestUrl_1, obj_1) { + return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) { const data = JSON.stringify(obj, null, 2); additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = + this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson); const res = yield this.patch(requestUrl, data, additionalHeaders); return this._processResponse(res, this.requestOptions); }); @@ -488,12 +501,73 @@ class HttpClient { } return lowercaseKeys(headers || {}); } + /** + * Gets an existing header value or returns a default. + * Handles converting number header values to strings since HTTP headers must be strings. + * Note: This returns string | string[] since some headers can have multiple values. + * For headers that must always be a single string (like Content-Type), use the + * specialized _getExistingOrDefaultContentTypeHeader method instead. + */ _getExistingOrDefaultHeader(additionalHeaders, header, _default) { let clientHeader; if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + const headerValue = lowercaseKeys(this.requestOptions.headers)[header]; + if (headerValue) { + clientHeader = + typeof headerValue === 'number' ? headerValue.toString() : headerValue; + } + } + const additionalValue = additionalHeaders[header]; + if (additionalValue !== undefined) { + return typeof additionalValue === 'number' + ? additionalValue.toString() + : additionalValue; } - return additionalHeaders[header] || clientHeader || _default; + if (clientHeader !== undefined) { + return clientHeader; + } + return _default; + } + /** + * Specialized version of _getExistingOrDefaultHeader for Content-Type header. + * Always returns a single string (not an array) since Content-Type should be a single value. + * Converts arrays to comma-separated strings and numbers to strings to ensure type safety. + * This was split from _getExistingOrDefaultHeader to provide stricter typing for callers + * that assign the result to places expecting a string (e.g., additionalHeaders[Headers.ContentType]). + */ + _getExistingOrDefaultContentTypeHeader(additionalHeaders, _default) { + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + const headerValue = lowercaseKeys(this.requestOptions.headers)[Headers.ContentType]; + if (headerValue) { + if (typeof headerValue === 'number') { + clientHeader = String(headerValue); + } + else if (Array.isArray(headerValue)) { + clientHeader = headerValue.join(', '); + } + else { + clientHeader = headerValue; + } + } + } + const additionalValue = additionalHeaders[Headers.ContentType]; + // Return the first non-undefined value, converting numbers or arrays to strings if necessary + if (additionalValue !== undefined) { + if (typeof additionalValue === 'number') { + return String(additionalValue); + } + else if (Array.isArray(additionalValue)) { + return additionalValue.join(', '); + } + else { + return additionalValue; + } + } + if (clientHeader !== undefined) { + return clientHeader; + } + return _default; } _getAgent(parsedUrl) { let agent; @@ -574,6 +648,17 @@ class HttpClient { } return proxyAgent; } + _getUserAgentWithOrchestrationId(userAgent) { + const baseUserAgent = userAgent || 'actions/http-client'; + const orchId = process.env['ACTIONS_ORCHESTRATION_ID']; + if (orchId) { + // Sanitize the orchestration ID to ensure it contains only valid characters + // Valid characters: 0-9, a-z, _, -, . + const sanitizedId = orchId.replace(/[^a-z0-9_.-]/gi, '_'); + return `${baseUserAgent} actions_orchestration_id/${sanitizedId}`; + } + return baseUserAgent; + } _performExponentialBackoff(retryNumber) { return __awaiter(this, void 0, void 0, function* () { retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); diff --git a/node_modules/@actions/http-client/lib/index.js.map b/node_modules/@actions/http-client/lib/index.js.map index 2a0d1a82..682ffd88 100644 --- a/node_modules/@actions/http-client/lib/index.js.map +++ b/node_modules/@actions/http-client/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;;;;;;;;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GAAG,EAAE,CAAC;oBACrB,IAAI,GAAW,CAAA;oBAEf,0DAA0D;oBAC1D,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;wBACvB,GAAG,GAAG,GAAG,CAAC,OAAO,CAAA;oBACnB,CAAC;yBAAM,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC3C,yEAAyE;wBACzE,GAAG,GAAG,QAAQ,CAAA;oBAChB,CAAC;yBAAM,CAAC;wBACN,GAAG,GAAG,oBAAoB,UAAU,GAAG,CAAA;oBACzC,CAAC;oBAED,MAAM,GAAG,GAAG,IAAI,eAAe,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;oBAChD,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAA;oBAE5B,MAAM,CAAC,GAAG,CAAC,CAAA;gBACb,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,QAAQ,CAAC,CAAA;gBACnB,CAAC;YACH,CAAC,CAAA,CAAC,CAAA;QACJ,CAAC;KAAA;CACF;AAhxBD,gCAgxBC;AAED,MAAM,aAAa,GAAG,CAAC,GAA2B,EAAO,EAAE,CACzD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/lib/interfaces.d.ts b/node_modules/@actions/http-client/lib/interfaces.d.ts index 775ced94..abc1616e 100644 --- a/node_modules/@actions/http-client/lib/interfaces.d.ts +++ b/node_modules/@actions/http-client/lib/interfaces.d.ts @@ -1,6 +1,3 @@ -/// -/// -/// import * as http from 'http'; import * as https from 'https'; import { HttpClientResponse } from './index'; diff --git a/node_modules/@actions/http-client/lib/proxy.js b/node_modules/@actions/http-client/lib/proxy.js index fac1cfc5..aef23f38 100644 --- a/node_modules/@actions/http-client/lib/proxy.js +++ b/node_modules/@actions/http-client/lib/proxy.js @@ -1,6 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.checkBypass = exports.getProxyUrl = void 0; +exports.getProxyUrl = getProxyUrl; +exports.checkBypass = checkBypass; function getProxyUrl(reqUrl) { const usingSsl = reqUrl.protocol === 'https:'; if (checkBypass(reqUrl)) { @@ -27,7 +28,6 @@ function getProxyUrl(reqUrl) { return undefined; } } -exports.getProxyUrl = getProxyUrl; function checkBypass(reqUrl) { if (!reqUrl.hostname) { return false; @@ -71,7 +71,6 @@ function checkBypass(reqUrl) { } return false; } -exports.checkBypass = checkBypass; function isLoopbackAddress(host) { const hostLower = host.toLowerCase(); return (hostLower === 'localhost' || diff --git a/node_modules/@actions/http-client/lib/proxy.js.map b/node_modules/@actions/http-client/lib/proxy.js.map index 0d7f8ccd..a89ed86f 100644 --- a/node_modules/@actions/http-client/lib/proxy.js.map +++ b/node_modules/@actions/http-client/lib/proxy.js.map @@ -1 +1 @@ -{"version":3,"file":"proxy.js","sourceRoot":"","sources":["../src/proxy.ts"],"names":[],"mappings":";;;AAAA,SAAgB,WAAW,CAAC,MAAW;IACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAA;IAE7C,IAAI,WAAW,CAAC,MAAM,CAAC,EAAE;QACvB,OAAO,SAAS,CAAA;KACjB;IAED,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE;QACrB,IAAI,QAAQ,EAAE;YACZ,OAAO,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;SAChE;aAAM;YACL,OAAO,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;SAC9D;IACH,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a,CAAC,IAAI,CAChB,CAAC,CAAC,EAAE,CACF,CAAC,KAAK,gBAAgB;gBACtB,CAAC,CAAC,QAAQ,CAAC,IAAI,gBAAgB,EAAE,CAAC;gBAClC,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC;oBAC/B,CAAC,CAAC,QAAQ,CAAC,GAAG,gBAAgB,EAAE,CAAC,CAAC,CACvC,EACD,CAAC;YACD,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAY;IACrC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;IACpC,OAAO,CACL,SAAS,KAAK,WAAW;QACzB,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC;QAC5B,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC;QAC7B,SAAS,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAC1C,CAAA;AACH,CAAC;AAED,MAAM,UAAW,SAAQ,GAAG;IAI1B,YAAY,GAAiB,EAAE,IAAmB;QAChD,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAChB,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;QAC1D,IAAI,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IAC5D,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAA;IAC9B,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@actions/http-client/package.json b/node_modules/@actions/http-client/package.json index 3960a83a..a218fb88 100644 --- a/node_modules/@actions/http-client/package.json +++ b/node_modules/@actions/http-client/package.json @@ -1,6 +1,6 @@ { "name": "@actions/http-client", - "version": "2.2.3", + "version": "3.0.1", "description": "Actions Http Client", "keywords": [ "github", @@ -39,13 +39,16 @@ "url": "https://github.com/actions/toolkit/issues" }, "devDependencies": { - "@types/node": "20.7.1", + "@types/node": "24.1.0", "@types/tunnel": "0.0.3", "proxy": "^2.1.1", "@types/proxy": "^1.0.1" }, "dependencies": { "tunnel": "^0.0.6", - "undici": "^5.25.4" + "undici": "^5.28.5" + }, + "overrides": { + "uri-js": "npm:uri-js-replace@^1.0.1" } -} \ No newline at end of file +} diff --git a/node_modules/@actions/io/lib/io-util.d.ts b/node_modules/@actions/io/lib/io-util.d.ts index 0241e72b..799a1613 100644 --- a/node_modules/@actions/io/lib/io-util.d.ts +++ b/node_modules/@actions/io/lib/io-util.d.ts @@ -1,7 +1,18 @@ -/// import * as fs from 'fs'; -export declare const chmod: typeof fs.promises.chmod, copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, open: typeof fs.promises.open, readdir: typeof fs.promises.readdir, readlink: typeof fs.promises.readlink, rename: typeof fs.promises.rename, rm: typeof fs.promises.rm, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, symlink: typeof fs.promises.symlink, unlink: typeof fs.promises.unlink; +export declare const chmod: typeof fs.promises.chmod, copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, open: typeof fs.promises.open, readdir: typeof fs.promises.readdir, rename: typeof fs.promises.rename, rm: typeof fs.promises.rm, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, symlink: typeof fs.promises.symlink, unlink: typeof fs.promises.unlink; export declare const IS_WINDOWS: boolean; +/** + * Custom implementation of readlink to ensure Windows junctions + * maintain trailing backslash for backward compatibility with Node.js < 24 + * + * In Node.js 20, Windows junctions (directory symlinks) always returned paths + * with trailing backslashes. Node.js 24 removed this behavior, which breaks + * code that relied on this format for path operations. + * + * This implementation restores the Node 20 behavior by adding a trailing + * backslash to all junction results on Windows. + */ +export declare function readlink(fsPath: string): Promise; export declare const UV_FS_O_EXLOCK = 268435456; export declare const READONLY: number; export declare function exists(fsPath: string): Promise; diff --git a/node_modules/@actions/io/lib/io-util.js b/node_modules/@actions/io/lib/io-util.js index f12e5b0d..ac9e7156 100644 --- a/node_modules/@actions/io/lib/io-util.js +++ b/node_modules/@actions/io/lib/io-util.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -29,21 +43,49 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; var _a; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; +exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; +exports.readlink = readlink; +exports.exists = exists; +exports.isDirectory = isDirectory; +exports.isRooted = isRooted; +exports.tryGetExecutablePath = tryGetExecutablePath; +exports.getCmdPath = getCmdPath; const fs = __importStar(require("fs")); const path = __importStar(require("path")); _a = fs.promises // export const {open} = 'fs' -, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; +, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; // export const {open} = 'fs' exports.IS_WINDOWS = process.platform === 'win32'; +/** + * Custom implementation of readlink to ensure Windows junctions + * maintain trailing backslash for backward compatibility with Node.js < 24 + * + * In Node.js 20, Windows junctions (directory symlinks) always returned paths + * with trailing backslashes. Node.js 24 removed this behavior, which breaks + * code that relied on this format for path operations. + * + * This implementation restores the Node 20 behavior by adding a trailing + * backslash to all junction results on Windows. + */ +function readlink(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + const result = yield fs.promises.readlink(fsPath); + // On Windows, restore Node 20 behavior: add trailing backslash to all results + // since junctions on Windows are always directory links + if (exports.IS_WINDOWS && !result.endsWith('\\')) { + return `${result}\\`; + } + return result; + }); +} // See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 exports.UV_FS_O_EXLOCK = 0x10000000; exports.READONLY = fs.constants.O_RDONLY; function exists(fsPath) { return __awaiter(this, void 0, void 0, function* () { try { - yield exports.stat(fsPath); + yield (0, exports.stat)(fsPath); } catch (err) { if (err.code === 'ENOENT') { @@ -54,14 +96,12 @@ function exists(fsPath) { return true; }); } -exports.exists = exists; -function isDirectory(fsPath, useStat = false) { - return __awaiter(this, void 0, void 0, function* () { - const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); +function isDirectory(fsPath_1) { + return __awaiter(this, arguments, void 0, function* (fsPath, useStat = false) { + const stats = useStat ? yield (0, exports.stat)(fsPath) : yield (0, exports.lstat)(fsPath); return stats.isDirectory(); }); } -exports.isDirectory = isDirectory; /** * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). @@ -77,7 +117,6 @@ function isRooted(p) { } return p.startsWith('/'); } -exports.isRooted = isRooted; /** * Best effort attempt to determine whether a file exists and is executable. * @param filePath file path to check @@ -89,7 +128,7 @@ function tryGetExecutablePath(filePath, extensions) { let stats = undefined; try { // test file exists - stats = yield exports.stat(filePath); + stats = yield (0, exports.stat)(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -117,7 +156,7 @@ function tryGetExecutablePath(filePath, extensions) { filePath = originalFilePath + extension; stats = undefined; try { - stats = yield exports.stat(filePath); + stats = yield (0, exports.stat)(filePath); } catch (err) { if (err.code !== 'ENOENT') { @@ -131,7 +170,7 @@ function tryGetExecutablePath(filePath, extensions) { try { const directory = path.dirname(filePath); const upperName = path.basename(filePath).toUpperCase(); - for (const actualName of yield exports.readdir(directory)) { + for (const actualName of yield (0, exports.readdir)(directory)) { if (upperName === actualName.toUpperCase()) { filePath = path.join(directory, actualName); break; @@ -154,7 +193,6 @@ function tryGetExecutablePath(filePath, extensions) { return ''; }); } -exports.tryGetExecutablePath = tryGetExecutablePath; function normalizeSeparators(p) { p = p || ''; if (exports.IS_WINDOWS) { @@ -171,13 +209,16 @@ function normalizeSeparators(p) { // 256 128 64 32 16 8 4 2 1 function isUnixExecutable(stats) { return ((stats.mode & 1) > 0 || - ((stats.mode & 8) > 0 && stats.gid === process.getgid()) || - ((stats.mode & 64) > 0 && stats.uid === process.getuid())); + ((stats.mode & 8) > 0 && + process.getgid !== undefined && + stats.gid === process.getgid()) || + ((stats.mode & 64) > 0 && + process.getuid !== undefined && + stats.uid === process.getuid())); } // Get the path of cmd.exe in windows function getCmdPath() { var _a; return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; } -exports.getCmdPath = getCmdPath; //# sourceMappingURL=io-util.js.map \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io-util.js.map b/node_modules/@actions/io/lib/io-util.js.map index 9a587b30..9dd601d7 100644 --- a/node_modules/@actions/io/lib/io-util.js.map +++ b/node_modules/@actions/io/lib/io-util.js.map @@ -1 +1 @@ -{"version":3,"file":"io-util.js","sourceRoot":"","sources":["../src/io-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,2CAA4B;AAEf,KAcT,EAAE,CAAC,QAAQ;AACf,6BAA6B;EAd3B,aAAK,aACL,gBAAQ,gBACR,aAAK,aACL,aAAK,aACL,YAAI,YACJ,eAAO,eACP,gBAAQ,gBACR,cAAM,cACN,UAAE,UACF,aAAK,aACL,YAAI,YACJ,eAAO,eACP,cAAM,aACO;AACf,6BAA6B;AAChB,QAAA,UAAU,GAAG,OAAO,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AAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjC,CAAC;AAED,qCAAqC;AACrC,6BAA6B;AAC7B,6BAA6B;AAC7B,SAAS,gBAAgB,CAAC,KAAe;IACvC,OAAO,CACL,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC;QACpB,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC;YACnB,OAAO,CAAC,MAAM,KAAK,SAAS;YAC5B,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC;QACjC,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC;YACpB,OAAO,CAAC,MAAM,KAAK,SAAS;YAC5B,KAAK,CAAC,GAAG,KAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAClC,CAAA;AACH,CAAC;AAED,qCAAqC;AACrC,SAAgB,UAAU;;IACxB,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAA;AAC5C,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io.js b/node_modules/@actions/io/lib/io.js index 15f7d7cf..8e50a68d 100644 --- a/node_modules/@actions/io/lib/io.js +++ b/node_modules/@actions/io/lib/io.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -28,7 +42,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; +exports.cp = cp; +exports.mv = mv; +exports.rmRF = rmRF; +exports.mkdirP = mkdirP; +exports.which = which; +exports.findInPath = findInPath; const assert_1 = require("assert"); const path = __importStar(require("path")); const ioUtil = __importStar(require("./io-util")); @@ -40,8 +59,8 @@ const ioUtil = __importStar(require("./io-util")); * @param dest destination path * @param options optional. See CopyOptions. */ -function cp(source, dest, options = {}) { - return __awaiter(this, void 0, void 0, function* () { +function cp(source_1, dest_1) { + return __awaiter(this, arguments, void 0, function* (source, dest, options = {}) { const { force, recursive, copySourceDirectory } = readCopyOptions(options); const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null; // Dest is an existing file, but not forcing @@ -73,7 +92,6 @@ function cp(source, dest, options = {}) { } }); } -exports.cp = cp; /** * Moves a path. * @@ -81,8 +99,8 @@ exports.cp = cp; * @param dest destination path * @param options optional. See MoveOptions. */ -function mv(source, dest, options = {}) { - return __awaiter(this, void 0, void 0, function* () { +function mv(source_1, dest_1) { + return __awaiter(this, arguments, void 0, function* (source, dest, options = {}) { if (yield ioUtil.exists(dest)) { let destExists = true; if (yield ioUtil.isDirectory(dest)) { @@ -103,7 +121,6 @@ function mv(source, dest, options = {}) { yield ioUtil.rename(source, dest); }); } -exports.mv = mv; /** * Remove a path recursively with force * @@ -132,7 +149,6 @@ function rmRF(inputPath) { } }); } -exports.rmRF = rmRF; /** * Make a directory. Creates the full path with folders in between * Will throw if it fails @@ -142,11 +158,10 @@ exports.rmRF = rmRF; */ function mkdirP(fsPath) { return __awaiter(this, void 0, void 0, function* () { - assert_1.ok(fsPath, 'a path argument must be provided'); + (0, assert_1.ok)(fsPath, 'a path argument must be provided'); yield ioUtil.mkdir(fsPath, { recursive: true }); }); } -exports.mkdirP = mkdirP; /** * Returns path of a tool had the tool actually been invoked. Resolves via paths. * If you check and the tool does not exist, it will throw. @@ -180,7 +195,6 @@ function which(tool, check) { return ''; }); } -exports.which = which; /** * Returns a list of all occurrences of the given tool on the system path. * @@ -237,7 +251,6 @@ function findInPath(tool) { return matches; }); } -exports.findInPath = findInPath; function readCopyOptions(options) { const force = options.force == null ? true : options.force; const recursive = Boolean(options.recursive); diff --git a/node_modules/@actions/io/lib/io.js.map b/node_modules/@actions/io/lib/io.js.map index 4021d289..2e9d3668 100644 --- a/node_modules/@actions/io/lib/io.js.map +++ b/node_modules/@actions/io/lib/io.js.map @@ -1 +1 @@ -{"version":3,"file":"io.js","sourceRoot":"","sources":["../src/io.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAyB;AACzB,2CAA4B;AAC5B,kDAAmC;AAsBnC;;;;;;;GAOG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,MAAM,EAAC,KAAK,EAAE,SAAS,EAAE,mBAAmB,E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,EAChB,KAAc;;QAEd,IAAI,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC;YACnD,oBAAoB;YACpB,IAAI,CAAC;gBACH,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;gBAC5B,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;YAC/B,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,kCAAkC;gBAClC,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;oBACvB,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;oBACpC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;gBAC/B,CAAC;gBACD,iDAAiD;YACnD,CAAC;YAED,oBAAoB;YACpB,MAAM,WAAW,GAAW,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;YAC1D,MAAM,MAAM,CAAC,OAAO,CAClB,WAAW,EACX,QAAQ,EACR,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACtC,CAAA;QACH,CAAC;aAAM,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC;YACrD,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;QAC1C,CAAC;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@actions/io/package.json b/node_modules/@actions/io/package.json index e8c8d8fb..f0be1206 100644 --- a/node_modules/@actions/io/package.json +++ b/node_modules/@actions/io/package.json @@ -1,6 +1,6 @@ { "name": "@actions/io", - "version": "1.1.3", + "version": "2.0.0", "description": "Actions io lib", "keywords": [ "github", diff --git a/node_modules/@octokit/core/dist-node/index.js b/node_modules/@octokit/core/dist-node/index.js index 1e67874e..5b9fc66b 100644 --- a/node_modules/@octokit/core/dist-node/index.js +++ b/node_modules/@octokit/core/dist-node/index.js @@ -30,13 +30,28 @@ var import_graphql = require("@octokit/graphql"); var import_auth_token = require("@octokit/auth-token"); // pkg/dist-src/version.js -var VERSION = "5.2.1"; +var VERSION = "5.2.2"; // pkg/dist-src/index.js var noop = () => { }; var consoleWarn = console.warn.bind(console); var consoleError = console.error.bind(console); +function createLogger(logger = {}) { + if (typeof logger.debug !== "function") { + logger.debug = noop; + } + if (typeof logger.info !== "function") { + logger.info = noop; + } + if (typeof logger.warn !== "function") { + logger.warn = consoleWarn; + } + if (typeof logger.error !== "function") { + logger.error = consoleError; + } + return logger; +} var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`; var Octokit = class { static { @@ -110,15 +125,7 @@ var Octokit = class { } this.request = import_request.request.defaults(requestDefaults); this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults); - this.log = Object.assign( - { - debug: noop, - info: noop, - warn: consoleWarn, - error: consoleError - }, - options.log - ); + this.log = createLogger(options.log); this.hook = hook; if (!options.authStrategy) { if (!options.auth) { diff --git a/node_modules/@octokit/core/dist-node/index.js.map b/node_modules/@octokit/core/dist-node/index.js.map index b1520202..4700b471 100644 --- a/node_modules/@octokit/core/dist-node/index.js.map +++ b/node_modules/@octokit/core/dist-node/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../dist-src/index.js", "../dist-src/version.js"], - "sourcesContent": ["import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { graphql, withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version.js\";\nconst noop = () => {\n};\nconst consoleWarn = console.warn.bind(console);\nconst consoleError = console.error.bind(console);\nconst userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`;\nclass Octokit {\n static {\n this.VERSION = VERSION;\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(\n Object.assign(\n {},\n defaults,\n options,\n options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null\n )\n );\n }\n };\n return OctokitWithDefaults;\n }\n static {\n this.plugins = [];\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n const currentPlugins = this.plugins;\n const NewOctokit = class extends this {\n static {\n this.plugins = currentPlugins.concat(\n newPlugins.filter((plugin) => !currentPlugins.includes(plugin))\n );\n }\n };\n return NewOctokit;\n }\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n };\n requestDefaults.headers[\"user-agent\"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign(\n {\n debug: noop,\n info: noop,\n warn: consoleWarn,\n error: consoleError\n },\n options.log\n );\n this.hook = hook;\n if (!options.authStrategy) {\n if (!options.auth) {\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n const auth = createTokenAuth(options.auth);\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(\n Object.assign(\n {\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n },\n options.auth\n )\n );\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n const classConstructor = this.constructor;\n for (let i = 0; i < classConstructor.plugins.length; ++i) {\n Object.assign(this, classConstructor.plugins[i](this, options));\n }\n }\n}\nexport {\n Octokit\n};\n", "const VERSION = \"5.2.1\";\nexport {\n VERSION\n};\n"], - "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA6B;AAC7B,+BAA2B;AAC3B,qBAAwB;AACxB,qBAA2C;AAC3C,wBAAgC;;;ACJhC,IAAM,UAAU;;;ADMhB,IAAM,OAAO,MAAM;AACnB;AACA,IAAM,cAAc,QAAQ,KAAK,KAAK,OAAO;AAC7C,IAAM,eAAe,QAAQ,MAAM,KAAK,OAAO;AAC/C,IAAM,iBAAiB,mBAAmB,OAAO,QAAI,0CAAa,CAAC;AACnE,IAAM,UAAN,MAAc;AAAA,EACZ,OAAO;AACL,SAAK,UAAU;AAAA,EACjB;AAAA,EACA,OAAO,SAAS,UAAU;AACxB,UAAM,sBAAsB,cAAc,KAAK;AAAA,MAC7C,eAAe,MAAM;AACnB,cAAM,UAAU,KAAK,CAAC,KAAK,CAAC;AAC5B,YAAI,OAAO,aAAa,YAAY;AAClC,gBAAM,SAAS,OAAO,CAAC;AACvB;AAAA,QACF;AACA;AAAA,UACE,OAAO;AAAA,YACL,CAAC;AAAA,YACD;AAAA,YACA;AAAA,YACA,QAAQ,aAAa,SAAS,YAAY;AAAA,cACxC,WAAW,GAAG,QAAQ,SAAS,IAAI,SAAS,SAAS;AAAA,YACvD,IAAI;AAAA,UACN;AAAA,QACF;AAAA,MACF;AAAA,IACF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AAQ;AAAA,IACV;AACA,SAAK,OAAO;AACZ,QAAI,CAAC,QAAQ,cAAc;AACzB,UAAI,CAAC,QAAQ,MAAM;AACjB,aAAK,OAAO,aAAa;AAAA,UACvB,MAAM;AAAA,QACR;AAAA,MACF,OAAO;AACL,cAAM,WAAO,mCAAgB,QAAQ,IAAI;AACzC,aAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,aAAK,OAAO;AAAA,MACd;AAAA,IACF,OAAO;AACL,YAAM,EAAE,cAAc,GAAG,aAAa,IAAI;AAC1C,YAAM,OAAO;AAAA,QACX,OAAO;AAAA,UACL;AAAA,YACE,SAAS,KAAK;AAAA,YACd,KAAK,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAMV,SAAS;AAAA,YACT,gBAAgB;AAAA,UAClB;AAAA,UACA,QAAQ;AAAA,QACV;AAAA,MACF;AACA,WAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,WAAK,OAAO;AAAA,IACd;AACA,UAAM,mBAAmB,KAAK;AAC9B,aAAS,IAAI,GAAG,IAAI,iBAAiB,QAAQ,QAAQ,EAAE,GAAG;AACxD,aAAO,OAAO,MAAM,iBAAiB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;AAAA,IAChE;AAAA,EACF;AACF;", + "sourcesContent": ["import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { graphql, withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version.js\";\nconst noop = () => {\n};\nconst consoleWarn = console.warn.bind(console);\nconst consoleError = console.error.bind(console);\nfunction createLogger(logger = {}) {\n if (typeof logger.debug !== \"function\") {\n logger.debug = noop;\n }\n if (typeof logger.info !== \"function\") {\n logger.info = noop;\n }\n if (typeof logger.warn !== \"function\") {\n logger.warn = consoleWarn;\n }\n if (typeof logger.error !== \"function\") {\n logger.error = consoleError;\n }\n return logger;\n}\nconst userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`;\nclass Octokit {\n static {\n this.VERSION = VERSION;\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(\n Object.assign(\n {},\n defaults,\n options,\n options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null\n )\n );\n }\n };\n return OctokitWithDefaults;\n }\n static {\n this.plugins = [];\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n const currentPlugins = this.plugins;\n const NewOctokit = class extends this {\n static {\n this.plugins = currentPlugins.concat(\n newPlugins.filter((plugin) => !currentPlugins.includes(plugin))\n );\n }\n };\n return NewOctokit;\n }\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n };\n requestDefaults.headers[\"user-agent\"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = createLogger(options.log);\n this.hook = hook;\n if (!options.authStrategy) {\n if (!options.auth) {\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n const auth = createTokenAuth(options.auth);\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(\n Object.assign(\n {\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n },\n options.auth\n )\n );\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n const classConstructor = this.constructor;\n for (let i = 0; i < classConstructor.plugins.length; ++i) {\n Object.assign(this, classConstructor.plugins[i](this, options));\n }\n }\n}\nexport {\n Octokit\n};\n", "const VERSION = \"5.2.2\";\nexport {\n VERSION\n};\n"], + "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAA6B;AAC7B,+BAA2B;AAC3B,qBAAwB;AACxB,qBAA2C;AAC3C,wBAAgC;;;ACJhC,IAAM,UAAU;;;ADMhB,IAAM,OAAO,MAAM;AACnB;AACA,IAAM,cAAc,QAAQ,KAAK,KAAK,OAAO;AAC7C,IAAM,eAAe,QAAQ,MAAM,KAAK,OAAO;AAC/C,SAAS,aAAa,SAAS,CAAC,GAAG;AACjC,MAAI,OAAO,OAAO,UAAU,YAAY;AACtC,WAAO,QAAQ;AAAA,EACjB;AACA,MAAI,OAAO,OAAO,SAAS,YAAY;AACrC,WAAO,OAAO;AAAA,EAChB;AACA,MAAI,OAAO,OAAO,SAAS,YAAY;AACrC,WAAO,OAAO;AAAA,EAChB;AACA,MAAI,OAAO,OAAO,UAAU,YAAY;AACtC,WAAO,QAAQ;AAAA,EACjB;AACA,SAAO;AACT;AACA,IAAM,iBAAiB,mBAAmB,OAAO,QAAI,0CAAa,CAAC;AACnE,IAAM,UAAN,MAAc;AAAA,EACZ,OAAO;AACL,SAAK,UAAU;AAAA,EACjB;AAAA,EACA,OAAO,SAAS,UAAU;AACxB,UAAM,sBAAsB,cAAc,KAAK;AAAA,MAC7C,eAAe,MAAM;AACnB,cAAM,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W,QAAQ;AAAA,IAC/C;AACA,QAAI,QAAQ,UAAU;AACpB,sBAAgB,QAAQ,WAAW,IAAI,QAAQ;AAAA,IACjD;AACA,SAAK,UAAU,uBAAQ,SAAS,eAAe;AAC/C,SAAK,cAAU,kCAAkB,KAAK,OAAO,EAAE,SAAS,eAAe;AACvE,SAAK,MAAM,aAAa,QAAQ,GAAG;AACnC,SAAK,OAAO;AACZ,QAAI,CAAC,QAAQ,cAAc;AACzB,UAAI,CAAC,QAAQ,MAAM;AACjB,aAAK,OAAO,aAAa;AAAA,UACvB,MAAM;AAAA,QACR;AAAA,MACF,OAAO;AACL,cAAM,WAAO,mCAAgB,QAAQ,IAAI;AACzC,aAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,aAAK,OAAO;AAAA,MACd;AAAA,IACF,OAAO;AACL,YAAM,EAAE,cAAc,GAAG,aAAa,IAAI;AAC1C,YAAM,OAAO;AAAA,QACX,OAAO;AAAA,UACL;AAAA,YACE,SAAS,KAAK;AAAA,YACd,KAAK,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAMV,SAAS;AAAA,YACT,gBAAgB;AAAA,UAClB;AAAA,UACA,QAAQ;AAAA,QACV;AAAA,MACF;AACA,WAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,WAAK,OAAO;AAAA,IACd;AACA,UAAM,mBAAmB,KAAK;AAC9B,aAAS,IAAI,GAAG,IAAI,iBAAiB,QAAQ,QAAQ,EAAE,GAAG;AACxD,aAAO,OAAO,MAAM,iBAAiB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;AAAA,IAChE;AAAA,EACF;AACF;", "names": [] } diff --git a/node_modules/@octokit/core/dist-src/index.js b/node_modules/@octokit/core/dist-src/index.js index cbea61b9..a2d404cc 100644 --- a/node_modules/@octokit/core/dist-src/index.js +++ b/node_modules/@octokit/core/dist-src/index.js @@ -8,6 +8,21 @@ const noop = () => { }; const consoleWarn = console.warn.bind(console); const consoleError = console.error.bind(console); +function createLogger(logger = {}) { + if (typeof logger.debug !== "function") { + logger.debug = noop; + } + if (typeof logger.info !== "function") { + logger.info = noop; + } + if (typeof logger.warn !== "function") { + logger.warn = consoleWarn; + } + if (typeof logger.error !== "function") { + logger.error = consoleError; + } + return logger; +} const userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`; class Octokit { static { @@ -81,15 +96,7 @@ class Octokit { } this.request = request.defaults(requestDefaults); this.graphql = withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign( - { - debug: noop, - info: noop, - warn: consoleWarn, - error: consoleError - }, - options.log - ); + this.log = createLogger(options.log); this.hook = hook; if (!options.authStrategy) { if (!options.auth) { diff --git a/node_modules/@octokit/core/dist-src/version.js b/node_modules/@octokit/core/dist-src/version.js index 7977e8b0..5ca6e417 100644 --- a/node_modules/@octokit/core/dist-src/version.js +++ b/node_modules/@octokit/core/dist-src/version.js @@ -1,4 +1,4 @@ -const VERSION = "5.2.1"; +const VERSION = "5.2.2"; export { VERSION }; diff --git a/node_modules/@octokit/core/dist-types/version.d.ts b/node_modules/@octokit/core/dist-types/version.d.ts index a5ddcfd1..d27375ec 100644 --- a/node_modules/@octokit/core/dist-types/version.d.ts +++ b/node_modules/@octokit/core/dist-types/version.d.ts @@ -1 +1 @@ -export declare const VERSION = "5.2.1"; +export declare const VERSION = "5.2.2"; diff --git a/node_modules/@octokit/core/dist-web/index.js b/node_modules/@octokit/core/dist-web/index.js index e7b296f7..a562cfcb 100644 --- a/node_modules/@octokit/core/dist-web/index.js +++ b/node_modules/@octokit/core/dist-web/index.js @@ -6,13 +6,28 @@ import { graphql, withCustomRequest } from "@octokit/graphql"; import { createTokenAuth } from "@octokit/auth-token"; // pkg/dist-src/version.js -var VERSION = "5.2.1"; +var VERSION = "5.2.2"; // pkg/dist-src/index.js var noop = () => { }; var consoleWarn = console.warn.bind(console); var consoleError = console.error.bind(console); +function createLogger(logger = {}) { + if (typeof logger.debug !== "function") { + logger.debug = noop; + } + if (typeof logger.info !== "function") { + logger.info = noop; + } + if (typeof logger.warn !== "function") { + logger.warn = consoleWarn; + } + if (typeof logger.error !== "function") { + logger.error = consoleError; + } + return logger; +} var userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`; var Octokit = class { static { @@ -86,15 +101,7 @@ var Octokit = class { } this.request = request.defaults(requestDefaults); this.graphql = withCustomRequest(this.request).defaults(requestDefaults); - this.log = Object.assign( - { - debug: noop, - info: noop, - warn: consoleWarn, - error: consoleError - }, - options.log - ); + this.log = createLogger(options.log); this.hook = hook; if (!options.authStrategy) { if (!options.auth) { diff --git a/node_modules/@octokit/core/dist-web/index.js.map b/node_modules/@octokit/core/dist-web/index.js.map index ccce056d..abd5281a 100644 --- a/node_modules/@octokit/core/dist-web/index.js.map +++ b/node_modules/@octokit/core/dist-web/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../dist-src/index.js", "../dist-src/version.js"], - "sourcesContent": ["import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { graphql, withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version.js\";\nconst noop = () => {\n};\nconst consoleWarn = console.warn.bind(console);\nconst consoleError = console.error.bind(console);\nconst userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`;\nclass Octokit {\n static {\n this.VERSION = VERSION;\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(\n Object.assign(\n {},\n defaults,\n options,\n options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null\n )\n );\n }\n };\n return OctokitWithDefaults;\n }\n static {\n this.plugins = [];\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n const currentPlugins = this.plugins;\n const NewOctokit = class extends this {\n static {\n this.plugins = currentPlugins.concat(\n newPlugins.filter((plugin) => !currentPlugins.includes(plugin))\n );\n }\n };\n return NewOctokit;\n }\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n };\n requestDefaults.headers[\"user-agent\"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign(\n {\n debug: noop,\n info: noop,\n warn: consoleWarn,\n error: consoleError\n },\n options.log\n );\n this.hook = hook;\n if (!options.authStrategy) {\n if (!options.auth) {\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n const auth = createTokenAuth(options.auth);\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(\n Object.assign(\n {\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n },\n options.auth\n )\n );\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n const classConstructor = this.constructor;\n for (let i = 0; i < classConstructor.plugins.length; ++i) {\n Object.assign(this, classConstructor.plugins[i](this, options));\n }\n }\n}\nexport {\n Octokit\n};\n",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AS,KAAK;AAAA,YACd,KAAK,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAMV,SAAS;AAAA,YACT,gBAAgB;AAAA,UAClB;AAAA,UACA,QAAQ;AAAA,QACV;AAAA,MACF;AACA,WAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,WAAK,OAAO;AAAA,IACd;AACA,UAAM,mBAAmB,KAAK;AAC9B,aAAS,IAAI,GAAG,IAAI,iBAAiB,QAAQ,QAAQ,EAAE,GAAG;AACxD,aAAO,OAAO,MAAM,iBAAiB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;AAAA,IAChE;AAAA,EACF;AACF;", + "sourcesContent": ["import { getUserAgent } from \"universal-user-agent\";\nimport { Collection } from \"before-after-hook\";\nimport { request } from \"@octokit/request\";\nimport { graphql, withCustomRequest } from \"@octokit/graphql\";\nimport { createTokenAuth } from \"@octokit/auth-token\";\nimport { VERSION } from \"./version.js\";\nconst noop = () => {\n};\nconst consoleWarn = console.warn.bind(console);\nconst consoleError = console.error.bind(console);\nfunction createLogger(logger = {}) {\n if (typeof logger.debug !== \"function\") {\n logger.debug = noop;\n }\n if (typeof logger.info !== \"function\") {\n logger.info = noop;\n }\n if (typeof logger.warn !== \"function\") {\n logger.warn = consoleWarn;\n }\n if (typeof logger.error !== \"function\") {\n logger.error = consoleError;\n }\n return logger;\n}\nconst userAgentTrail = `octokit-core.js/${VERSION} ${getUserAgent()}`;\nclass Octokit {\n static {\n this.VERSION = VERSION;\n }\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n super(\n Object.assign(\n {},\n defaults,\n options,\n options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null\n )\n );\n }\n };\n return OctokitWithDefaults;\n }\n static {\n this.plugins = [];\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n static plugin(...newPlugins) {\n const currentPlugins = this.plugins;\n const NewOctokit = class extends this {\n static {\n this.plugins = currentPlugins.concat(\n newPlugins.filter((plugin) => !currentPlugins.includes(plugin))\n );\n }\n };\n return NewOctokit;\n }\n constructor(options = {}) {\n const hook = new Collection();\n const requestDefaults = {\n baseUrl: request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n };\n requestDefaults.headers[\"user-agent\"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail;\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n this.request = request.defaults(requestDefaults);\n this.graphql = withCustomRequest(this.request).defaults(requestDefaults);\n this.log = createLogger(options.log);\n this.hook = hook;\n if (!options.authStrategy) {\n if (!options.auth) {\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n const auth = createTokenAuth(options.auth);\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const { authStrategy, ...otherOptions } = options;\n const auth = authStrategy(\n Object.assign(\n {\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n },\n options.auth\n )\n );\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n const classConstructor = this.constructor;\n for (let i = 0; i < classConstructor.plugins.length; ++i) {\n Object.assign(this, classConstructor.plugins[i](this, options));\n }\n }\n}\nexport {\n Octokit\n};\n", "const VERSION = \"5.2.2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,IAAI;AACzC,aAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,aAAK,OAAO;AAAA,MACd;AAAA,IACF,OAAO;AACL,YAAM,EAAE,cAAc,GAAG,aAAa,IAAI;AAC1C,YAAM,OAAO;AAAA,QACX,OAAO;AAAA,UACL;AAAA,YACE,SAAS,KAAK;AAAA,YACd,KAAK,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAMV,SAAS;AAAA,YACT,gBAAgB;AAAA,UAClB;AAAA,UACA,QAAQ;AAAA,QACV;AAAA,MACF;AACA,WAAK,KAAK,WAAW,KAAK,IAAI;AAC9B,WAAK,OAAO;AAAA,IACd;AACA,UAAM,mBAAmB,KAAK;AAC9B,aAAS,IAAI,GAAG,IAAI,iBAAiB,QAAQ,QAAQ,EAAE,GAAG;AACxD,aAAO,OAAO,MAAM,iBAAiB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;AAAA,IAChE;AAAA,EACF;AACF;", "names": [] } diff --git a/node_modules/@octokit/core/node_modules/@octokit/openapi-types/package.json b/node_modules/@octokit/core/node_modules/@octokit/openapi-types/package.json deleted file mode 100644 index 350a5825..00000000 --- a/node_modules/@octokit/core/node_modules/@octokit/openapi-types/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@octokit/openapi-types", - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "repository": { - "type": "git", - "url": "https://github.com/octokit/openapi-types.ts.git", - "directory": "packages/openapi-types" - }, - "publishConfig": { - "access": "public", - "provenance": true - }, - "version": "22.2.0", - "main": "", - "types": "types.d.ts", - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "license": "MIT", - "octokit": { - "openapi-version": "16.5.0" - } -} diff --git a/node_modules/@octokit/core/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/core/node_modules/@octokit/types/dist-types/VERSION.d.ts deleted file mode 100644 index be7c05d5..00000000 --- a/node_modules/@octokit/core/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "13.5.0"; diff --git a/node_modules/@octokit/core/package.json b/node_modules/@octokit/core/package.json index ebe74c50..a69e765d 100644 --- a/node_modules/@octokit/core/package.json +++ b/node_modules/@octokit/core/package.json @@ -1,6 +1,6 @@ { "name": "@octokit/core", - "version": "5.2.1", + "version": "5.2.2", "publishConfig": { "access": "public", "provenance": true diff --git a/node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types/package.json b/node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types/package.json deleted file mode 100644 index 350a5825..00000000 --- a/node_modules/@octokit/endpoint/node_modules/@octokit/openapi-types/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@octokit/openapi-types", - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "repository": { - "type": "git", - "url": "https://github.com/octokit/openapi-types.ts.git", - "directory": "packages/openapi-types" - }, - "publishConfig": { - "access": "public", - "provenance": true - }, - "version": "22.2.0", - "main": "", - "types": "types.d.ts", - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "license": "MIT", - "octokit": { - "openapi-version": "16.5.0" - } -} diff --git a/node_modules/@octokit/endpoint/node_modules/@octokit/types/dist-types/VERSION.d.ts b/node_modules/@octokit/endpoint/node_modules/@octokit/types/dist-types/VERSION.d.ts deleted file mode 100644 index be7c05d5..00000000 --- a/node_modules/@octokit/endpoint/node_modules/@octokit/types/dist-types/VERSION.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const VERSION = "13.5.0"; diff --git a/node_modules/@octokit/endpoint/node_modules/@octokit/types/package.json b/node_modules/@octokit/endpoint/node_modules/@octokit/types/package.json deleted file mode 100644 index 7ee12d25..00000000 --- a/node_modules/@octokit/endpoint/node_modules/@octokit/types/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@octokit/types", - "version": "13.5.0", - "publishConfig": { - "access": "public", - "provenance": true - }, - "description": "Shared TypeScript definitions for Octokit projects", - "dependencies": { - "@octokit/openapi-types": "^22.2.0" - }, - "repository": "github:octokit/types.ts", - "keywords": [ - "github", - "api", - "sdk", - "toolkit", - "typescript" - ], - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "license": "MIT", - "devDependencies": { - "@octokit/tsconfig": "^2.0.0", - "@types/node": ">= 8", - "github-openapi-graphql-query": "^4.0.0", - "handlebars": "^4.7.6", - "json-schema-to-typescript": "^14.0.0", - "lodash.set": "^4.3.2", - "npm-run-all2": "^6.0.0", - "pascal-case": "^4.0.0", - "prettier": "^3.0.0", - "semantic-release": "^23.0.0", - "semantic-release-plugin-update-version-in-files": "^1.0.0", - "sort-keys": "^5.0.0", - "string-to-jsdoc-comment": "^1.0.0", - "typedoc": "^0.25.0", - "typescript": "^5.0.0" - }, - "octokit": { - "openapi-version": "16.5.0" - }, - "files": [ - "dist-types/**" - ], - "types": "dist-types/index.d.ts", - "sideEffects": false -} diff --git a/node_modules/@octokit/graphql-schema/LICENSE.md b/node_modules/@octokit/graphql-schema/LICENSE.md new file mode 100644 index 00000000..2779f802 --- /dev/null +++ b/node_modules/@octokit/graphql-schema/LICENSE.md @@ -0,0 +1,20 @@ +Copyright (c) GitHub 2025 - Licensed as MIT. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@octokit/graphql-schema/README.md b/node_modules/@octokit/graphql-schema/README.md new file mode 100644 index 00000000..15b42585 --- /dev/null +++ b/node_modules/@octokit/graphql-schema/README.md @@ -0,0 +1,83 @@ +# graphql-schema + +> GitHub’s GraphQL Schema with validation. Automatically updated. + +![Test](https://github.com/octokit/graphql-schema/workflows/Test/badge.svg) + +## Usage + +### Validation + +```js +import { validate } from "@octokit/graphql-schema"; +const errors = validate(` +{ + viewer { + login + } +} +`); + +// errors is array. Contains errors if any +``` + +You can also load the current Schema directly as JSON or [IDL](https://en.wikipedia.org/wiki/Interface_description_language). + +```js +import { schema } from "@octokit/graphql-schema"; +schema.json; // JSON version +schema.idl; // IDL version +``` + +### Schema as Types + +```ts +import { graphql } from "@octokit/graphql"; +import { Repository } from "@octokit/graphql-schema"; + +const { repository } = await graphql<{ repository: Repository }>( + ` + { + repository(owner: "octokit", name: "graphql.js") { + issues(last: 3) { + edges { + node { + title + } + } + } + } + } + `, + { + headers: { + authorization: `token secret123`, + }, + }, +); +``` + +## Local setup + +``` +git clone https://github.com/octokit/graphql-schema.git +cd graphql-schema +npm install +npm test +``` + +Update schema files (`GITHUB_TOKEN` requires no scope) + +``` +GITHUB_TOKEN=... npm run update +``` + +## See also + +- [octokit/openapi](https://github.com/octokit/openapi) – GitHub's OpenAPI specification with `x-octokit` extension +- [octokit/webhooks](https://github.com/octokit/webhooks) – GitHub Webhooks specifications +- [octokit/app-permissions](https://github.com/octokit/app-permissions) – GitHub App permission specifications + +## LICENSE + +[MIT](LICENSE.md) diff --git a/node_modules/@octokit/graphql-schema/index.d.ts b/node_modules/@octokit/graphql-schema/index.d.ts new file mode 100644 index 00000000..cc7dd3ef --- /dev/null +++ b/node_modules/@octokit/graphql-schema/index.d.ts @@ -0,0 +1,17 @@ +import { GraphQLError } from "graphql"; + +type JsonSchema = { + [key: string]: any; +}; + +type Schema = { + idl: string; + json: JsonSchema; +}; + +type Validate = (query: ReadonlyArray | Readonly) => ReadonlyArray; + +export const schema: Schema +export const validate: Validate + +export type * from './schema.d.ts' diff --git a/node_modules/@octokit/graphql-schema/index.js b/node_modules/@octokit/graphql-schema/index.js new file mode 100644 index 00000000..ab6d05ec --- /dev/null +++ b/node_modules/@octokit/graphql-schema/index.js @@ -0,0 +1,10 @@ +import { readFileSync } from 'node:fs'; +import validate from './lib/validate.js'; + +export { validate }; +export const schema = { + get idl () { + return readFileSync(new URL('./schema.graphql', import.meta.url), 'utf8') + }, + json: JSON.parse(readFileSync(new URL('./schema.json', import.meta.url), 'utf8')) +} diff --git a/node_modules/@octokit/graphql-schema/lib/validate.js b/node_modules/@octokit/graphql-schema/lib/validate.js new file mode 100644 index 00000000..367b3bc7 --- /dev/null +++ b/node_modules/@octokit/graphql-schema/lib/validate.js @@ -0,0 +1,13 @@ +export default validateQuery; + +import { readFileSync } from "node:fs"; +import { buildClientSchema, validate } from "graphql"; +import gql from "graphql-tag"; + +const schema = buildClientSchema( + JSON.parse(readFileSync(new URL("../schema.json", import.meta.url), "utf8")), +); + +function validateQuery(query) { + return validate(schema, gql(query)); +} diff --git a/node_modules/@octokit/graphql-schema/package.json b/node_modules/@octokit/graphql-schema/package.json new file mode 100644 index 00000000..77e39175 --- /dev/null +++ b/node_modules/@octokit/graphql-schema/package.json @@ -0,0 +1,85 @@ +{ + "name": "@octokit/graphql-schema", + "version": "15.26.1", + "publishConfig": { + "access": "public", + "provenance": true + }, + "description": "GitHub's GraphQL Schema with validation. Automatically updated.", + "type": "module", + "scripts": { + "lint": "prettier --check '{bin,lib,test}/**/*.{js,ts}' *.md package.json", + "lint:fix": "prettier --write '{bin,lib,test}/**/*.{js,ts}' *.md package.json", + "test": "node test", + "validate:ts": "tsc --noEmit --noImplicitAny test/typescript-validate.ts", + "postvalidate:ts": "attw --pack . --ignore-rules cjs-resolves-to-esm", + "posttest": "npm run -s lint", + "download": "node bin/download.js", + "generate-typescript": "graphql-codegen", + "update": "npm run -s download && npm run -s generate-typescript" + }, + "keywords": [ + "github", + "graphql", + "schema", + "validation" + ], + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "graphql": "^16.0.0", + "graphql-tag": "^2.10.3" + }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.17.0", + "@graphql-codegen/cli": "^5.0.0", + "@graphql-codegen/typescript": "^4.0.0", + "@octokit/graphql": "^8.0.1", + "dotenv": "^16.0.0", + "execa": "^9.0.0", + "prettier": "^3.0.0", + "semantic-release": "^24.0.0", + "typescript": "^5.0.0" + }, + "repository": "github:octokit/graphql-schema", + "types": "index.d.ts", + "sideEffects": false, + "release": { + "branches": [ + "+([0-9]).x", + "main", + "next", + { + "name": "beta", + "prerelease": true + } + ] + }, + "codegen": { + "overwrite": true, + "schema": "schema.graphql", + "generates": { + "schema.d.ts": { + "plugins": [ + "typescript" + ], + "config": { + "enumsAsTypes": true, + "useImplementingTypes": true + } + } + } + }, + "main": "index.js", + "files": [ + "lib", + "index.*", + "schema.*" + ], + "exports": { + ".": { + "types": "./index.d.ts", + "import": "./index.js" + } + } +} diff --git a/node_modules/@octokit/graphql-schema/schema.d.ts b/node_modules/@octokit/graphql-schema/schema.d.ts new file mode 100644 index 00000000..a7248953 --- /dev/null +++ b/node_modules/@octokit/graphql-schema/schema.d.ts @@ -0,0 +1,31282 @@ +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + /** A (potentially binary) string encoded using base64. */ + Base64String: { input: any; output: any; } + /** + * Represents non-fractional signed whole numeric values. Since the value may + * exceed the size of a 32-bit integer, it's encoded as a string. + */ + BigInt: { input: any; output: any; } + /** An ISO-8601 encoded date string. */ + Date: { input: any; output: any; } + /** An ISO-8601 encoded UTC date string. */ + DateTime: { input: any; output: any; } + /** A Git object ID. */ + GitObjectID: { input: any; output: any; } + /** A fully qualified reference name (e.g. `refs/heads/master`). */ + GitRefname: { input: any; output: any; } + /** Git SSH string */ + GitSSHRemote: { input: any; output: any; } + /** An ISO-8601 encoded date string. Unlike the DateTime type, GitTimestamp is not converted in UTC. */ + GitTimestamp: { input: any; output: any; } + /** A string containing HTML code. */ + HTML: { input: any; output: any; } + /** An ISO-8601 encoded UTC date string with millisecond precision. */ + PreciseDateTime: { input: any; output: any; } + /** An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string. */ + URI: { input: any; output: any; } + /** A valid x509 certificate string */ + X509Certificate: { input: any; output: any; } +}; + +/** Autogenerated input type of AbortQueuedMigrations */ +export type AbortQueuedMigrationsInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the organization that is running the migrations. */ + ownerId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AbortQueuedMigrations. */ +export type AbortQueuedMigrationsPayload = { + __typename?: 'AbortQueuedMigrationsPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** Did the operation succeed? */ + success?: Maybe; +}; + +/** Autogenerated input type of AbortRepositoryMigration */ +export type AbortRepositoryMigrationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the migration to be aborted. */ + migrationId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AbortRepositoryMigration. */ +export type AbortRepositoryMigrationPayload = { + __typename?: 'AbortRepositoryMigrationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** Did the operation succeed? */ + success?: Maybe; +}; + +/** Autogenerated input type of AcceptEnterpriseAdministratorInvitation */ +export type AcceptEnterpriseAdministratorInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the invitation being accepted */ + invitationId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AcceptEnterpriseAdministratorInvitation. */ +export type AcceptEnterpriseAdministratorInvitationPayload = { + __typename?: 'AcceptEnterpriseAdministratorInvitationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The invitation that was accepted. */ + invitation?: Maybe; + /** A message confirming the result of accepting an administrator invitation. */ + message?: Maybe; +}; + +/** Autogenerated input type of AcceptEnterpriseMemberInvitation */ +export type AcceptEnterpriseMemberInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the invitation being accepted */ + invitationId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AcceptEnterpriseMemberInvitation. */ +export type AcceptEnterpriseMemberInvitationPayload = { + __typename?: 'AcceptEnterpriseMemberInvitationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The invitation that was accepted. */ + invitation?: Maybe; + /** A message confirming the result of accepting an unaffiliated member invitation. */ + message?: Maybe; +}; + +/** Autogenerated input type of AcceptTopicSuggestion */ +export type AcceptTopicSuggestionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The name of the suggested topic. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `name` will be removed. + * **Reason:** Suggested topics are no longer supported + */ + name?: InputMaybe; + /** + * The Node ID of the repository. + * + * **Upcoming Change on 2024-04-01 UTC** + * **Description:** `repositoryId` will be removed. + * **Reason:** Suggested topics are no longer supported + */ + repositoryId?: InputMaybe; +}; + +/** Autogenerated return type of AcceptTopicSuggestion. */ +export type AcceptTopicSuggestionPayload = { + __typename?: 'AcceptTopicSuggestionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** + * The accepted topic. + * @deprecated Suggested topics are no longer supported Removal on 2024-04-01 UTC. + */ + topic?: Maybe; +}; + +/** Represents an object which can take actions on GitHub. Typically a User or Bot. */ +export type Actor = { + /** A URL pointing to the actor's public avatar. */ + avatarUrl: Scalars['URI']['output']; + /** The username of the actor. */ + login: Scalars['String']['output']; + /** The HTTP path for this actor. */ + resourcePath: Scalars['URI']['output']; + /** The HTTP URL for this actor. */ + url: Scalars['URI']['output']; +}; + + +/** Represents an object which can take actions on GitHub. Typically a User or Bot. */ +export type ActorAvatarUrlArgs = { + size?: InputMaybe; +}; + +/** Location information for an actor */ +export type ActorLocation = { + __typename?: 'ActorLocation'; + /** City */ + city?: Maybe; + /** Country name */ + country?: Maybe; + /** Country code */ + countryCode?: Maybe; + /** Region name */ + region?: Maybe; + /** Region or state code */ + regionCode?: Maybe; +}; + +/** The actor's type. */ +export type ActorType = + /** Indicates a team actor. */ + | 'TEAM' + /** Indicates a user actor. */ + | 'USER'; + +/** Autogenerated input type of AddAssigneesToAssignable */ +export type AddAssigneesToAssignableInput = { + /** The id of the assignable object to add assignees to. */ + assignableId: Scalars['ID']['input']; + /** The id of users to add as assignees. */ + assigneeIds: Array; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; +}; + +/** Autogenerated return type of AddAssigneesToAssignable. */ +export type AddAssigneesToAssignablePayload = { + __typename?: 'AddAssigneesToAssignablePayload'; + /** The item that was assigned. */ + assignable?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; +}; + +/** Autogenerated input type of AddComment */ +export type AddCommentInput = { + /** The contents of the comment. */ + body: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the subject to modify. */ + subjectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddComment. */ +export type AddCommentPayload = { + __typename?: 'AddCommentPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The edge from the subject's comment connection. */ + commentEdge?: Maybe; + /** The subject */ + subject?: Maybe; + /** The edge from the subject's timeline connection. */ + timelineEdge?: Maybe; +}; + +/** Autogenerated input type of AddDiscussionComment */ +export type AddDiscussionCommentInput = { + /** The contents of the comment. */ + body: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the discussion to comment on. */ + discussionId: Scalars['ID']['input']; + /** The Node ID of the discussion comment within this discussion to reply to. */ + replyToId?: InputMaybe; +}; + +/** Autogenerated return type of AddDiscussionComment. */ +export type AddDiscussionCommentPayload = { + __typename?: 'AddDiscussionCommentPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created discussion comment. */ + comment?: Maybe; +}; + +/** Autogenerated input type of AddDiscussionPollVote */ +export type AddDiscussionPollVoteInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the discussion poll option to vote for. */ + pollOptionId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddDiscussionPollVote. */ +export type AddDiscussionPollVotePayload = { + __typename?: 'AddDiscussionPollVotePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The poll option that a vote was added to. */ + pollOption?: Maybe; +}; + +/** Autogenerated input type of AddEnterpriseOrganizationMember */ +export type AddEnterpriseOrganizationMemberInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the enterprise which owns the organization. */ + enterpriseId: Scalars['ID']['input']; + /** The ID of the organization the users will be added to. */ + organizationId: Scalars['ID']['input']; + /** The role to assign the users in the organization */ + role?: InputMaybe; + /** The IDs of the enterprise members to add. */ + userIds: Array; +}; + +/** Autogenerated return type of AddEnterpriseOrganizationMember. */ +export type AddEnterpriseOrganizationMemberPayload = { + __typename?: 'AddEnterpriseOrganizationMemberPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The users who were added to the organization. */ + users?: Maybe>; +}; + +/** Autogenerated input type of AddEnterpriseSupportEntitlement */ +export type AddEnterpriseSupportEntitlementInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the Enterprise which the admin belongs to. */ + enterpriseId: Scalars['ID']['input']; + /** The login of a member who will receive the support entitlement. */ + login: Scalars['String']['input']; +}; + +/** Autogenerated return type of AddEnterpriseSupportEntitlement. */ +export type AddEnterpriseSupportEntitlementPayload = { + __typename?: 'AddEnterpriseSupportEntitlementPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** A message confirming the result of adding the support entitlement. */ + message?: Maybe; +}; + +/** Autogenerated input type of AddLabelsToLabelable */ +export type AddLabelsToLabelableInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ids of the labels to add. */ + labelIds: Array; + /** The id of the labelable object to add labels to. */ + labelableId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddLabelsToLabelable. */ +export type AddLabelsToLabelablePayload = { + __typename?: 'AddLabelsToLabelablePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The item that was labeled. */ + labelable?: Maybe; +}; + +/** Autogenerated input type of AddProjectCard */ +export type AddProjectCardInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The content of the card. Must be a member of the ProjectCardItem union */ + contentId?: InputMaybe; + /** The note on the card. */ + note?: InputMaybe; + /** The Node ID of the ProjectColumn. */ + projectColumnId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddProjectCard. */ +export type AddProjectCardPayload = { + __typename?: 'AddProjectCardPayload'; + /** The edge from the ProjectColumn's card connection. */ + cardEdge?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The ProjectColumn */ + projectColumn?: Maybe; +}; + +/** Autogenerated input type of AddProjectColumn */ +export type AddProjectColumnInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The name of the column. */ + name: Scalars['String']['input']; + /** The Node ID of the project. */ + projectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddProjectColumn. */ +export type AddProjectColumnPayload = { + __typename?: 'AddProjectColumnPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The edge from the project's column connection. */ + columnEdge?: Maybe; + /** The project */ + project?: Maybe; +}; + +/** Autogenerated input type of AddProjectV2DraftIssue */ +export type AddProjectV2DraftIssueInput = { + /** The IDs of the assignees of the draft issue. */ + assigneeIds?: InputMaybe>; + /** The body of the draft issue. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the Project to add the draft issue to. */ + projectId: Scalars['ID']['input']; + /** + * The title of the draft issue. A project item can also be created by providing + * the URL of an Issue or Pull Request if you have access. + */ + title: Scalars['String']['input']; +}; + +/** Autogenerated return type of AddProjectV2DraftIssue. */ +export type AddProjectV2DraftIssuePayload = { + __typename?: 'AddProjectV2DraftIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The draft issue added to the project. */ + projectItem?: Maybe; +}; + +/** Autogenerated input type of AddProjectV2ItemById */ +export type AddProjectV2ItemByIdInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the Issue or Pull Request to add. */ + contentId: Scalars['ID']['input']; + /** The ID of the Project to add the item to. */ + projectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddProjectV2ItemById. */ +export type AddProjectV2ItemByIdPayload = { + __typename?: 'AddProjectV2ItemByIdPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The item added to the project. */ + item?: Maybe; +}; + +/** Autogenerated input type of AddPullRequestReviewComment */ +export type AddPullRequestReviewCommentInput = { + /** + * The text of the comment. This field is required + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `body` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The SHA of the commit to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `commitOID` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + commitOID?: InputMaybe; + /** + * The comment id to reply to. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `inReplyTo` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + inReplyTo?: InputMaybe; + /** + * The relative path of the file to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `path` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + path?: InputMaybe; + /** + * The line index in the diff to comment on. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `position` will be removed. use addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + position?: InputMaybe; + /** + * The node ID of the pull request reviewing + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `pullRequestId` will be removed. use + * addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + pullRequestId?: InputMaybe; + /** + * The Node ID of the review to modify. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `pullRequestReviewId` will be removed. use + * addPullRequestReviewThread or addPullRequestReviewThreadReply instead + * **Reason:** We are deprecating the addPullRequestReviewComment mutation + */ + pullRequestReviewId?: InputMaybe; +}; + +/** Autogenerated return type of AddPullRequestReviewComment. */ +export type AddPullRequestReviewCommentPayload = { + __typename?: 'AddPullRequestReviewCommentPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created comment. */ + comment?: Maybe; + /** The edge from the review's comment connection. */ + commentEdge?: Maybe; +}; + +/** Autogenerated input type of AddPullRequestReview */ +export type AddPullRequestReviewInput = { + /** The contents of the review body comment. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The review line comments. + * + * **Upcoming Change on 2023-10-01 UTC** + * **Description:** `comments` will be removed. use the `threads` argument instead + * **Reason:** We are deprecating comment fields that use diff-relative positioning + */ + comments?: InputMaybe>>; + /** The commit OID the review pertains to. */ + commitOID?: InputMaybe; + /** The event to perform on the pull request review. */ + event?: InputMaybe; + /** The Node ID of the pull request to modify. */ + pullRequestId: Scalars['ID']['input']; + /** The review line comment threads. */ + threads?: InputMaybe>>; +}; + +/** Autogenerated return type of AddPullRequestReview. */ +export type AddPullRequestReviewPayload = { + __typename?: 'AddPullRequestReviewPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created pull request review. */ + pullRequestReview?: Maybe; + /** The edge from the pull request's review connection. */ + reviewEdge?: Maybe; +}; + +/** Autogenerated input type of AddPullRequestReviewThread */ +export type AddPullRequestReviewThreadInput = { + /** Body of the thread's first comment. */ + body: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The line of the blob to which the thread refers, required for line-level + * threads. The end of the line range for multi-line comments. + */ + line?: InputMaybe; + /** Path to the file being commented on. */ + path: Scalars['String']['input']; + /** The node ID of the pull request reviewing */ + pullRequestId?: InputMaybe; + /** The Node ID of the review to modify. */ + pullRequestReviewId?: InputMaybe; + /** The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. */ + side?: InputMaybe; + /** The first line of the range to which the comment refers. */ + startLine?: InputMaybe; + /** The side of the diff on which the start line resides. */ + startSide?: InputMaybe; + /** The level at which the comments in the corresponding thread are targeted, can be a diff line or a file */ + subjectType?: InputMaybe; +}; + +/** Autogenerated return type of AddPullRequestReviewThread. */ +export type AddPullRequestReviewThreadPayload = { + __typename?: 'AddPullRequestReviewThreadPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created thread. */ + thread?: Maybe; +}; + +/** Autogenerated input type of AddPullRequestReviewThreadReply */ +export type AddPullRequestReviewThreadReplyInput = { + /** The text of the reply. */ + body: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the pending review to which the reply will belong. */ + pullRequestReviewId?: InputMaybe; + /** The Node ID of the thread to which this reply is being written. */ + pullRequestReviewThreadId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddPullRequestReviewThreadReply. */ +export type AddPullRequestReviewThreadReplyPayload = { + __typename?: 'AddPullRequestReviewThreadReplyPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The newly created reply. */ + comment?: Maybe; +}; + +/** Autogenerated input type of AddReaction */ +export type AddReactionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The name of the emoji to react with. */ + content: ReactionContent; + /** The Node ID of the subject to modify. */ + subjectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddReaction. */ +export type AddReactionPayload = { + __typename?: 'AddReactionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The reaction object. */ + reaction?: Maybe; + /** The reaction groups for the subject. */ + reactionGroups?: Maybe>; + /** The reactable subject. */ + subject?: Maybe; +}; + +/** Autogenerated input type of AddStar */ +export type AddStarInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Starrable ID to star. */ + starrableId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddStar. */ +export type AddStarPayload = { + __typename?: 'AddStarPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The starrable. */ + starrable?: Maybe; +}; + +/** Autogenerated input type of AddUpvote */ +export type AddUpvoteInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the discussion or comment to upvote. */ + subjectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddUpvote. */ +export type AddUpvotePayload = { + __typename?: 'AddUpvotePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The votable subject. */ + subject?: Maybe; +}; + +/** Autogenerated input type of AddVerifiableDomain */ +export type AddVerifiableDomainInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The URL of the domain */ + domain: Scalars['URI']['input']; + /** The ID of the owner to add the domain to */ + ownerId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of AddVerifiableDomain. */ +export type AddVerifiableDomainPayload = { + __typename?: 'AddVerifiableDomainPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The verifiable domain that was added. */ + domain?: Maybe; +}; + +/** Represents an 'added_to_merge_queue' event on a given pull request. */ +export type AddedToMergeQueueEvent = Node & { + __typename?: 'AddedToMergeQueueEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who added this Pull Request to the merge queue */ + enqueuer?: Maybe; + /** The Node ID of the AddedToMergeQueueEvent object */ + id: Scalars['ID']['output']; + /** The merge queue where this pull request was added to. */ + mergeQueue?: Maybe; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + +/** Represents a 'added_to_project' event on a given issue or pull request. */ +export type AddedToProjectEvent = Node & { + __typename?: 'AddedToProjectEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the AddedToProjectEvent object */ + id: Scalars['ID']['output']; + /** Project referenced by event. */ + project?: Maybe; + /** Project card referenced by this project event. */ + projectCard?: Maybe; + /** Column name referenced by this project event. */ + projectColumnName: Scalars['String']['output']; +}; + +/** Represents an announcement banner. */ +export type AnnouncementBanner = { + /** The text of the announcement */ + announcement?: Maybe; + /** The date the announcement was created */ + announcementCreatedAt?: Maybe; + /** The expiration date of the announcement, if any */ + announcementExpiresAt?: Maybe; + /** Whether the announcement can be dismissed by the user */ + announcementUserDismissible?: Maybe; +}; + +/** A GitHub App. */ +export type App = Node & { + __typename?: 'App'; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The description of the app. */ + description?: Maybe; + /** The Node ID of the App object */ + id: Scalars['ID']['output']; + /** The IP addresses of the app. */ + ipAllowListEntries: IpAllowListEntryConnection; + /** The hex color code, without the leading '#', for the logo background. */ + logoBackgroundColor: Scalars['String']['output']; + /** A URL pointing to the app's logo. */ + logoUrl: Scalars['URI']['output']; + /** The name of the app. */ + name: Scalars['String']['output']; + /** A slug based on the name of the app for use in URLs. */ + slug: Scalars['String']['output']; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; + /** The URL to the app's homepage. */ + url: Scalars['URI']['output']; +}; + + +/** A GitHub App. */ +export type AppIpAllowListEntriesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** A GitHub App. */ +export type AppLogoUrlArgs = { + size?: InputMaybe; +}; + +/** Autogenerated input type of ApproveDeployments */ +export type ApproveDeploymentsInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Optional comment for approving deployments */ + comment?: InputMaybe; + /** The ids of environments to reject deployments */ + environmentIds: Array; + /** The node ID of the workflow run containing the pending deployments. */ + workflowRunId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ApproveDeployments. */ +export type ApproveDeploymentsPayload = { + __typename?: 'ApproveDeploymentsPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The affected deployments. */ + deployments?: Maybe>; +}; + +/** Autogenerated input type of ApproveVerifiableDomain */ +export type ApproveVerifiableDomainInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the verifiable domain to approve. */ + id: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ApproveVerifiableDomain. */ +export type ApproveVerifiableDomainPayload = { + __typename?: 'ApproveVerifiableDomainPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The verifiable domain that was approved. */ + domain?: Maybe; +}; + +/** Autogenerated input type of ArchiveProjectV2Item */ +export type ArchiveProjectV2ItemInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the ProjectV2Item to archive. */ + itemId: Scalars['ID']['input']; + /** The ID of the Project to archive the item from. */ + projectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ArchiveProjectV2Item. */ +export type ArchiveProjectV2ItemPayload = { + __typename?: 'ArchiveProjectV2ItemPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The item archived from the project. */ + item?: Maybe; +}; + +/** Autogenerated input type of ArchiveRepository */ +export type ArchiveRepositoryInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the repository to mark as archived. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ArchiveRepository. */ +export type ArchiveRepositoryPayload = { + __typename?: 'ArchiveRepositoryPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The repository that was marked as archived. */ + repository?: Maybe; +}; + +/** An object that can have users assigned to it. */ +export type Assignable = { + /** A list of Users assigned to this object. */ + assignees: UserConnection; +}; + + +/** An object that can have users assigned to it. */ +export type AssignableAssigneesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** Represents an 'assigned' event on any assignable object. */ +export type AssignedEvent = Node & { + __typename?: 'AssignedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the assignable associated with the event. */ + assignable: Issue | PullRequest; + /** Identifies the user or mannequin that was assigned. */ + assignee?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the AssignedEvent object */ + id: Scalars['ID']['output']; + /** + * Identifies the user who was assigned. + * @deprecated Assignees can now be mannequins. Use the `assignee` field instead. Removal on 2020-01-01 UTC. + */ + user?: Maybe; +}; + +/** Types that can be assigned to issues. */ +export type Assignee = Bot | Mannequin | Organization | User; + +/** An entry in the audit log. */ +export type AuditEntry = { + /** The action name */ + action: Scalars['String']['output']; + /** The user who initiated the action */ + actor?: Maybe; + /** The IP address of the actor */ + actorIp?: Maybe; + /** A readable representation of the actor's location */ + actorLocation?: Maybe; + /** The username of the user who initiated the action */ + actorLogin?: Maybe; + /** The HTTP path for the actor. */ + actorResourcePath?: Maybe; + /** The HTTP URL for the actor. */ + actorUrl?: Maybe; + /** The time the action was initiated */ + createdAt: Scalars['PreciseDateTime']['output']; + /** The corresponding operation type for the action */ + operationType?: Maybe; + /** The user affected by the action */ + user?: Maybe; + /** For actions involving two users, the actor is the initiator and the user is the affected user. */ + userLogin?: Maybe; + /** The HTTP path for the user. */ + userResourcePath?: Maybe; + /** The HTTP URL for the user. */ + userUrl?: Maybe; +}; + +/** Types that can initiate an audit log event. */ +export type AuditEntryActor = Bot | Organization | User; + +/** Ordering options for Audit Log connections. */ +export type AuditLogOrder = { + /** The ordering direction. */ + direction?: InputMaybe; + /** The field to order Audit Logs by. */ + field?: InputMaybe; +}; + +/** Properties by which Audit Log connections can be ordered. */ +export type AuditLogOrderField = + /** Order audit log entries by timestamp */ + | 'CREATED_AT'; + +/** Represents a 'auto_merge_disabled' event on a given pull request. */ +export type AutoMergeDisabledEvent = Node & { + __typename?: 'AutoMergeDisabledEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who disabled auto-merge for this Pull Request */ + disabler?: Maybe; + /** The Node ID of the AutoMergeDisabledEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event */ + pullRequest?: Maybe; + /** The reason auto-merge was disabled */ + reason?: Maybe; + /** The reason_code relating to why auto-merge was disabled */ + reasonCode?: Maybe; +}; + +/** Represents a 'auto_merge_enabled' event on a given pull request. */ +export type AutoMergeEnabledEvent = Node & { + __typename?: 'AutoMergeEnabledEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who enabled auto-merge for this Pull Request */ + enabler?: Maybe; + /** The Node ID of the AutoMergeEnabledEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + +/** Represents an auto-merge request for a pull request */ +export type AutoMergeRequest = { + __typename?: 'AutoMergeRequest'; + /** The email address of the author of this auto-merge request. */ + authorEmail?: Maybe; + /** + * The commit message of the auto-merge request. If a merge queue is required by + * the base branch, this value will be set by the merge queue when merging. + */ + commitBody?: Maybe; + /** + * The commit title of the auto-merge request. If a merge queue is required by + * the base branch, this value will be set by the merge queue when merging + */ + commitHeadline?: Maybe; + /** When was this auto-merge request was enabled. */ + enabledAt?: Maybe; + /** The actor who created the auto-merge request. */ + enabledBy?: Maybe; + /** + * The merge method of the auto-merge request. If a merge queue is required by + * the base branch, this value will be set by the merge queue when merging. + */ + mergeMethod: PullRequestMergeMethod; + /** The pull request that this auto-merge request is set against. */ + pullRequest: PullRequest; +}; + +/** Represents a 'auto_rebase_enabled' event on a given pull request. */ +export type AutoRebaseEnabledEvent = Node & { + __typename?: 'AutoRebaseEnabledEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who enabled auto-merge (rebase) for this Pull Request */ + enabler?: Maybe; + /** The Node ID of the AutoRebaseEnabledEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + +/** Represents a 'auto_squash_enabled' event on a given pull request. */ +export type AutoSquashEnabledEvent = Node & { + __typename?: 'AutoSquashEnabledEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who enabled auto-merge (squash) for this Pull Request */ + enabler?: Maybe; + /** The Node ID of the AutoSquashEnabledEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + +/** Represents a 'automatic_base_change_failed' event on a given pull request. */ +export type AutomaticBaseChangeFailedEvent = Node & { + __typename?: 'AutomaticBaseChangeFailedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the AutomaticBaseChangeFailedEvent object */ + id: Scalars['ID']['output']; + /** The new base for this PR */ + newBase: Scalars['String']['output']; + /** The old base for this PR */ + oldBase: Scalars['String']['output']; + /** PullRequest referenced by event. */ + pullRequest: PullRequest; +}; + +/** Represents a 'automatic_base_change_succeeded' event on a given pull request. */ +export type AutomaticBaseChangeSucceededEvent = Node & { + __typename?: 'AutomaticBaseChangeSucceededEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the AutomaticBaseChangeSucceededEvent object */ + id: Scalars['ID']['output']; + /** The new base for this PR */ + newBase: Scalars['String']['output']; + /** The old base for this PR */ + oldBase: Scalars['String']['output']; + /** PullRequest referenced by event. */ + pullRequest: PullRequest; +}; + +/** Represents a 'base_ref_changed' event on a given issue or pull request. */ +export type BaseRefChangedEvent = Node & { + __typename?: 'BaseRefChangedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the name of the base ref for the pull request after it was changed. */ + currentRefName: Scalars['String']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the BaseRefChangedEvent object */ + id: Scalars['ID']['output']; + /** Identifies the name of the base ref for the pull request before it was changed. */ + previousRefName: Scalars['String']['output']; + /** PullRequest referenced by event. */ + pullRequest: PullRequest; +}; + +/** Represents a 'base_ref_deleted' event on a given pull request. */ +export type BaseRefDeletedEvent = Node & { + __typename?: 'BaseRefDeletedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the name of the Ref associated with the `base_ref_deleted` event. */ + baseRefName?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the BaseRefDeletedEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest?: Maybe; +}; + +/** Represents a 'base_ref_force_pushed' event on a given pull request. */ +export type BaseRefForcePushedEvent = Node & { + __typename?: 'BaseRefForcePushedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the after commit SHA for the 'base_ref_force_pushed' event. */ + afterCommit?: Maybe; + /** Identifies the before commit SHA for the 'base_ref_force_pushed' event. */ + beforeCommit?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the BaseRefForcePushedEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest: PullRequest; + /** Identifies the fully qualified ref name for the 'base_ref_force_pushed' event. */ + ref?: Maybe; +}; + +/** Represents a Git blame. */ +export type Blame = { + __typename?: 'Blame'; + /** The list of ranges from a Git blame. */ + ranges: Array; +}; + +/** Represents a range of information from a Git blame. */ +export type BlameRange = { + __typename?: 'BlameRange'; + /** + * Identifies the recency of the change, from 1 (new) to 10 (old). This is + * calculated as a 2-quantile and determines the length of distance between the + * median age of all the changes in the file and the recency of the current + * range's change. + */ + age: Scalars['Int']['output']; + /** Identifies the line author */ + commit: Commit; + /** The ending line for the range */ + endingLine: Scalars['Int']['output']; + /** The starting line for the range */ + startingLine: Scalars['Int']['output']; +}; + +/** Represents a Git blob. */ +export type Blob = GitObject & Node & { + __typename?: 'Blob'; + /** An abbreviated version of the Git object ID */ + abbreviatedOid: Scalars['String']['output']; + /** Byte size of Blob object */ + byteSize: Scalars['Int']['output']; + /** The HTTP path for this Git object */ + commitResourcePath: Scalars['URI']['output']; + /** The HTTP URL for this Git object */ + commitUrl: Scalars['URI']['output']; + /** The Node ID of the Blob object */ + id: Scalars['ID']['output']; + /** Indicates whether the Blob is binary or text. Returns null if unable to determine the encoding. */ + isBinary?: Maybe; + /** Indicates whether the contents is truncated */ + isTruncated: Scalars['Boolean']['output']; + /** The Git object ID */ + oid: Scalars['GitObjectID']['output']; + /** The Repository the Git object belongs to */ + repository: Repository; + /** UTF8 text data or null if the Blob is binary */ + text?: Maybe; +}; + +/** A special type of user which takes actions on behalf of GitHub Apps. */ +export type Bot = Actor & Node & UniformResourceLocatable & { + __typename?: 'Bot'; + /** A URL pointing to the GitHub App's public avatar. */ + avatarUrl: Scalars['URI']['output']; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the Bot object */ + id: Scalars['ID']['output']; + /** The username of the actor. */ + login: Scalars['String']['output']; + /** The HTTP path for this bot */ + resourcePath: Scalars['URI']['output']; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; + /** The HTTP URL for this bot */ + url: Scalars['URI']['output']; +}; + + +/** A special type of user which takes actions on behalf of GitHub Apps. */ +export type BotAvatarUrlArgs = { + size?: InputMaybe; +}; + +/** Types which can be actors for `BranchActorAllowance` objects. */ +export type BranchActorAllowanceActor = App | Team | User; + +/** Parameters to be used for the branch_name_pattern rule */ +export type BranchNamePatternParameters = { + __typename?: 'BranchNamePatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the branch_name_pattern rule */ +export type BranchNamePatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; +}; + +/** A branch protection rule. */ +export type BranchProtectionRule = Node & { + __typename?: 'BranchProtectionRule'; + /** Can this branch be deleted. */ + allowsDeletions: Scalars['Boolean']['output']; + /** Are force pushes allowed on this branch. */ + allowsForcePushes: Scalars['Boolean']['output']; + /** Is branch creation a protected operation. */ + blocksCreations: Scalars['Boolean']['output']; + /** A list of conflicts matching branches protection rule and other branch protection rules */ + branchProtectionRuleConflicts: BranchProtectionRuleConflictConnection; + /** A list of actors able to force push for this branch protection rule. */ + bypassForcePushAllowances: BypassForcePushAllowanceConnection; + /** A list of actors able to bypass PRs for this branch protection rule. */ + bypassPullRequestAllowances: BypassPullRequestAllowanceConnection; + /** The actor who created this branch protection rule. */ + creator?: Maybe; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** Will new commits pushed to matching branches dismiss pull request review approvals. */ + dismissesStaleReviews: Scalars['Boolean']['output']; + /** The Node ID of the BranchProtectionRule object */ + id: Scalars['ID']['output']; + /** Can admins override branch protection. */ + isAdminEnforced: Scalars['Boolean']['output']; + /** + * Whether users can pull changes from upstream when the branch is locked. Set to + * `true` to allow fork syncing. Set to `false` to prevent fork syncing. + */ + lockAllowsFetchAndMerge: Scalars['Boolean']['output']; + /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ + lockBranch: Scalars['Boolean']['output']; + /** Repository refs that are protected by this rule */ + matchingRefs: RefConnection; + /** Identifies the protection rule pattern. */ + pattern: Scalars['String']['output']; + /** A list push allowances for this branch protection rule. */ + pushAllowances: PushAllowanceConnection; + /** The repository associated with this branch protection rule. */ + repository?: Maybe; + /** Whether the most recent push must be approved by someone other than the person who pushed it */ + requireLastPushApproval: Scalars['Boolean']['output']; + /** Number of approving reviews required to update matching branches. */ + requiredApprovingReviewCount?: Maybe; + /** List of required deployment environments that must be deployed successfully to update matching branches */ + requiredDeploymentEnvironments?: Maybe>>; + /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ + requiredStatusCheckContexts?: Maybe>>; + /** List of required status checks that must pass for commits to be accepted to matching branches. */ + requiredStatusChecks?: Maybe>; + /** Are approving reviews required to update matching branches. */ + requiresApprovingReviews: Scalars['Boolean']['output']; + /** Are reviews from code owners required to update matching branches. */ + requiresCodeOwnerReviews: Scalars['Boolean']['output']; + /** Are commits required to be signed. */ + requiresCommitSignatures: Scalars['Boolean']['output']; + /** Are conversations required to be resolved before merging. */ + requiresConversationResolution: Scalars['Boolean']['output']; + /** Does this branch require deployment to specific environments before merging */ + requiresDeployments: Scalars['Boolean']['output']; + /** Are merge commits prohibited from being pushed to this branch. */ + requiresLinearHistory: Scalars['Boolean']['output']; + /** Are status checks required to update matching branches. */ + requiresStatusChecks: Scalars['Boolean']['output']; + /** Are branches required to be up to date before merging. */ + requiresStrictStatusChecks: Scalars['Boolean']['output']; + /** Is pushing to matching branches restricted. */ + restrictsPushes: Scalars['Boolean']['output']; + /** Is dismissal of pull request reviews restricted. */ + restrictsReviewDismissals: Scalars['Boolean']['output']; + /** A list review dismissal allowances for this branch protection rule. */ + reviewDismissalAllowances: ReviewDismissalAllowanceConnection; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRuleBranchProtectionRuleConflictsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRuleBypassForcePushAllowancesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRuleBypassPullRequestAllowancesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRuleMatchingRefsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + query?: InputMaybe; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRulePushAllowancesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A branch protection rule. */ +export type BranchProtectionRuleReviewDismissalAllowancesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** A conflict between two branch protection rules. */ +export type BranchProtectionRuleConflict = { + __typename?: 'BranchProtectionRuleConflict'; + /** Identifies the branch protection rule. */ + branchProtectionRule?: Maybe; + /** Identifies the conflicting branch protection rule. */ + conflictingBranchProtectionRule?: Maybe; + /** Identifies the branch ref that has conflicting rules */ + ref?: Maybe; +}; + +/** The connection type for BranchProtectionRuleConflict. */ +export type BranchProtectionRuleConflictConnection = { + __typename?: 'BranchProtectionRuleConflictConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type BranchProtectionRuleConflictEdge = { + __typename?: 'BranchProtectionRuleConflictEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The connection type for BranchProtectionRule. */ +export type BranchProtectionRuleConnection = { + __typename?: 'BranchProtectionRuleConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type BranchProtectionRuleEdge = { + __typename?: 'BranchProtectionRuleEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** + * Information about a sponsorship to make for a user or organization with a GitHub + * Sponsors profile, as part of sponsoring many users or organizations at once. + */ +export type BulkSponsorship = { + /** The amount to pay to the sponsorable in US dollars. Valid values: 1-12000. */ + amount: Scalars['Int']['input']; + /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ + sponsorableId?: InputMaybe; + /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ + sponsorableLogin?: InputMaybe; +}; + +/** Types that can represent a repository ruleset bypass actor. */ +export type BypassActor = App | Team; + +/** A user, team, or app who has the ability to bypass a force push requirement on a protected branch. */ +export type BypassForcePushAllowance = Node & { + __typename?: 'BypassForcePushAllowance'; + /** The actor that can force push. */ + actor?: Maybe; + /** Identifies the branch protection rule associated with the allowed user, team, or app. */ + branchProtectionRule?: Maybe; + /** The Node ID of the BypassForcePushAllowance object */ + id: Scalars['ID']['output']; +}; + +/** The connection type for BypassForcePushAllowance. */ +export type BypassForcePushAllowanceConnection = { + __typename?: 'BypassForcePushAllowanceConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type BypassForcePushAllowanceEdge = { + __typename?: 'BypassForcePushAllowanceEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** A user, team, or app who has the ability to bypass a pull request requirement on a protected branch. */ +export type BypassPullRequestAllowance = Node & { + __typename?: 'BypassPullRequestAllowance'; + /** The actor that can bypass. */ + actor?: Maybe; + /** Identifies the branch protection rule associated with the allowed user, team, or app. */ + branchProtectionRule?: Maybe; + /** The Node ID of the BypassPullRequestAllowance object */ + id: Scalars['ID']['output']; +}; + +/** The connection type for BypassPullRequestAllowance. */ +export type BypassPullRequestAllowanceConnection = { + __typename?: 'BypassPullRequestAllowanceConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type BypassPullRequestAllowanceEdge = { + __typename?: 'BypassPullRequestAllowanceEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The Common Vulnerability Scoring System */ +export type Cvss = { + __typename?: 'CVSS'; + /** The CVSS score associated with this advisory */ + score: Scalars['Float']['output']; + /** The CVSS vector string associated with this advisory */ + vectorString?: Maybe; +}; + +/** A common weakness enumeration */ +export type Cwe = Node & { + __typename?: 'CWE'; + /** The id of the CWE */ + cweId: Scalars['String']['output']; + /** A detailed description of this CWE */ + description: Scalars['String']['output']; + /** The Node ID of the CWE object */ + id: Scalars['ID']['output']; + /** The name of this CWE */ + name: Scalars['String']['output']; +}; + +/** The connection type for CWE. */ +export type CweConnection = { + __typename?: 'CWEConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type CweEdge = { + __typename?: 'CWEEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** Autogenerated input type of CancelEnterpriseAdminInvitation */ +export type CancelEnterpriseAdminInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the pending enterprise administrator invitation. */ + invitationId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CancelEnterpriseAdminInvitation. */ +export type CancelEnterpriseAdminInvitationPayload = { + __typename?: 'CancelEnterpriseAdminInvitationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The invitation that was canceled. */ + invitation?: Maybe; + /** A message confirming the result of canceling an administrator invitation. */ + message?: Maybe; +}; + +/** Autogenerated input type of CancelEnterpriseMemberInvitation */ +export type CancelEnterpriseMemberInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the pending enterprise member invitation. */ + invitationId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CancelEnterpriseMemberInvitation. */ +export type CancelEnterpriseMemberInvitationPayload = { + __typename?: 'CancelEnterpriseMemberInvitationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The invitation that was canceled. */ + invitation?: Maybe; + /** A message confirming the result of canceling an member invitation. */ + message?: Maybe; +}; + +/** Autogenerated input type of CancelSponsorship */ +export type CancelSponsorshipInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** + * The ID of the user or organization who is acting as the sponsor, paying for + * the sponsorship. Required if sponsorLogin is not given. + */ + sponsorId?: InputMaybe; + /** + * The username of the user or organization who is acting as the sponsor, paying + * for the sponsorship. Required if sponsorId is not given. + */ + sponsorLogin?: InputMaybe; + /** The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given. */ + sponsorableId?: InputMaybe; + /** The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given. */ + sponsorableLogin?: InputMaybe; +}; + +/** Autogenerated return type of CancelSponsorship. */ +export type CancelSponsorshipPayload = { + __typename?: 'CancelSponsorshipPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The tier that was being used at the time of cancellation. */ + sponsorsTier?: Maybe; +}; + +/** Autogenerated input type of ChangeUserStatus */ +export type ChangeUserStatusInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The emoji to represent your status. Can either be a native Unicode emoji or an emoji name with colons, e.g., :grinning:. */ + emoji?: InputMaybe; + /** If set, the user status will not be shown after this date. */ + expiresAt?: InputMaybe; + /** Whether this status should indicate you are not fully available on GitHub, e.g., you are away. */ + limitedAvailability?: InputMaybe; + /** A short description of your current status. */ + message?: InputMaybe; + /** + * The ID of the organization whose members will be allowed to see the status. If + * omitted, the status will be publicly visible. + */ + organizationId?: InputMaybe; +}; + +/** Autogenerated return type of ChangeUserStatus. */ +export type ChangeUserStatusPayload = { + __typename?: 'ChangeUserStatusPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** Your updated status. */ + status?: Maybe; +}; + +/** A single check annotation. */ +export type CheckAnnotation = { + __typename?: 'CheckAnnotation'; + /** The annotation's severity level. */ + annotationLevel?: Maybe; + /** The path to the file that this annotation was made on. */ + blobUrl: Scalars['URI']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The position of this annotation. */ + location: CheckAnnotationSpan; + /** The annotation's message. */ + message: Scalars['String']['output']; + /** The path that this annotation was made on. */ + path: Scalars['String']['output']; + /** Additional information about the annotation. */ + rawDetails?: Maybe; + /** The annotation's title */ + title?: Maybe; +}; + +/** The connection type for CheckAnnotation. */ +export type CheckAnnotationConnection = { + __typename?: 'CheckAnnotationConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** Information from a check run analysis to specific lines of code. */ +export type CheckAnnotationData = { + /** Represents an annotation's information level */ + annotationLevel: CheckAnnotationLevel; + /** The location of the annotation */ + location: CheckAnnotationRange; + /** A short description of the feedback for these lines of code. */ + message: Scalars['String']['input']; + /** The path of the file to add an annotation to. */ + path: Scalars['String']['input']; + /** Details about this annotation. */ + rawDetails?: InputMaybe; + /** The title that represents the annotation. */ + title?: InputMaybe; +}; + +/** An edge in a connection. */ +export type CheckAnnotationEdge = { + __typename?: 'CheckAnnotationEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** Represents an annotation's information level. */ +export type CheckAnnotationLevel = + /** An annotation indicating an inescapable error. */ + | 'FAILURE' + /** An annotation indicating some information. */ + | 'NOTICE' + /** An annotation indicating an ignorable error. */ + | 'WARNING'; + +/** A character position in a check annotation. */ +export type CheckAnnotationPosition = { + __typename?: 'CheckAnnotationPosition'; + /** Column number (1 indexed). */ + column?: Maybe; + /** Line number (1 indexed). */ + line: Scalars['Int']['output']; +}; + +/** Information from a check run analysis to specific lines of code. */ +export type CheckAnnotationRange = { + /** The ending column of the range. */ + endColumn?: InputMaybe; + /** The ending line of the range. */ + endLine: Scalars['Int']['input']; + /** The starting column of the range. */ + startColumn?: InputMaybe; + /** The starting line of the range. */ + startLine: Scalars['Int']['input']; +}; + +/** An inclusive pair of positions for a check annotation. */ +export type CheckAnnotationSpan = { + __typename?: 'CheckAnnotationSpan'; + /** End position (inclusive). */ + end: CheckAnnotationPosition; + /** Start position (inclusive). */ + start: CheckAnnotationPosition; +}; + +/** The possible states for a check suite or run conclusion. */ +export type CheckConclusionState = + /** The check suite or run requires action. */ + | 'ACTION_REQUIRED' + /** The check suite or run has been cancelled. */ + | 'CANCELLED' + /** The check suite or run has failed. */ + | 'FAILURE' + /** The check suite or run was neutral. */ + | 'NEUTRAL' + /** The check suite or run was skipped. */ + | 'SKIPPED' + /** The check suite or run was marked stale by GitHub. Only GitHub can use this conclusion. */ + | 'STALE' + /** The check suite or run has failed at startup. */ + | 'STARTUP_FAILURE' + /** The check suite or run has succeeded. */ + | 'SUCCESS' + /** The check suite or run has timed out. */ + | 'TIMED_OUT'; + +/** A check run. */ +export type CheckRun = Node & RequirableByPullRequest & UniformResourceLocatable & { + __typename?: 'CheckRun'; + /** The check run's annotations */ + annotations?: Maybe; + /** The check suite that this run is a part of. */ + checkSuite: CheckSuite; + /** Identifies the date and time when the check run was completed. */ + completedAt?: Maybe; + /** The conclusion of the check run. */ + conclusion?: Maybe; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The corresponding deployment for this job, if any */ + deployment?: Maybe; + /** The URL from which to find full details of the check run on the integrator's site. */ + detailsUrl?: Maybe; + /** A reference for the check run on the integrator's system. */ + externalId?: Maybe; + /** The Node ID of the CheckRun object */ + id: Scalars['ID']['output']; + /** Whether this is required to pass before merging for a specific pull request. */ + isRequired: Scalars['Boolean']['output']; + /** The name of the check for this check run. */ + name: Scalars['String']['output']; + /** Information about a pending deployment, if any, in this check run */ + pendingDeploymentRequest?: Maybe; + /** The permalink to the check run summary. */ + permalink: Scalars['URI']['output']; + /** The repository associated with this check run. */ + repository: Repository; + /** The HTTP path for this check run. */ + resourcePath: Scalars['URI']['output']; + /** Identifies the date and time when the check run was started. */ + startedAt?: Maybe; + /** The current status of the check run. */ + status: CheckStatusState; + /** The check run's steps */ + steps?: Maybe; + /** A string representing the check run's summary */ + summary?: Maybe; + /** A string representing the check run's text */ + text?: Maybe; + /** A string representing the check run */ + title?: Maybe; + /** The HTTP URL for this check run. */ + url: Scalars['URI']['output']; +}; + + +/** A check run. */ +export type CheckRunAnnotationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A check run. */ +export type CheckRunIsRequiredArgs = { + pullRequestId?: InputMaybe; + pullRequestNumber?: InputMaybe; +}; + + +/** A check run. */ +export type CheckRunStepsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + number?: InputMaybe; +}; + +/** Possible further actions the integrator can perform. */ +export type CheckRunAction = { + /** A short explanation of what this action would do. */ + description: Scalars['String']['input']; + /** A reference for the action on the integrator's system. */ + identifier: Scalars['String']['input']; + /** The text to be displayed on a button in the web UI. */ + label: Scalars['String']['input']; +}; + +/** The connection type for CheckRun. */ +export type CheckRunConnection = { + __typename?: 'CheckRunConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type CheckRunEdge = { + __typename?: 'CheckRunEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The filters that are available when fetching check runs. */ +export type CheckRunFilter = { + /** Filters the check runs created by this application ID. */ + appId?: InputMaybe; + /** Filters the check runs by this name. */ + checkName?: InputMaybe; + /** Filters the check runs by this type. */ + checkType?: InputMaybe; + /** Filters the check runs by these conclusions. */ + conclusions?: InputMaybe>; + /** Filters the check runs by this status. Superceded by statuses. */ + status?: InputMaybe; + /** Filters the check runs by this status. Overrides status. */ + statuses?: InputMaybe>; +}; + +/** Descriptive details about the check run. */ +export type CheckRunOutput = { + /** The annotations that are made as part of the check run. */ + annotations?: InputMaybe>; + /** Images attached to the check run output displayed in the GitHub pull request UI. */ + images?: InputMaybe>; + /** The summary of the check run (supports Commonmark). */ + summary: Scalars['String']['input']; + /** The details of the check run (supports Commonmark). */ + text?: InputMaybe; + /** A title to provide for this check run. */ + title: Scalars['String']['input']; +}; + +/** Images attached to the check run output displayed in the GitHub pull request UI. */ +export type CheckRunOutputImage = { + /** The alternative text for the image. */ + alt: Scalars['String']['input']; + /** A short image description. */ + caption?: InputMaybe; + /** The full URL of the image. */ + imageUrl: Scalars['URI']['input']; +}; + +/** The possible states of a check run in a status rollup. */ +export type CheckRunState = + /** The check run requires action. */ + | 'ACTION_REQUIRED' + /** The check run has been cancelled. */ + | 'CANCELLED' + /** The check run has been completed. */ + | 'COMPLETED' + /** The check run has failed. */ + | 'FAILURE' + /** The check run is in progress. */ + | 'IN_PROGRESS' + /** The check run was neutral. */ + | 'NEUTRAL' + /** The check run is in pending state. */ + | 'PENDING' + /** The check run has been queued. */ + | 'QUEUED' + /** The check run was skipped. */ + | 'SKIPPED' + /** The check run was marked stale by GitHub. Only GitHub can use this conclusion. */ + | 'STALE' + /** The check run has failed at startup. */ + | 'STARTUP_FAILURE' + /** The check run has succeeded. */ + | 'SUCCESS' + /** The check run has timed out. */ + | 'TIMED_OUT' + /** The check run is in waiting state. */ + | 'WAITING'; + +/** Represents a count of the state of a check run. */ +export type CheckRunStateCount = { + __typename?: 'CheckRunStateCount'; + /** The number of check runs with this state. */ + count: Scalars['Int']['output']; + /** The state of a check run. */ + state: CheckRunState; +}; + +/** The possible types of check runs. */ +export type CheckRunType = + /** Every check run available. */ + | 'ALL' + /** The latest check run. */ + | 'LATEST'; + +/** The possible states for a check suite or run status. */ +export type CheckStatusState = + /** The check suite or run has been completed. */ + | 'COMPLETED' + /** The check suite or run is in progress. */ + | 'IN_PROGRESS' + /** The check suite or run is in pending state. */ + | 'PENDING' + /** The check suite or run has been queued. */ + | 'QUEUED' + /** The check suite or run has been requested. */ + | 'REQUESTED' + /** The check suite or run is in waiting state. */ + | 'WAITING'; + +/** A single check step. */ +export type CheckStep = { + __typename?: 'CheckStep'; + /** Identifies the date and time when the check step was completed. */ + completedAt?: Maybe; + /** The conclusion of the check step. */ + conclusion?: Maybe; + /** A reference for the check step on the integrator's system. */ + externalId?: Maybe; + /** The step's name. */ + name: Scalars['String']['output']; + /** The index of the step in the list of steps of the parent check run. */ + number: Scalars['Int']['output']; + /** Number of seconds to completion. */ + secondsToCompletion?: Maybe; + /** Identifies the date and time when the check step was started. */ + startedAt?: Maybe; + /** The current status of the check step. */ + status: CheckStatusState; +}; + +/** The connection type for CheckStep. */ +export type CheckStepConnection = { + __typename?: 'CheckStepConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type CheckStepEdge = { + __typename?: 'CheckStepEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** A check suite. */ +export type CheckSuite = Node & { + __typename?: 'CheckSuite'; + /** The GitHub App which created this check suite. */ + app?: Maybe; + /** The name of the branch for this check suite. */ + branch?: Maybe; + /** The check runs associated with a check suite. */ + checkRuns?: Maybe; + /** The commit for this check suite */ + commit: Commit; + /** The conclusion of this check suite. */ + conclusion?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The user who triggered the check suite. */ + creator?: Maybe; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the CheckSuite object */ + id: Scalars['ID']['output']; + /** A list of open pull requests matching the check suite. */ + matchingPullRequests?: Maybe; + /** The push that triggered this check suite. */ + push?: Maybe; + /** The repository associated with this check suite. */ + repository: Repository; + /** The HTTP path for this check suite */ + resourcePath: Scalars['URI']['output']; + /** The status of this check suite. */ + status: CheckStatusState; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; + /** The HTTP URL for this check suite */ + url: Scalars['URI']['output']; + /** The workflow run associated with this check suite. */ + workflowRun?: Maybe; +}; + + +/** A check suite. */ +export type CheckSuiteCheckRunsArgs = { + after?: InputMaybe; + before?: InputMaybe; + filterBy?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A check suite. */ +export type CheckSuiteMatchingPullRequestsArgs = { + after?: InputMaybe; + baseRefName?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + headRefName?: InputMaybe; + labels?: InputMaybe>; + last?: InputMaybe; + orderBy?: InputMaybe; + states?: InputMaybe>; +}; + +/** The auto-trigger preferences that are available for check suites. */ +export type CheckSuiteAutoTriggerPreference = { + /** The node ID of the application that owns the check suite. */ + appId: Scalars['ID']['input']; + /** Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository. */ + setting: Scalars['Boolean']['input']; +}; + +/** The connection type for CheckSuite. */ +export type CheckSuiteConnection = { + __typename?: 'CheckSuiteConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type CheckSuiteEdge = { + __typename?: 'CheckSuiteEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The filters that are available when fetching check suites. */ +export type CheckSuiteFilter = { + /** Filters the check suites created by this application ID. */ + appId?: InputMaybe; + /** Filters the check suites by this name. */ + checkName?: InputMaybe; +}; + +/** An object which can have its data claimed or claim data from another. */ +export type Claimable = Mannequin | User; + +/** Autogenerated input type of ClearLabelsFromLabelable */ +export type ClearLabelsFromLabelableInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the labelable object to clear the labels from. */ + labelableId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ClearLabelsFromLabelable. */ +export type ClearLabelsFromLabelablePayload = { + __typename?: 'ClearLabelsFromLabelablePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The item that was unlabeled. */ + labelable?: Maybe; +}; + +/** Autogenerated input type of ClearProjectV2ItemFieldValue */ +export type ClearProjectV2ItemFieldValueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the field to be cleared. */ + fieldId: Scalars['ID']['input']; + /** The ID of the item to be cleared. */ + itemId: Scalars['ID']['input']; + /** The ID of the Project. */ + projectId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ClearProjectV2ItemFieldValue. */ +export type ClearProjectV2ItemFieldValuePayload = { + __typename?: 'ClearProjectV2ItemFieldValuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The updated item. */ + projectV2Item?: Maybe; +}; + +/** Autogenerated input type of CloneProject */ +export type CloneProjectInput = { + /** The description of the project. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Whether or not to clone the source project's workflows. */ + includeWorkflows: Scalars['Boolean']['input']; + /** The name of the project. */ + name: Scalars['String']['input']; + /** The visibility of the project, defaults to false (private). */ + public?: InputMaybe; + /** The source project to clone. */ + sourceId: Scalars['ID']['input']; + /** The owner ID to create the project under. */ + targetOwnerId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CloneProject. */ +export type CloneProjectPayload = { + __typename?: 'CloneProjectPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The id of the JobStatus for populating cloned fields. */ + jobStatusId?: Maybe; + /** The new cloned project. */ + project?: Maybe; +}; + +/** Autogenerated input type of CloneTemplateRepository */ +export type CloneTemplateRepositoryInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** A short description of the new repository. */ + description?: InputMaybe; + /** + * Whether to copy all branches from the template to the new repository. Defaults + * to copying only the default branch of the template. + */ + includeAllBranches?: InputMaybe; + /** The name of the new repository. */ + name: Scalars['String']['input']; + /** The ID of the owner for the new repository. */ + ownerId: Scalars['ID']['input']; + /** The Node ID of the template repository. */ + repositoryId: Scalars['ID']['input']; + /** Indicates the repository's visibility level. */ + visibility: RepositoryVisibility; +}; + +/** Autogenerated return type of CloneTemplateRepository. */ +export type CloneTemplateRepositoryPayload = { + __typename?: 'CloneTemplateRepositoryPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new repository. */ + repository?: Maybe; +}; + +/** An object that can be closed */ +export type Closable = { + /** Indicates if the object is closed (definition of closed may depend on type) */ + closed: Scalars['Boolean']['output']; + /** Identifies the date and time when the object was closed. */ + closedAt?: Maybe; + /** Indicates if the object can be closed by the viewer. */ + viewerCanClose: Scalars['Boolean']['output']; + /** Indicates if the object can be reopened by the viewer. */ + viewerCanReopen: Scalars['Boolean']['output']; +}; + +/** Autogenerated input type of CloseDiscussion */ +export type CloseDiscussionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** ID of the discussion to be closed. */ + discussionId: Scalars['ID']['input']; + /** The reason why the discussion is being closed. */ + reason?: InputMaybe; +}; + +/** Autogenerated return type of CloseDiscussion. */ +export type CloseDiscussionPayload = { + __typename?: 'CloseDiscussionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The discussion that was closed. */ + discussion?: Maybe; +}; + +/** Autogenerated input type of CloseIssue */ +export type CloseIssueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** ID of the issue to be closed. */ + issueId: Scalars['ID']['input']; + /** The reason the issue is to be closed. */ + stateReason?: InputMaybe; +}; + +/** Autogenerated return type of CloseIssue. */ +export type CloseIssuePayload = { + __typename?: 'CloseIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The issue that was closed. */ + issue?: Maybe; +}; + +/** Autogenerated input type of ClosePullRequest */ +export type ClosePullRequestInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** ID of the pull request to be closed. */ + pullRequestId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ClosePullRequest. */ +export type ClosePullRequestPayload = { + __typename?: 'ClosePullRequestPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The pull request that was closed. */ + pullRequest?: Maybe; +}; + +/** Represents a 'closed' event on any `Closable`. */ +export type ClosedEvent = Node & UniformResourceLocatable & { + __typename?: 'ClosedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Object that was closed. */ + closable: Discussion | Issue | Milestone | Project | ProjectV2 | PullRequest; + /** Object which triggered the creation of this event. */ + closer?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the ClosedEvent object */ + id: Scalars['ID']['output']; + /** The HTTP path for this closed event. */ + resourcePath: Scalars['URI']['output']; + /** The reason the issue state was changed to closed. */ + stateReason?: Maybe; + /** The HTTP URL for this closed event. */ + url: Scalars['URI']['output']; +}; + +/** The object which triggered a `ClosedEvent`. */ +export type Closer = Commit | ProjectV2 | PullRequest; + +/** The Code of Conduct for a repository */ +export type CodeOfConduct = Node & { + __typename?: 'CodeOfConduct'; + /** The body of the Code of Conduct */ + body?: Maybe; + /** The Node ID of the CodeOfConduct object */ + id: Scalars['ID']['output']; + /** The key for the Code of Conduct */ + key: Scalars['String']['output']; + /** The formal name of the Code of Conduct */ + name: Scalars['String']['output']; + /** The HTTP path for this Code of Conduct */ + resourcePath?: Maybe; + /** The HTTP URL for this Code of Conduct */ + url?: Maybe; +}; + +/** + * Choose which tools must provide code scanning results before the reference is + * updated. When configured, code scanning must be enabled and have results for + * both the commit and the reference being updated. + */ +export type CodeScanningParameters = { + __typename?: 'CodeScanningParameters'; + /** Tools that must provide code scanning results for this rule to pass. */ + codeScanningTools: Array; +}; + +/** + * Choose which tools must provide code scanning results before the reference is + * updated. When configured, code scanning must be enabled and have results for + * both the commit and the reference being updated. + */ +export type CodeScanningParametersInput = { + /** Tools that must provide code scanning results for this rule to pass. */ + codeScanningTools: Array; +}; + +/** A tool that must provide code scanning results for this rule to pass. */ +export type CodeScanningTool = { + __typename?: 'CodeScanningTool'; + /** + * The severity level at which code scanning results that raise alerts block a + * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." + */ + alertsThreshold: Scalars['String']['output']; + /** + * The severity level at which code scanning results that raise security alerts + * block a reference update. For more information on security severity levels, + * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." + */ + securityAlertsThreshold: Scalars['String']['output']; + /** The name of a code scanning tool */ + tool: Scalars['String']['output']; +}; + +/** A tool that must provide code scanning results for this rule to pass. */ +export type CodeScanningToolInput = { + /** + * The severity level at which code scanning results that raise alerts block a + * reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." + */ + alertsThreshold: Scalars['String']['input']; + /** + * The severity level at which code scanning results that raise security alerts + * block a reference update. For more information on security severity levels, + * see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." + */ + securityAlertsThreshold: Scalars['String']['input']; + /** The name of a code scanning tool */ + tool: Scalars['String']['input']; +}; + +/** Collaborators affiliation level with a subject. */ +export type CollaboratorAffiliation = + /** All collaborators the authenticated user can see. */ + | 'ALL' + /** All collaborators with permissions to an organization-owned subject, regardless of organization membership status. */ + | 'DIRECT' + /** All outside collaborators of an organization-owned subject. */ + | 'OUTSIDE'; + +/** Represents a comment. */ +export type Comment = { + /** The actor who authored the comment. */ + author?: Maybe; + /** Author's association with the subject of the comment. */ + authorAssociation: CommentAuthorAssociation; + /** The body as Markdown. */ + body: Scalars['String']['output']; + /** The body rendered to HTML. */ + bodyHTML: Scalars['HTML']['output']; + /** The body rendered to text. */ + bodyText: Scalars['String']['output']; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Check if this comment was created via an email reply. */ + createdViaEmail: Scalars['Boolean']['output']; + /** The actor who edited the comment. */ + editor?: Maybe; + /** The Node ID of the Comment object */ + id: Scalars['ID']['output']; + /** Check if this comment was edited and includes an edit with the creation data */ + includesCreatedEdit: Scalars['Boolean']['output']; + /** The moment the editor made the last edit */ + lastEditedAt?: Maybe; + /** Identifies when the comment was published at. */ + publishedAt?: Maybe; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; + /** A list of edits to this content. */ + userContentEdits?: Maybe; + /** Did the viewer author this comment. */ + viewerDidAuthor: Scalars['Boolean']['output']; +}; + + +/** Represents a comment. */ +export type CommentUserContentEditsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** A comment author association with repository. */ +export type CommentAuthorAssociation = + /** Author has been invited to collaborate on the repository. */ + | 'COLLABORATOR' + /** Author has previously committed to the repository. */ + | 'CONTRIBUTOR' + /** Author has not previously committed to GitHub. */ + | 'FIRST_TIMER' + /** Author has not previously committed to the repository. */ + | 'FIRST_TIME_CONTRIBUTOR' + /** Author is a placeholder for an unclaimed user. */ + | 'MANNEQUIN' + /** Author is a member of the organization that owns the repository. */ + | 'MEMBER' + /** Author has no association with the repository. */ + | 'NONE' + /** Author is the owner of the repository. */ + | 'OWNER'; + +/** The possible errors that will prevent a user from updating a comment. */ +export type CommentCannotUpdateReason = + /** Unable to create comment because repository is archived. */ + | 'ARCHIVED' + /** You cannot update this comment */ + | 'DENIED' + /** You must be the author or have write access to this repository to update this comment. */ + | 'INSUFFICIENT_ACCESS' + /** Unable to create comment because issue is locked. */ + | 'LOCKED' + /** You must be logged in to update this comment. */ + | 'LOGIN_REQUIRED' + /** Repository is under maintenance. */ + | 'MAINTENANCE' + /** At least one email address must be verified to update this comment. */ + | 'VERIFIED_EMAIL_REQUIRED'; + +/** Represents a 'comment_deleted' event on a given issue or pull request. */ +export type CommentDeletedEvent = Node & { + __typename?: 'CommentDeletedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The user who authored the deleted comment. */ + deletedCommentAuthor?: Maybe; + /** The Node ID of the CommentDeletedEvent object */ + id: Scalars['ID']['output']; +}; + +/** Represents a Git commit. */ +export type Commit = GitObject & Node & Subscribable & UniformResourceLocatable & { + __typename?: 'Commit'; + /** An abbreviated version of the Git object ID */ + abbreviatedOid: Scalars['String']['output']; + /** The number of additions in this commit. */ + additions: Scalars['Int']['output']; + /** + * The merged Pull Request that introduced the commit to the repository. If the + * commit is not present in the default branch, additionally returns open Pull + * Requests associated with the commit + */ + associatedPullRequests?: Maybe; + /** Authorship details of the commit. */ + author?: Maybe; + /** Check if the committer and the author match. */ + authoredByCommitter: Scalars['Boolean']['output']; + /** The datetime when this commit was authored. */ + authoredDate: Scalars['DateTime']['output']; + /** + * The list of authors for this commit based on the git author and the Co-authored-by + * message trailer. The git author will always be first. + */ + authors: GitActorConnection; + /** Fetches `git blame` information. */ + blame: Blame; + /** + * We recommend using the `changedFilesIfAvailable` field instead of + * `changedFiles`, as `changedFiles` will cause your request to return an error + * if GitHub is unable to calculate the number of changed files. + * @deprecated `changedFiles` will be removed. Use `changedFilesIfAvailable` instead. Removal on 2023-01-01 UTC. + */ + changedFiles: Scalars['Int']['output']; + /** + * The number of changed files in this commit. If GitHub is unable to calculate + * the number of changed files (for example due to a timeout), this will return + * `null`. We recommend using this field instead of `changedFiles`. + */ + changedFilesIfAvailable?: Maybe; + /** The check suites associated with a commit. */ + checkSuites?: Maybe; + /** Comments made on the commit. */ + comments: CommitCommentConnection; + /** The HTTP path for this Git object */ + commitResourcePath: Scalars['URI']['output']; + /** The HTTP URL for this Git object */ + commitUrl: Scalars['URI']['output']; + /** The datetime when this commit was committed. */ + committedDate: Scalars['DateTime']['output']; + /** Check if committed via GitHub web UI. */ + committedViaWeb: Scalars['Boolean']['output']; + /** Committer details of the commit. */ + committer?: Maybe; + /** The number of deletions in this commit. */ + deletions: Scalars['Int']['output']; + /** The deployments associated with a commit. */ + deployments?: Maybe; + /** The tree entry representing the file located at the given path. */ + file?: Maybe; + /** The linear commit history starting from (and including) this commit, in the same order as `git log`. */ + history: CommitHistoryConnection; + /** The Node ID of the Commit object */ + id: Scalars['ID']['output']; + /** The Git commit message */ + message: Scalars['String']['output']; + /** The Git commit message body */ + messageBody: Scalars['String']['output']; + /** The commit message body rendered to HTML. */ + messageBodyHTML: Scalars['HTML']['output']; + /** The Git commit message headline */ + messageHeadline: Scalars['String']['output']; + /** The commit message headline rendered to HTML. */ + messageHeadlineHTML: Scalars['HTML']['output']; + /** The Git object ID */ + oid: Scalars['GitObjectID']['output']; + /** The organization this commit was made on behalf of. */ + onBehalfOf?: Maybe; + /** The parents of a commit. */ + parents: CommitConnection; + /** + * The datetime when this commit was pushed. + * @deprecated `pushedDate` is no longer supported. Removal on 2023-07-01 UTC. + */ + pushedDate?: Maybe; + /** The Repository this commit belongs to */ + repository: Repository; + /** The HTTP path for this commit */ + resourcePath: Scalars['URI']['output']; + /** Commit signing information, if present. */ + signature?: Maybe; + /** Status information for this commit */ + status?: Maybe; + /** Check and Status rollup information for this commit. */ + statusCheckRollup?: Maybe; + /** Returns a list of all submodules in this repository as of this Commit parsed from the .gitmodules file. */ + submodules: SubmoduleConnection; + /** + * Returns a URL to download a tarball archive for a repository. + * Note: For private repositories, these links are temporary and expire after five minutes. + */ + tarballUrl: Scalars['URI']['output']; + /** Commit's root Tree */ + tree: Tree; + /** The HTTP path for the tree of this commit */ + treeResourcePath: Scalars['URI']['output']; + /** The HTTP URL for the tree of this commit */ + treeUrl: Scalars['URI']['output']; + /** The HTTP URL for this commit */ + url: Scalars['URI']['output']; + /** Check if the viewer is able to change their subscription status for the repository. */ + viewerCanSubscribe: Scalars['Boolean']['output']; + /** Identifies if the viewer is watching, not watching, or ignoring the subscribable entity. */ + viewerSubscription?: Maybe; + /** + * Returns a URL to download a zipball archive for a repository. + * Note: For private repositories, these links are temporary and expire after five minutes. + */ + zipballUrl: Scalars['URI']['output']; +}; + + +/** Represents a Git commit. */ +export type CommitAssociatedPullRequestsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitAuthorsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitBlameArgs = { + path: Scalars['String']['input']; +}; + + +/** Represents a Git commit. */ +export type CommitCheckSuitesArgs = { + after?: InputMaybe; + before?: InputMaybe; + filterBy?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitCommentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitDeploymentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + environments?: InputMaybe>; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitFileArgs = { + path: Scalars['String']['input']; +}; + + +/** Represents a Git commit. */ +export type CommitHistoryArgs = { + after?: InputMaybe; + author?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + path?: InputMaybe; + since?: InputMaybe; + until?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitParentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** Represents a Git commit. */ +export type CommitSubmodulesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** Specifies an author for filtering Git commits. */ +export type CommitAuthor = { + /** Email addresses to filter by. Commits authored by any of the specified email addresses will be returned. */ + emails?: InputMaybe>; + /** + * ID of a User to filter by. If non-null, only commits authored by this user + * will be returned. This field takes precedence over emails. + */ + id?: InputMaybe; +}; + +/** Parameters to be used for the commit_author_email_pattern rule */ +export type CommitAuthorEmailPatternParameters = { + __typename?: 'CommitAuthorEmailPatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the commit_author_email_pattern rule */ +export type CommitAuthorEmailPatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; +}; + +/** Represents a comment on a given Commit. */ +export type CommitComment = Comment & Deletable & Minimizable & Node & Reactable & RepositoryNode & Updatable & UpdatableComment & { + __typename?: 'CommitComment'; + /** The actor who authored the comment. */ + author?: Maybe; + /** Author's association with the subject of the comment. */ + authorAssociation: CommentAuthorAssociation; + /** Identifies the comment body. */ + body: Scalars['String']['output']; + /** The body rendered to HTML. */ + bodyHTML: Scalars['HTML']['output']; + /** The body rendered to text. */ + bodyText: Scalars['String']['output']; + /** Identifies the commit associated with the comment, if the commit exists. */ + commit?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Check if this comment was created via an email reply. */ + createdViaEmail: Scalars['Boolean']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The actor who edited the comment. */ + editor?: Maybe; + /** The Node ID of the CommitComment object */ + id: Scalars['ID']['output']; + /** Check if this comment was edited and includes an edit with the creation data */ + includesCreatedEdit: Scalars['Boolean']['output']; + /** Returns whether or not a comment has been minimized. */ + isMinimized: Scalars['Boolean']['output']; + /** The moment the editor made the last edit */ + lastEditedAt?: Maybe; + /** + * Returns why the comment was minimized. One of `abuse`, `off-topic`, + * `outdated`, `resolved`, `duplicate` and `spam`. Note that the case and + * formatting of these values differs from the inputs to the `MinimizeComment` mutation. + */ + minimizedReason?: Maybe; + /** Identifies the file path associated with the comment. */ + path?: Maybe; + /** Identifies the line position associated with the comment. */ + position?: Maybe; + /** Identifies when the comment was published at. */ + publishedAt?: Maybe; + /** A list of reactions grouped by content left on the subject. */ + reactionGroups?: Maybe>; + /** A list of Reactions left on the Issue. */ + reactions: ReactionConnection; + /** The repository associated with this node. */ + repository: Repository; + /** The HTTP path permalink for this commit comment. */ + resourcePath: Scalars['URI']['output']; + /** Identifies the date and time when the object was last updated. */ + updatedAt: Scalars['DateTime']['output']; + /** The HTTP URL permalink for this commit comment. */ + url: Scalars['URI']['output']; + /** A list of edits to this content. */ + userContentEdits?: Maybe; + /** Check if the current viewer can delete this object. */ + viewerCanDelete: Scalars['Boolean']['output']; + /** Check if the current viewer can minimize this object. */ + viewerCanMinimize: Scalars['Boolean']['output']; + /** Can user react to this subject */ + viewerCanReact: Scalars['Boolean']['output']; + /** Check if the current viewer can update this object. */ + viewerCanUpdate: Scalars['Boolean']['output']; + /** Reasons why the current viewer can not update this comment. */ + viewerCannotUpdateReasons: Array; + /** Did the viewer author this comment. */ + viewerDidAuthor: Scalars['Boolean']['output']; +}; + + +/** Represents a comment on a given Commit. */ +export type CommitCommentReactionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + content?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** Represents a comment on a given Commit. */ +export type CommitCommentUserContentEditsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** The connection type for CommitComment. */ +export type CommitCommentConnection = { + __typename?: 'CommitCommentConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** An edge in a connection. */ +export type CommitCommentEdge = { + __typename?: 'CommitCommentEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** A thread of comments on a commit. */ +export type CommitCommentThread = Node & RepositoryNode & { + __typename?: 'CommitCommentThread'; + /** The comments that exist in this thread. */ + comments: CommitCommentConnection; + /** The commit the comments were made on. */ + commit?: Maybe; + /** The Node ID of the CommitCommentThread object */ + id: Scalars['ID']['output']; + /** The file the comments were made on. */ + path?: Maybe; + /** The position in the diff for the commit that the comment was made on. */ + position?: Maybe; + /** The repository associated with this node. */ + repository: Repository; +}; + + +/** A thread of comments on a commit. */ +export type CommitCommentThreadCommentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** The connection type for Commit. */ +export type CommitConnection = { + __typename?: 'CommitConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** Ordering options for commit contribution connections. */ +export type CommitContributionOrder = { + /** The ordering direction. */ + direction: OrderDirection; + /** The field by which to order commit contributions. */ + field: CommitContributionOrderField; +}; + +/** Properties by which commit contribution connections can be ordered. */ +export type CommitContributionOrderField = + /** Order commit contributions by how many commits they represent. */ + | 'COMMIT_COUNT' + /** Order commit contributions by when they were made. */ + | 'OCCURRED_AT'; + +/** This aggregates commits made by a user within one repository. */ +export type CommitContributionsByRepository = { + __typename?: 'CommitContributionsByRepository'; + /** The commit contributions, each representing a day. */ + contributions: CreatedCommitContributionConnection; + /** The repository in which the commits were made. */ + repository: Repository; + /** The HTTP path for the user's commits to the repository in this time range. */ + resourcePath: Scalars['URI']['output']; + /** The HTTP URL for the user's commits to the repository in this time range. */ + url: Scalars['URI']['output']; +}; + + +/** This aggregates commits made by a user within one repository. */ +export type CommitContributionsByRepositoryContributionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + +/** An edge in a connection. */ +export type CommitEdge = { + __typename?: 'CommitEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']['output']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + +/** The connection type for Commit. */ +export type CommitHistoryConnection = { + __typename?: 'CommitHistoryConnection'; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A message to include with a new commit */ +export type CommitMessage = { + /** The body of the message. */ + body?: InputMaybe; + /** The headline of the message. */ + headline: Scalars['String']['input']; +}; + +/** Parameters to be used for the commit_message_pattern rule */ +export type CommitMessagePatternParameters = { + __typename?: 'CommitMessagePatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the commit_message_pattern rule */ +export type CommitMessagePatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; +}; + +/** + * A git ref for a commit to be appended to. + * + * The ref must be a branch, i.e. its fully qualified name must start + * with `refs/heads/` (although the input is not required to be fully + * qualified). + * + * The Ref may be specified by its global node ID or by the + * `repositoryNameWithOwner` and `branchName`. + * + * ### Examples + * + * Specify a branch using a global node ID: + * + * { "id": "MDM6UmVmMTpyZWZzL2hlYWRzL21haW4=" } + * + * Specify a branch using `repositoryNameWithOwner` and `branchName`: + * + * { + * "repositoryNameWithOwner": "github/graphql-client", + * "branchName": "main" + * } + */ +export type CommittableBranch = { + /** The unqualified name of the branch to append the commit to. */ + branchName?: InputMaybe; + /** The Node ID of the Ref to be updated. */ + id?: InputMaybe; + /** The nameWithOwner of the repository to commit to. */ + repositoryNameWithOwner?: InputMaybe; +}; + +/** Parameters to be used for the committer_email_pattern rule */ +export type CommitterEmailPatternParameters = { + __typename?: 'CommitterEmailPatternParameters'; + /** How this rule will appear to users. */ + name?: Maybe; + /** If true, the rule will fail if the pattern matches. */ + negate: Scalars['Boolean']['output']; + /** The operator to use for matching. */ + operator: Scalars['String']['output']; + /** The pattern to match with. */ + pattern: Scalars['String']['output']; +}; + +/** Parameters to be used for the committer_email_pattern rule */ +export type CommitterEmailPatternParametersInput = { + /** How this rule will appear to users. */ + name?: InputMaybe; + /** If true, the rule will fail if the pattern matches. */ + negate?: InputMaybe; + /** The operator to use for matching. */ + operator: Scalars['String']['input']; + /** The pattern to match with. */ + pattern: Scalars['String']['input']; +}; + +/** Represents a comparison between two commit revisions. */ +export type Comparison = Node & { + __typename?: 'Comparison'; + /** The number of commits ahead of the base branch. */ + aheadBy: Scalars['Int']['output']; + /** The base revision of this comparison. */ + baseTarget: Blob | Commit | Tag | Tree; + /** The number of commits behind the base branch. */ + behindBy: Scalars['Int']['output']; + /** The commits which compose this comparison. */ + commits: ComparisonCommitConnection; + /** The head revision of this comparison. */ + headTarget: Blob | Commit | Tag | Tree; + /** The Node ID of the Comparison object */ + id: Scalars['ID']['output']; + /** The status of this comparison. */ + status: ComparisonStatus; +}; + + +/** Represents a comparison between two commit revisions. */ +export type ComparisonCommitsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + +/** The connection type for Commit. */ +export type ComparisonCommitConnection = { + __typename?: 'ComparisonCommitConnection'; + /** The total count of authors and co-authors across all commits. */ + authorCount: Scalars['Int']['output']; + /** A list of edges. */ + edges?: Maybe>>; + /** A list of nodes. */ + nodes?: Maybe>>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** Identifies the total count of items in the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** The status of a git comparison between two refs. */ +export type ComparisonStatus = + /** The head ref is ahead of the base ref. */ + | 'AHEAD' + /** The head ref is behind the base ref. */ + | 'BEHIND' + /** The head ref is both ahead and behind of the base ref, indicating git history has diverged. */ + | 'DIVERGED' + /** The head ref and base ref are identical. */ + | 'IDENTICAL'; + +/** Represents a 'connected' event on a given issue or pull request. */ +export type ConnectedEvent = Node & { + __typename?: 'ConnectedEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the ConnectedEvent object */ + id: Scalars['ID']['output']; + /** Reference originated in a different repository. */ + isCrossRepository: Scalars['Boolean']['output']; + /** Issue or pull request that made the reference. */ + source: ReferencedSubject; + /** Issue or pull request which was connected. */ + subject: ReferencedSubject; +}; + +/** The Contributing Guidelines for a repository. */ +export type ContributingGuidelines = { + __typename?: 'ContributingGuidelines'; + /** The body of the Contributing Guidelines. */ + body?: Maybe; + /** The HTTP path for the Contributing Guidelines. */ + resourcePath?: Maybe; + /** The HTTP URL for the Contributing Guidelines. */ + url?: Maybe; +}; + +/** Represents a contribution a user made on GitHub, such as opening an issue. */ +export type Contribution = { + /** + * Whether this contribution is associated with a record you do not have access to. For + * example, your own 'first issue' contribution may have been made on a repository you can no + * longer access. + */ + isRestricted: Scalars['Boolean']['output']; + /** When this contribution was made. */ + occurredAt: Scalars['DateTime']['output']; + /** The HTTP path for this contribution. */ + resourcePath: Scalars['URI']['output']; + /** The HTTP URL for this contribution. */ + url: Scalars['URI']['output']; + /** The user who made this contribution. */ + user: User; +}; + +/** A calendar of contributions made on GitHub by a user. */ +export type ContributionCalendar = { + __typename?: 'ContributionCalendar'; + /** A list of hex color codes used in this calendar. The darker the color, the more contributions it represents. */ + colors: Array; + /** Determine if the color set was chosen because it's currently Halloween. */ + isHalloween: Scalars['Boolean']['output']; + /** A list of the months of contributions in this calendar. */ + months: Array; + /** The count of total contributions in the calendar. */ + totalContributions: Scalars['Int']['output']; + /** A list of the weeks of contributions in this calendar. */ + weeks: Array; +}; + +/** Represents a single day of contributions on GitHub by a user. */ +export type ContributionCalendarDay = { + __typename?: 'ContributionCalendarDay'; + /** The hex color code that represents how many contributions were made on this day compared to others in the calendar. */ + color: Scalars['String']['output']; + /** How many contributions were made by the user on this day. */ + contributionCount: Scalars['Int']['output']; + /** + * Indication of contributions, relative to other days. Can be used to indicate + * which color to represent this day on a calendar. + */ + contributionLevel: ContributionLevel; + /** The day this square represents. */ + date: Scalars['Date']['output']; + /** A number representing which day of the week this square represents, e.g., 1 is Monday. */ + weekday: Scalars['Int']['output']; +}; + +/** A month of contributions in a user's contribution graph. */ +export type ContributionCalendarMonth = { + __typename?: 'ContributionCalendarMonth'; + /** The date of the first day of this month. */ + firstDay: Scalars['Date']['output']; + /** The name of the month. */ + name: Scalars['String']['output']; + /** How many weeks started in this month. */ + totalWeeks: Scalars['Int']['output']; + /** The year the month occurred in. */ + year: Scalars['Int']['output']; +}; + +/** A week of contributions in a user's contribution graph. */ +export type ContributionCalendarWeek = { + __typename?: 'ContributionCalendarWeek'; + /** The days of contributions in this week. */ + contributionDays: Array; + /** The date of the earliest square in this week. */ + firstDay: Scalars['Date']['output']; +}; + +/** Varying levels of contributions from none to many. */ +export type ContributionLevel = + /** Lowest 25% of days of contributions. */ + | 'FIRST_QUARTILE' + /** Highest 25% of days of contributions. More contributions than the third quartile. */ + | 'FOURTH_QUARTILE' + /** No contributions occurred. */ + | 'NONE' + /** Second lowest 25% of days of contributions. More contributions than the first quartile. */ + | 'SECOND_QUARTILE' + /** Second highest 25% of days of contributions. More contributions than second quartile, less than the fourth quartile. */ + | 'THIRD_QUARTILE'; + +/** Ordering options for contribution connections. */ +export type ContributionOrder = { + /** The ordering direction. */ + direction: OrderDirection; +}; + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollection = { + __typename?: 'ContributionsCollection'; + /** Commit contributions made by the user, grouped by repository. */ + commitContributionsByRepository: Array; + /** A calendar of this user's contributions on GitHub. */ + contributionCalendar: ContributionCalendar; + /** The years the user has been making contributions with the most recent year first. */ + contributionYears: Array; + /** Determine if this collection's time span ends in the current month. */ + doesEndInCurrentMonth: Scalars['Boolean']['output']; + /** + * The date of the first restricted contribution the user made in this time + * period. Can only be non-null when the user has enabled private contribution counts. + */ + earliestRestrictedContributionDate?: Maybe; + /** The ending date and time of this collection. */ + endedAt: Scalars['DateTime']['output']; + /** + * The first issue the user opened on GitHub. This will be null if that issue was + * opened outside the collection's time range and ignoreTimeRange is false. If + * the issue is not visible but the user has opted to show private contributions, + * a RestrictedContribution will be returned. + */ + firstIssueContribution?: Maybe; + /** + * The first pull request the user opened on GitHub. This will be null if that + * pull request was opened outside the collection's time range and + * ignoreTimeRange is not true. If the pull request is not visible but the user + * has opted to show private contributions, a RestrictedContribution will be returned. + */ + firstPullRequestContribution?: Maybe; + /** + * The first repository the user created on GitHub. This will be null if that + * first repository was created outside the collection's time range and + * ignoreTimeRange is false. If the repository is not visible, then a + * RestrictedContribution is returned. + */ + firstRepositoryContribution?: Maybe; + /** Does the user have any more activity in the timeline that occurred prior to the collection's time range? */ + hasActivityInThePast: Scalars['Boolean']['output']; + /** Determine if there are any contributions in this collection. */ + hasAnyContributions: Scalars['Boolean']['output']; + /** + * Determine if the user made any contributions in this time frame whose details + * are not visible because they were made in a private repository. Can only be + * true if the user enabled private contribution counts. + */ + hasAnyRestrictedContributions: Scalars['Boolean']['output']; + /** Whether or not the collector's time span is all within the same day. */ + isSingleDay: Scalars['Boolean']['output']; + /** A list of issues the user opened. */ + issueContributions: CreatedIssueContributionConnection; + /** Issue contributions made by the user, grouped by repository. */ + issueContributionsByRepository: Array; + /** + * When the user signed up for GitHub. This will be null if that sign up date + * falls outside the collection's time range and ignoreTimeRange is false. + */ + joinedGitHubContribution?: Maybe; + /** + * The date of the most recent restricted contribution the user made in this time + * period. Can only be non-null when the user has enabled private contribution counts. + */ + latestRestrictedContributionDate?: Maybe; + /** + * When this collection's time range does not include any activity from the user, use this + * to get a different collection from an earlier time range that does have activity. + */ + mostRecentCollectionWithActivity?: Maybe; + /** + * Returns a different contributions collection from an earlier time range than this one + * that does not have any contributions. + */ + mostRecentCollectionWithoutActivity?: Maybe; + /** + * The issue the user opened on GitHub that received the most comments in the specified + * time frame. + */ + popularIssueContribution?: Maybe; + /** + * The pull request the user opened on GitHub that received the most comments in the + * specified time frame. + */ + popularPullRequestContribution?: Maybe; + /** Pull request contributions made by the user. */ + pullRequestContributions: CreatedPullRequestContributionConnection; + /** Pull request contributions made by the user, grouped by repository. */ + pullRequestContributionsByRepository: Array; + /** + * Pull request review contributions made by the user. Returns the most recently + * submitted review for each PR reviewed by the user. + */ + pullRequestReviewContributions: CreatedPullRequestReviewContributionConnection; + /** Pull request review contributions made by the user, grouped by repository. */ + pullRequestReviewContributionsByRepository: Array; + /** A list of repositories owned by the user that the user created in this time range. */ + repositoryContributions: CreatedRepositoryContributionConnection; + /** + * A count of contributions made by the user that the viewer cannot access. Only + * non-zero when the user has chosen to share their private contribution counts. + */ + restrictedContributionsCount: Scalars['Int']['output']; + /** The beginning date and time of this collection. */ + startedAt: Scalars['DateTime']['output']; + /** How many commits were made by the user in this time span. */ + totalCommitContributions: Scalars['Int']['output']; + /** How many issues the user opened. */ + totalIssueContributions: Scalars['Int']['output']; + /** How many pull requests the user opened. */ + totalPullRequestContributions: Scalars['Int']['output']; + /** How many pull request reviews the user left. */ + totalPullRequestReviewContributions: Scalars['Int']['output']; + /** How many different repositories the user committed to. */ + totalRepositoriesWithContributedCommits: Scalars['Int']['output']; + /** How many different repositories the user opened issues in. */ + totalRepositoriesWithContributedIssues: Scalars['Int']['output']; + /** How many different repositories the user left pull request reviews in. */ + totalRepositoriesWithContributedPullRequestReviews: Scalars['Int']['output']; + /** How many different repositories the user opened pull requests in. */ + totalRepositoriesWithContributedPullRequests: Scalars['Int']['output']; + /** How many repositories the user created. */ + totalRepositoryContributions: Scalars['Int']['output']; + /** The user who made the contributions in this collection. */ + user: User; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionCommitContributionsByRepositoryArgs = { + maxRepositories?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionIssueContributionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionIssueContributionsByRepositoryArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + maxRepositories?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionPullRequestContributionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionPullRequestContributionsByRepositoryArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; + maxRepositories?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionPullRequestReviewContributionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionPullRequestReviewContributionsByRepositoryArgs = { + maxRepositories?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionRepositoryContributionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + excludeFirst?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + orderBy?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionTotalIssueContributionsArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionTotalPullRequestContributionsArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionTotalRepositoriesWithContributedIssuesArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionTotalRepositoriesWithContributedPullRequestsArgs = { + excludeFirst?: InputMaybe; + excludePopular?: InputMaybe; +}; + + +/** A contributions collection aggregates contributions such as opened issues and commits created by a user. */ +export type ContributionsCollectionTotalRepositoryContributionsArgs = { + excludeFirst?: InputMaybe; +}; + +/** Autogenerated input type of ConvertProjectCardNoteToIssue */ +export type ConvertProjectCardNoteToIssueInput = { + /** The body of the newly created issue. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ProjectCard ID to convert. */ + projectCardId: Scalars['ID']['input']; + /** The ID of the repository to create the issue in. */ + repositoryId: Scalars['ID']['input']; + /** The title of the newly created issue. Defaults to the card's note text. */ + title?: InputMaybe; +}; + +/** Autogenerated return type of ConvertProjectCardNoteToIssue. */ +export type ConvertProjectCardNoteToIssuePayload = { + __typename?: 'ConvertProjectCardNoteToIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The updated ProjectCard. */ + projectCard?: Maybe; +}; + +/** Autogenerated input type of ConvertProjectV2DraftIssueItemToIssue */ +export type ConvertProjectV2DraftIssueItemToIssueInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the draft issue ProjectV2Item to convert. */ + itemId: Scalars['ID']['input']; + /** The ID of the repository to create the issue in. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ConvertProjectV2DraftIssueItemToIssue. */ +export type ConvertProjectV2DraftIssueItemToIssuePayload = { + __typename?: 'ConvertProjectV2DraftIssueItemToIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The updated project item. */ + item?: Maybe; +}; + +/** Autogenerated input type of ConvertPullRequestToDraft */ +export type ConvertPullRequestToDraftInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** ID of the pull request to convert to draft */ + pullRequestId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of ConvertPullRequestToDraft. */ +export type ConvertPullRequestToDraftPayload = { + __typename?: 'ConvertPullRequestToDraftPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The pull request that is now a draft. */ + pullRequest?: Maybe; +}; + +/** Represents a 'convert_to_draft' event on a given pull request. */ +export type ConvertToDraftEvent = Node & UniformResourceLocatable & { + __typename?: 'ConvertToDraftEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Node ID of the ConvertToDraftEvent object */ + id: Scalars['ID']['output']; + /** PullRequest referenced by event. */ + pullRequest: PullRequest; + /** The HTTP path for this convert to draft event. */ + resourcePath: Scalars['URI']['output']; + /** The HTTP URL for this convert to draft event. */ + url: Scalars['URI']['output']; +}; + +/** Represents a 'converted_note_to_issue' event on a given issue or pull request. */ +export type ConvertedNoteToIssueEvent = Node & { + __typename?: 'ConvertedNoteToIssueEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Identifies the primary key from the database. */ + databaseId?: Maybe; + /** The Node ID of the ConvertedNoteToIssueEvent object */ + id: Scalars['ID']['output']; + /** Project referenced by event. */ + project?: Maybe; + /** Project card referenced by this project event. */ + projectCard?: Maybe; + /** Column name referenced by this project event. */ + projectColumnName: Scalars['String']['output']; +}; + +/** Represents a 'converted_to_discussion' event on a given issue. */ +export type ConvertedToDiscussionEvent = Node & { + __typename?: 'ConvertedToDiscussionEvent'; + /** Identifies the actor who performed the event. */ + actor?: Maybe; + /** Identifies the date and time when the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The discussion that the issue was converted into. */ + discussion?: Maybe; + /** The Node ID of the ConvertedToDiscussionEvent object */ + id: Scalars['ID']['output']; +}; + +/** Copilot endpoint information */ +export type CopilotEndpoints = { + __typename?: 'CopilotEndpoints'; + /** Copilot API endpoint */ + api: Scalars['String']['output']; + /** Copilot origin tracker endpoint */ + originTracker: Scalars['String']['output']; + /** Copilot proxy endpoint */ + proxy: Scalars['String']['output']; + /** Copilot telemetry endpoint */ + telemetry: Scalars['String']['output']; +}; + +/** Autogenerated input type of CopyProjectV2 */ +export type CopyProjectV2Input = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Include draft issues in the new project */ + includeDraftIssues?: InputMaybe; + /** The owner ID of the new project. */ + ownerId: Scalars['ID']['input']; + /** The ID of the source Project to copy. */ + projectId: Scalars['ID']['input']; + /** The title of the project. */ + title: Scalars['String']['input']; +}; + +/** Autogenerated return type of CopyProjectV2. */ +export type CopyProjectV2Payload = { + __typename?: 'CopyProjectV2Payload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The copied project. */ + projectV2?: Maybe; +}; + +/** Autogenerated input type of CreateAttributionInvitation */ +export type CreateAttributionInvitationInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The Node ID of the owner scoping the reattributable data. */ + ownerId: Scalars['ID']['input']; + /** The Node ID of the account owning the data to reattribute. */ + sourceId: Scalars['ID']['input']; + /** The Node ID of the account which may claim the data. */ + targetId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CreateAttributionInvitation. */ +export type CreateAttributionInvitationPayload = { + __typename?: 'CreateAttributionInvitationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The owner scoping the reattributable data. */ + owner?: Maybe; + /** The account owning the data to reattribute. */ + source?: Maybe; + /** The account which may claim the data. */ + target?: Maybe; +}; + +/** Autogenerated input type of CreateBranchProtectionRule */ +export type CreateBranchProtectionRuleInput = { + /** Can this branch be deleted. */ + allowsDeletions?: InputMaybe; + /** Are force pushes allowed on this branch. */ + allowsForcePushes?: InputMaybe; + /** Is branch creation a protected operation. */ + blocksCreations?: InputMaybe; + /** A list of User, Team, or App IDs allowed to bypass force push targeting matching branches. */ + bypassForcePushActorIds?: InputMaybe>; + /** A list of User, Team, or App IDs allowed to bypass pull requests targeting matching branches. */ + bypassPullRequestActorIds?: InputMaybe>; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Will new commits pushed to matching branches dismiss pull request review approvals. */ + dismissesStaleReviews?: InputMaybe; + /** Can admins override branch protection. */ + isAdminEnforced?: InputMaybe; + /** + * Whether users can pull changes from upstream when the branch is locked. Set to + * `true` to allow fork syncing. Set to `false` to prevent fork syncing. + */ + lockAllowsFetchAndMerge?: InputMaybe; + /** Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. */ + lockBranch?: InputMaybe; + /** The glob-like pattern used to determine matching branches. */ + pattern: Scalars['String']['input']; + /** A list of User, Team, or App IDs allowed to push to matching branches. */ + pushActorIds?: InputMaybe>; + /** The global relay id of the repository in which a new branch protection rule should be created in. */ + repositoryId: Scalars['ID']['input']; + /** Whether the most recent push must be approved by someone other than the person who pushed it */ + requireLastPushApproval?: InputMaybe; + /** Number of approving reviews required to update matching branches. */ + requiredApprovingReviewCount?: InputMaybe; + /** The list of required deployment environments */ + requiredDeploymentEnvironments?: InputMaybe>; + /** List of required status check contexts that must pass for commits to be accepted to matching branches. */ + requiredStatusCheckContexts?: InputMaybe>; + /** The list of required status checks */ + requiredStatusChecks?: InputMaybe>; + /** Are approving reviews required to update matching branches. */ + requiresApprovingReviews?: InputMaybe; + /** Are reviews from code owners required to update matching branches. */ + requiresCodeOwnerReviews?: InputMaybe; + /** Are commits required to be signed. */ + requiresCommitSignatures?: InputMaybe; + /** Are conversations required to be resolved before merging. */ + requiresConversationResolution?: InputMaybe; + /** Are successful deployments required before merging. */ + requiresDeployments?: InputMaybe; + /** Are merge commits prohibited from being pushed to this branch. */ + requiresLinearHistory?: InputMaybe; + /** Are status checks required to update matching branches. */ + requiresStatusChecks?: InputMaybe; + /** Are branches required to be up to date before merging. */ + requiresStrictStatusChecks?: InputMaybe; + /** Is pushing to matching branches restricted. */ + restrictsPushes?: InputMaybe; + /** Is dismissal of pull request reviews restricted. */ + restrictsReviewDismissals?: InputMaybe; + /** A list of User, Team, or App IDs allowed to dismiss reviews on pull requests targeting matching branches. */ + reviewDismissalActorIds?: InputMaybe>; +}; + +/** Autogenerated return type of CreateBranchProtectionRule. */ +export type CreateBranchProtectionRulePayload = { + __typename?: 'CreateBranchProtectionRulePayload'; + /** The newly created BranchProtectionRule. */ + branchProtectionRule?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; +}; + +/** Autogenerated input type of CreateCheckRun */ +export type CreateCheckRunInput = { + /** Possible further actions the integrator can perform, which a user may trigger. */ + actions?: InputMaybe>; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The time that the check run finished. */ + completedAt?: InputMaybe; + /** The final conclusion of the check. */ + conclusion?: InputMaybe; + /** The URL of the integrator's site that has the full details of the check. */ + detailsUrl?: InputMaybe; + /** A reference for the run on the integrator's system. */ + externalId?: InputMaybe; + /** The SHA of the head commit. */ + headSha: Scalars['GitObjectID']['input']; + /** The name of the check. */ + name: Scalars['String']['input']; + /** Descriptive details about the run. */ + output?: InputMaybe; + /** The node ID of the repository. */ + repositoryId: Scalars['ID']['input']; + /** The time that the check run began. */ + startedAt?: InputMaybe; + /** The current status. */ + status?: InputMaybe; +}; + +/** Autogenerated return type of CreateCheckRun. */ +export type CreateCheckRunPayload = { + __typename?: 'CreateCheckRunPayload'; + /** The newly created check run. */ + checkRun?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; +}; + +/** Autogenerated input type of CreateCheckSuite */ +export type CreateCheckSuiteInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The SHA of the head commit. */ + headSha: Scalars['GitObjectID']['input']; + /** The Node ID of the repository. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CreateCheckSuite. */ +export type CreateCheckSuitePayload = { + __typename?: 'CreateCheckSuitePayload'; + /** The newly created check suite. */ + checkSuite?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; +}; + +/** Autogenerated input type of CreateCommitOnBranch */ +export type CreateCommitOnBranchInput = { + /** The Ref to be updated. Must be a branch. */ + branch: CommittableBranch; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The git commit oid expected at the head of the branch prior to the commit */ + expectedHeadOid: Scalars['GitObjectID']['input']; + /** A description of changes to files in this commit. */ + fileChanges?: InputMaybe; + /** The commit message the be included with the commit. */ + message: CommitMessage; +}; + +/** Autogenerated return type of CreateCommitOnBranch. */ +export type CreateCommitOnBranchPayload = { + __typename?: 'CreateCommitOnBranchPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new commit. */ + commit?: Maybe; + /** The ref which has been updated to point to the new commit. */ + ref?: Maybe; +}; + +/** Autogenerated input type of CreateDeployment */ +export type CreateDeploymentInput = { + /** Attempt to automatically merge the default branch into the requested ref, defaults to true. */ + autoMerge?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Short description of the deployment. */ + description?: InputMaybe; + /** Name for the target deployment environment. */ + environment?: InputMaybe; + /** JSON payload with extra information about the deployment. */ + payload?: InputMaybe; + /** The node ID of the ref to be deployed. */ + refId: Scalars['ID']['input']; + /** The node ID of the repository. */ + repositoryId: Scalars['ID']['input']; + /** + * The status contexts to verify against commit status checks. To bypass required + * contexts, pass an empty array. Defaults to all unique contexts. + */ + requiredContexts?: InputMaybe>; + /** Specifies a task to execute. */ + task?: InputMaybe; +}; + +/** Autogenerated return type of CreateDeployment. */ +export type CreateDeploymentPayload = { + __typename?: 'CreateDeploymentPayload'; + /** True if the default branch has been auto-merged into the deployment ref. */ + autoMerged?: Maybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new deployment. */ + deployment?: Maybe; +}; + +/** Autogenerated input type of CreateDeploymentStatus */ +export type CreateDeploymentStatusInput = { + /** + * Adds a new inactive status to all non-transient, non-production environment + * deployments with the same repository and environment name as the created + * status's deployment. + */ + autoInactive?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The node ID of the deployment. */ + deploymentId: Scalars['ID']['input']; + /** A short description of the status. Maximum length of 140 characters. */ + description?: InputMaybe; + /** If provided, updates the environment of the deploy. Otherwise, does not modify the environment. */ + environment?: InputMaybe; + /** Sets the URL for accessing your environment. */ + environmentUrl?: InputMaybe; + /** + * The log URL to associate with this status. This URL should contain + * output to keep the user updated while the task is running or serve as + * historical information for what happened in the deployment. + */ + logUrl?: InputMaybe; + /** The state of the deployment. */ + state: DeploymentStatusState; +}; + +/** Autogenerated return type of CreateDeploymentStatus. */ +export type CreateDeploymentStatusPayload = { + __typename?: 'CreateDeploymentStatusPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new deployment status. */ + deploymentStatus?: Maybe; +}; + +/** Autogenerated input type of CreateDiscussion */ +export type CreateDiscussionInput = { + /** The body of the discussion. */ + body: Scalars['String']['input']; + /** The id of the discussion category to associate with this discussion. */ + categoryId: Scalars['ID']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The id of the repository on which to create the discussion. */ + repositoryId: Scalars['ID']['input']; + /** The title of the discussion. */ + title: Scalars['String']['input']; +}; + +/** Autogenerated return type of CreateDiscussion. */ +export type CreateDiscussionPayload = { + __typename?: 'CreateDiscussionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The discussion that was just created. */ + discussion?: Maybe; +}; + +/** Autogenerated input type of CreateEnterpriseOrganization */ +export type CreateEnterpriseOrganizationInput = { + /** The logins for the administrators of the new organization. */ + adminLogins: Array; + /** The email used for sending billing receipts. */ + billingEmail: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The ID of the enterprise owning the new organization. */ + enterpriseId: Scalars['ID']['input']; + /** The login of the new organization. */ + login: Scalars['String']['input']; + /** The profile name of the new organization. */ + profileName: Scalars['String']['input']; +}; + +/** Autogenerated return type of CreateEnterpriseOrganization. */ +export type CreateEnterpriseOrganizationPayload = { + __typename?: 'CreateEnterpriseOrganizationPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The enterprise that owns the created organization. */ + enterprise?: Maybe; + /** The organization that was created. */ + organization?: Maybe; +}; + +/** Autogenerated input type of CreateEnvironment */ +export type CreateEnvironmentInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The name of the environment. */ + name: Scalars['String']['input']; + /** The node ID of the repository. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CreateEnvironment. */ +export type CreateEnvironmentPayload = { + __typename?: 'CreateEnvironmentPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new or existing environment. */ + environment?: Maybe; +}; + +/** Autogenerated input type of CreateIpAllowListEntry */ +export type CreateIpAllowListEntryInput = { + /** An IP address or range of addresses in CIDR notation. */ + allowListValue: Scalars['String']['input']; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Whether the IP allow list entry is active when an IP allow list is enabled. */ + isActive: Scalars['Boolean']['input']; + /** An optional name for the IP allow list entry. */ + name?: InputMaybe; + /** The ID of the owner for which to create the new IP allow list entry. */ + ownerId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CreateIpAllowListEntry. */ +export type CreateIpAllowListEntryPayload = { + __typename?: 'CreateIpAllowListEntryPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The IP allow list entry that was created. */ + ipAllowListEntry?: Maybe; +}; + +/** Autogenerated input type of CreateIssue */ +export type CreateIssueInput = { + /** The Node ID for the user assignee for this issue. */ + assigneeIds?: InputMaybe>; + /** The body for the issue description. */ + body?: InputMaybe; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** The name of an issue template in the repository, assigns labels and assignees from the template to the issue */ + issueTemplate?: InputMaybe; + /** An array of Node IDs of labels for this issue. */ + labelIds?: InputMaybe>; + /** The Node ID of the milestone for this issue. */ + milestoneId?: InputMaybe; + /** An array of Node IDs for projects associated with this issue. */ + projectIds?: InputMaybe>; + /** The Node ID of the repository. */ + repositoryId: Scalars['ID']['input']; + /** The title for the issue. */ + title: Scalars['String']['input']; +}; + +/** Autogenerated return type of CreateIssue. */ +export type CreateIssuePayload = { + __typename?: 'CreateIssuePayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new issue. */ + issue?: Maybe; +}; + +/** Autogenerated input type of CreateLabel */ +export type CreateLabelInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** A 6 character hex code, without the leading #, identifying the color of the label. */ + color: Scalars['String']['input']; + /** A brief description of the label, such as its purpose. */ + description?: InputMaybe; + /** The name of the label. */ + name: Scalars['String']['input']; + /** The Node ID of the repository. */ + repositoryId: Scalars['ID']['input']; +}; + +/** Autogenerated return type of CreateLabel. */ +export type CreateLabelPayload = { + __typename?: 'CreateLabelPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The new label. */ + label?: Maybe