├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ └── adding-your-project-to-bazel-ci.md └── workflows │ ├── presubmit-agent.yml │ ├── release-agent.yml │ └── release-rules.yml ├── .gitignore ├── .idea ├── continuous-integration.iml ├── dictionaries │ └── philwo.xml ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── AUTHORS ├── CODEOWNERS ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── actions ├── bcr-pr-reviewer │ ├── action.yml │ ├── index.js │ ├── node_modules │ │ ├── .bin │ │ │ └── uuid │ │ ├── .package-lock.json │ │ ├── @actions │ │ │ ├── core │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── command.d.ts │ │ │ │ │ ├── command.js │ │ │ │ │ ├── command.js.map │ │ │ │ │ ├── core.d.ts │ │ │ │ │ ├── core.js │ │ │ │ │ ├── core.js.map │ │ │ │ │ ├── file-command.d.ts │ │ │ │ │ ├── file-command.js │ │ │ │ │ ├── file-command.js.map │ │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ │ ├── oidc-utils.js │ │ │ │ │ ├── oidc-utils.js.map │ │ │ │ │ ├── path-utils.d.ts │ │ │ │ │ ├── path-utils.js │ │ │ │ │ ├── path-utils.js.map │ │ │ │ │ ├── summary.d.ts │ │ │ │ │ ├── summary.js │ │ │ │ │ ├── summary.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ └── package.json │ │ │ ├── github │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── context.d.ts │ │ │ │ │ ├── context.js │ │ │ │ │ ├── context.js.map │ │ │ │ │ ├── github.d.ts │ │ │ │ │ ├── github.js │ │ │ │ │ ├── github.js.map │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ ├── interfaces.js │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── internal │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ └── utils.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ └── package.json │ │ │ └── http-client │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── auth.d.ts │ │ │ │ ├── auth.js │ │ │ │ ├── auth.js.map │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── interfaces.d.ts │ │ │ │ ├── interfaces.js │ │ │ │ ├── interfaces.js.map │ │ │ │ ├── proxy.d.ts │ │ │ │ ├── proxy.js │ │ │ │ └── proxy.js.map │ │ │ │ └── package.json │ │ ├── @fastify │ │ │ └── busboy │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── deps │ │ │ │ ├── dicer │ │ │ │ │ ├── LICENSE │ │ │ │ │ └── lib │ │ │ │ │ │ ├── Dicer.js │ │ │ │ │ │ ├── HeaderParser.js │ │ │ │ │ │ ├── PartStream.js │ │ │ │ │ │ └── dicer.d.ts │ │ │ │ └── streamsearch │ │ │ │ │ └── sbmh.js │ │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.js │ │ │ │ ├── types │ │ │ │ │ ├── multipart.js │ │ │ │ │ └── urlencoded.js │ │ │ │ └── utils │ │ │ │ │ ├── Decoder.js │ │ │ │ │ ├── basename.js │ │ │ │ │ ├── decodeText.js │ │ │ │ │ ├── getLimit.js │ │ │ │ │ └── parseParams.js │ │ │ │ └── package.json │ │ ├── @octokit │ │ │ ├── auth-token │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── auth.js │ │ │ │ │ ├── hook.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── with-authorization-prefix.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ ├── hook.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── with-authorization-prefix.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── core │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── index.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── endpoint │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── defaults.js │ │ │ │ │ ├── endpoint-with-defaults.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── merge.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── util │ │ │ │ │ │ ├── add-query-parameters.js │ │ │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ │ │ ├── is-plain-object.js │ │ │ │ │ │ ├── lowercase-keys.js │ │ │ │ │ │ ├── merge-deep.js │ │ │ │ │ │ ├── omit.js │ │ │ │ │ │ ├── remove-undefined-properties.js │ │ │ │ │ │ └── url-template.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── defaults.d.ts │ │ │ │ │ ├── endpoint-with-defaults.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ ├── parse.d.ts │ │ │ │ │ ├── util │ │ │ │ │ │ ├── add-query-parameters.d.ts │ │ │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ │ │ ├── is-plain-object.d.ts │ │ │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ │ │ ├── merge-deep.d.ts │ │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ │ ├── remove-undefined-properties.d.ts │ │ │ │ │ │ └── url-template.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── graphql │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── error.js │ │ │ │ │ ├── graphql.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── error.d.ts │ │ │ │ │ ├── graphql.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── openapi-types │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ └── types.d.ts │ │ │ ├── plugin-paginate-rest │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── compose-paginate.js │ │ │ │ │ ├── generated │ │ │ │ │ │ └── paginating-endpoints.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── iterator.js │ │ │ │ │ ├── normalize-paginated-list-response.js │ │ │ │ │ ├── paginate.js │ │ │ │ │ ├── paginating-endpoints.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── compose-paginate.d.ts │ │ │ │ │ ├── generated │ │ │ │ │ │ └── paginating-endpoints.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── iterator.d.ts │ │ │ │ │ ├── normalize-paginated-list-response.d.ts │ │ │ │ │ ├── paginate.d.ts │ │ │ │ │ ├── paginating-endpoints.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── plugin-rest-endpoint-methods │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── endpoints-to-methods.js │ │ │ │ │ ├── generated │ │ │ │ │ │ ├── endpoints.js │ │ │ │ │ │ ├── method-types.js │ │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ │ ├── generated │ │ │ │ │ │ ├── endpoints.d.ts │ │ │ │ │ │ ├── method-types.d.ts │ │ │ │ │ │ └── parameters-and-response-types.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── request-error │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ └── index.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── types.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── request │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── fetch-wrapper.js │ │ │ │ │ ├── get-buffer-response.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── is-plain-object.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── fetch-wrapper.d.ts │ │ │ │ │ ├── get-buffer-response.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── is-plain-object.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ └── types │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-types │ │ │ │ ├── AuthInterface.d.ts │ │ │ │ ├── EndpointDefaults.d.ts │ │ │ │ ├── EndpointInterface.d.ts │ │ │ │ ├── EndpointOptions.d.ts │ │ │ │ ├── Fetch.d.ts │ │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ │ ├── OctokitResponse.d.ts │ │ │ │ ├── RequestError.d.ts │ │ │ │ ├── RequestHeaders.d.ts │ │ │ │ ├── RequestInterface.d.ts │ │ │ │ ├── RequestMethod.d.ts │ │ │ │ ├── RequestOptions.d.ts │ │ │ │ ├── RequestParameters.d.ts │ │ │ │ ├── RequestRequestOptions.d.ts │ │ │ │ ├── ResponseHeaders.d.ts │ │ │ │ ├── Route.d.ts │ │ │ │ ├── Signal.d.ts │ │ │ │ ├── StrategyInterface.d.ts │ │ │ │ ├── Url.d.ts │ │ │ │ ├── VERSION.d.ts │ │ │ │ ├── generated │ │ │ │ │ └── Endpoints.d.ts │ │ │ │ └── index.d.ts │ │ │ │ └── package.json │ │ ├── before-after-hook │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── add.js │ │ │ │ ├── register.js │ │ │ │ └── remove.js │ │ │ └── package.json │ │ ├── deprecation │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ └── index.js │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-web │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── once │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── once.js │ │ │ └── package.json │ │ ├── tunnel │ │ │ ├── .idea │ │ │ │ ├── encodings.xml │ │ │ │ ├── modules.xml │ │ │ │ ├── node-tunnel.iml │ │ │ │ ├── vcs.xml │ │ │ │ └── workspace.xml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── tunnel.js │ │ │ └── package.json │ │ ├── undici │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── docs │ │ │ │ ├── api │ │ │ │ │ ├── Agent.md │ │ │ │ │ ├── BalancedPool.md │ │ │ │ │ ├── CacheStorage.md │ │ │ │ │ ├── Client.md │ │ │ │ │ ├── Connector.md │ │ │ │ │ ├── ContentType.md │ │ │ │ │ ├── Cookies.md │ │ │ │ │ ├── DiagnosticsChannel.md │ │ │ │ │ ├── DispatchInterceptor.md │ │ │ │ │ ├── Dispatcher.md │ │ │ │ │ ├── Errors.md │ │ │ │ │ ├── Fetch.md │ │ │ │ │ ├── MockAgent.md │ │ │ │ │ ├── MockClient.md │ │ │ │ │ ├── MockErrors.md │ │ │ │ │ ├── MockPool.md │ │ │ │ │ ├── Pool.md │ │ │ │ │ ├── PoolStats.md │ │ │ │ │ ├── ProxyAgent.md │ │ │ │ │ ├── RetryHandler.md │ │ │ │ │ ├── WebSocket.md │ │ │ │ │ └── api-lifecycle.md │ │ │ │ ├── assets │ │ │ │ │ └── lifecycle-diagram.png │ │ │ │ └── best-practices │ │ │ │ │ ├── client-certificate.md │ │ │ │ │ ├── mocking-request.md │ │ │ │ │ ├── proxy.md │ │ │ │ │ └── writing-tests.md │ │ │ ├── index-fetch.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── agent.js │ │ │ │ ├── api │ │ │ │ │ ├── abort-signal.js │ │ │ │ │ ├── api-connect.js │ │ │ │ │ ├── api-pipeline.js │ │ │ │ │ ├── api-request.js │ │ │ │ │ ├── api-stream.js │ │ │ │ │ ├── api-upgrade.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── readable.js │ │ │ │ │ └── util.js │ │ │ │ ├── balanced-pool.js │ │ │ │ ├── cache │ │ │ │ │ ├── cache.js │ │ │ │ │ ├── cachestorage.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── client.js │ │ │ │ ├── compat │ │ │ │ │ └── dispatcher-weakref.js │ │ │ │ ├── cookies │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parse.js │ │ │ │ │ └── util.js │ │ │ │ ├── core │ │ │ │ │ ├── connect.js │ │ │ │ │ ├── errors.js │ │ │ │ │ ├── request.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── dispatcher-base.js │ │ │ │ ├── dispatcher.js │ │ │ │ ├── fetch │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── body.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── dataURL.js │ │ │ │ │ ├── file.js │ │ │ │ │ ├── formdata.js │ │ │ │ │ ├── global.js │ │ │ │ │ ├── headers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── request.js │ │ │ │ │ ├── response.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ ├── util.js │ │ │ │ │ └── webidl.js │ │ │ │ ├── fileapi │ │ │ │ │ ├── encoding.js │ │ │ │ │ ├── filereader.js │ │ │ │ │ ├── progressevent.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── global.js │ │ │ │ ├── handler │ │ │ │ │ ├── DecoratorHandler.js │ │ │ │ │ ├── RedirectHandler.js │ │ │ │ │ └── RetryHandler.js │ │ │ │ ├── interceptor │ │ │ │ │ └── redirectInterceptor.js │ │ │ │ ├── llhttp │ │ │ │ │ ├── constants.d.ts │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── constants.js.map │ │ │ │ │ ├── llhttp-wasm.js │ │ │ │ │ ├── llhttp.wasm │ │ │ │ │ ├── llhttp_simd-wasm.js │ │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ ├── utils.js.map │ │ │ │ │ └── wasm_build_env.txt │ │ │ │ ├── mock │ │ │ │ │ ├── mock-agent.js │ │ │ │ │ ├── mock-client.js │ │ │ │ │ ├── mock-errors.js │ │ │ │ │ ├── mock-interceptor.js │ │ │ │ │ ├── mock-pool.js │ │ │ │ │ ├── mock-symbols.js │ │ │ │ │ ├── mock-utils.js │ │ │ │ │ ├── pending-interceptors-formatter.js │ │ │ │ │ └── pluralizer.js │ │ │ │ ├── node │ │ │ │ │ └── fixed-queue.js │ │ │ │ ├── pool-base.js │ │ │ │ ├── pool-stats.js │ │ │ │ ├── pool.js │ │ │ │ ├── proxy-agent.js │ │ │ │ ├── timers.js │ │ │ │ └── websocket │ │ │ │ │ ├── connection.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── events.js │ │ │ │ │ ├── frame.js │ │ │ │ │ ├── receiver.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ ├── util.js │ │ │ │ │ └── websocket.js │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── README.md │ │ │ │ ├── agent.d.ts │ │ │ │ ├── api.d.ts │ │ │ │ ├── balanced-pool.d.ts │ │ │ │ ├── cache.d.ts │ │ │ │ ├── client.d.ts │ │ │ │ ├── connector.d.ts │ │ │ │ ├── content-type.d.ts │ │ │ │ ├── cookies.d.ts │ │ │ │ ├── diagnostics-channel.d.ts │ │ │ │ ├── dispatcher.d.ts │ │ │ │ ├── errors.d.ts │ │ │ │ ├── fetch.d.ts │ │ │ │ ├── file.d.ts │ │ │ │ ├── filereader.d.ts │ │ │ │ ├── formdata.d.ts │ │ │ │ ├── global-dispatcher.d.ts │ │ │ │ ├── global-origin.d.ts │ │ │ │ ├── handlers.d.ts │ │ │ │ ├── header.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── interceptors.d.ts │ │ │ │ ├── mock-agent.d.ts │ │ │ │ ├── mock-client.d.ts │ │ │ │ ├── mock-errors.d.ts │ │ │ │ ├── mock-interceptor.d.ts │ │ │ │ ├── mock-pool.d.ts │ │ │ │ ├── patch.d.ts │ │ │ │ ├── pool-stats.d.ts │ │ │ │ ├── pool.d.ts │ │ │ │ ├── proxy-agent.d.ts │ │ │ │ ├── readable.d.ts │ │ │ │ ├── retry-handler.d.ts │ │ │ │ ├── webidl.d.ts │ │ │ │ └── websocket.d.ts │ │ ├── universal-user-agent │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-web │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ └── package.json │ │ ├── uuid │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ ├── bin │ │ │ │ │ └── uuid │ │ │ │ ├── esm-browser │ │ │ │ │ ├── index.js │ │ │ │ │ ├── md5.js │ │ │ │ │ ├── nil.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── regex.js │ │ │ │ │ ├── rng.js │ │ │ │ │ ├── sha1.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ ├── v1.js │ │ │ │ │ ├── v3.js │ │ │ │ │ ├── v35.js │ │ │ │ │ ├── v4.js │ │ │ │ │ ├── v5.js │ │ │ │ │ ├── validate.js │ │ │ │ │ └── version.js │ │ │ │ ├── esm-node │ │ │ │ │ ├── index.js │ │ │ │ │ ├── md5.js │ │ │ │ │ ├── nil.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── regex.js │ │ │ │ │ ├── rng.js │ │ │ │ │ ├── sha1.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ ├── v1.js │ │ │ │ │ ├── v3.js │ │ │ │ │ ├── v35.js │ │ │ │ │ ├── v4.js │ │ │ │ │ ├── v5.js │ │ │ │ │ ├── validate.js │ │ │ │ │ └── version.js │ │ │ │ ├── index.js │ │ │ │ ├── md5-browser.js │ │ │ │ ├── md5.js │ │ │ │ ├── nil.js │ │ │ │ ├── parse.js │ │ │ │ ├── regex.js │ │ │ │ ├── rng-browser.js │ │ │ │ ├── rng.js │ │ │ │ ├── sha1-browser.js │ │ │ │ ├── sha1.js │ │ │ │ ├── stringify.js │ │ │ │ ├── umd │ │ │ │ │ ├── uuid.min.js │ │ │ │ │ ├── uuidNIL.min.js │ │ │ │ │ ├── uuidParse.min.js │ │ │ │ │ ├── uuidStringify.min.js │ │ │ │ │ ├── uuidValidate.min.js │ │ │ │ │ ├── uuidVersion.min.js │ │ │ │ │ ├── uuidv1.min.js │ │ │ │ │ ├── uuidv3.min.js │ │ │ │ │ ├── uuidv4.min.js │ │ │ │ │ └── uuidv5.min.js │ │ │ │ ├── uuid-bin.js │ │ │ │ ├── v1.js │ │ │ │ ├── v3.js │ │ │ │ ├── v35.js │ │ │ │ ├── v4.js │ │ │ │ ├── v5.js │ │ │ │ ├── validate.js │ │ │ │ └── version.js │ │ │ ├── package.json │ │ │ └── wrapper.mjs │ │ └── wrappy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── wrappy.js │ ├── package-lock.json │ └── package.json ├── cherry_picker │ ├── action.yml │ ├── cherrypick_with_commits.py │ ├── cherrypick_with_milestones.py │ ├── functions.py │ ├── requirements.txt │ └── vars.py ├── release-helper │ ├── action.yml │ ├── index.js │ ├── node_modules │ │ ├── .package-lock.json │ │ ├── @actions │ │ │ ├── core │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── command.d.ts │ │ │ │ │ ├── command.js │ │ │ │ │ ├── command.js.map │ │ │ │ │ ├── core.d.ts │ │ │ │ │ ├── core.js │ │ │ │ │ ├── core.js.map │ │ │ │ │ ├── file-command.d.ts │ │ │ │ │ ├── file-command.js │ │ │ │ │ ├── file-command.js.map │ │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ │ ├── oidc-utils.js │ │ │ │ │ ├── oidc-utils.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ └── package.json │ │ │ ├── github │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── context.d.ts │ │ │ │ │ ├── context.js │ │ │ │ │ ├── context.js.map │ │ │ │ │ ├── github.d.ts │ │ │ │ │ ├── github.js │ │ │ │ │ ├── github.js.map │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ ├── interfaces.js │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── internal │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ └── utils.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ └── package.json │ │ │ └── http-client │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── RELEASES.md │ │ │ │ ├── actions.png │ │ │ │ ├── auth.d.ts │ │ │ │ ├── auth.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── interfaces.d.ts │ │ │ │ ├── interfaces.js │ │ │ │ ├── package.json │ │ │ │ ├── proxy.d.ts │ │ │ │ └── proxy.js │ │ ├── @octokit │ │ │ ├── auth-token │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── auth.js │ │ │ │ │ ├── hook.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── types.js │ │ │ │ │ └── with-authorization-prefix.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ ├── hook.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── with-authorization-prefix.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── core │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── index.js │ │ │ │ │ ├── types.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── endpoint │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── defaults.js │ │ │ │ │ ├── endpoint-with-defaults.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── merge.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── util │ │ │ │ │ │ ├── add-query-parameters.js │ │ │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ │ │ ├── lowercase-keys.js │ │ │ │ │ │ ├── merge-deep.js │ │ │ │ │ │ ├── omit.js │ │ │ │ │ │ ├── remove-undefined-properties.js │ │ │ │ │ │ └── url-template.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── defaults.d.ts │ │ │ │ │ ├── endpoint-with-defaults.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ ├── parse.d.ts │ │ │ │ │ ├── util │ │ │ │ │ │ ├── add-query-parameters.d.ts │ │ │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ │ │ ├── merge-deep.d.ts │ │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ │ ├── remove-undefined-properties.d.ts │ │ │ │ │ │ └── url-template.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── graphql │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── error.js │ │ │ │ │ ├── graphql.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── types.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── error.d.ts │ │ │ │ │ ├── graphql.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── openapi-types │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ └── types.d.ts │ │ │ ├── plugin-paginate-rest │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── compose-paginate.js │ │ │ │ │ ├── generated │ │ │ │ │ │ └── paginating-endpoints.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── iterator.js │ │ │ │ │ ├── normalize-paginated-list-response.js │ │ │ │ │ ├── paginate.js │ │ │ │ │ ├── paginating-endpoints.js │ │ │ │ │ ├── types.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── compose-paginate.d.ts │ │ │ │ │ ├── generated │ │ │ │ │ │ └── paginating-endpoints.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── iterator.d.ts │ │ │ │ │ ├── normalize-paginated-list-response.d.ts │ │ │ │ │ ├── paginate.d.ts │ │ │ │ │ ├── paginating-endpoints.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── plugin-rest-endpoint-methods │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── endpoints-to-methods.js │ │ │ │ │ ├── generated │ │ │ │ │ │ ├── endpoints.js │ │ │ │ │ │ ├── method-types.js │ │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── types.js │ │ │ │ │ └── version.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ │ ├── generated │ │ │ │ │ │ ├── endpoints.d.ts │ │ │ │ │ │ ├── method-types.d.ts │ │ │ │ │ │ └── parameters-and-response-types.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── version.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── request-error │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── index.js │ │ │ │ │ └── types.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── types.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ ├── request │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ │ ├── fetch-wrapper.js │ │ │ │ │ ├── get-buffer-response.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── version.js │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── dist-types │ │ │ │ │ ├── fetch-wrapper.d.ts │ │ │ │ │ ├── get-buffer-response.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── version.d.ts │ │ │ │ │ └── with-defaults.d.ts │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ │ └── types │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ │ ├── dist-src │ │ │ │ ├── AuthInterface.js │ │ │ │ ├── EndpointDefaults.js │ │ │ │ ├── EndpointInterface.js │ │ │ │ ├── EndpointOptions.js │ │ │ │ ├── Fetch.js │ │ │ │ ├── GetResponseTypeFromEndpointMethod.js │ │ │ │ ├── OctokitResponse.js │ │ │ │ ├── RequestError.js │ │ │ │ ├── RequestHeaders.js │ │ │ │ ├── RequestInterface.js │ │ │ │ ├── RequestMethod.js │ │ │ │ ├── RequestOptions.js │ │ │ │ ├── RequestParameters.js │ │ │ │ ├── RequestRequestOptions.js │ │ │ │ ├── ResponseHeaders.js │ │ │ │ ├── Route.js │ │ │ │ ├── Signal.js │ │ │ │ ├── StrategyInterface.js │ │ │ │ ├── Url.js │ │ │ │ ├── VERSION.js │ │ │ │ ├── generated │ │ │ │ │ └── Endpoints.js │ │ │ │ └── index.js │ │ │ │ ├── dist-types │ │ │ │ ├── AuthInterface.d.ts │ │ │ │ ├── EndpointDefaults.d.ts │ │ │ │ ├── EndpointInterface.d.ts │ │ │ │ ├── EndpointOptions.d.ts │ │ │ │ ├── Fetch.d.ts │ │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ │ ├── OctokitResponse.d.ts │ │ │ │ ├── RequestError.d.ts │ │ │ │ ├── RequestHeaders.d.ts │ │ │ │ ├── RequestInterface.d.ts │ │ │ │ ├── RequestMethod.d.ts │ │ │ │ ├── RequestOptions.d.ts │ │ │ │ ├── RequestParameters.d.ts │ │ │ │ ├── RequestRequestOptions.d.ts │ │ │ │ ├── ResponseHeaders.d.ts │ │ │ │ ├── Route.d.ts │ │ │ │ ├── Signal.d.ts │ │ │ │ ├── StrategyInterface.d.ts │ │ │ │ ├── Url.d.ts │ │ │ │ ├── VERSION.d.ts │ │ │ │ ├── generated │ │ │ │ │ └── Endpoints.d.ts │ │ │ │ └── index.d.ts │ │ │ │ ├── dist-web │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ │ └── package.json │ │ ├── before-after-hook │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── add.js │ │ │ │ ├── register.js │ │ │ │ └── remove.js │ │ │ └── package.json │ │ ├── deprecation │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ └── index.js │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-web │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── is-plain-object │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ ├── is-plain-object.js │ │ │ │ └── is-plain-object.mjs │ │ │ ├── is-plain-object.d.ts │ │ │ └── package.json │ │ ├── node-fetch │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── browser.js │ │ │ ├── lib │ │ │ │ ├── index.es.js │ │ │ │ ├── index.js │ │ │ │ └── index.mjs │ │ │ └── package.json │ │ ├── once │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── once.js │ │ │ └── package.json │ │ ├── tr46 │ │ │ ├── .npmignore │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── .gitkeep │ │ │ │ └── mappingTable.json │ │ │ └── package.json │ │ ├── tunnel │ │ │ ├── .idea │ │ │ │ ├── encodings.xml │ │ │ │ ├── modules.xml │ │ │ │ ├── node-tunnel.iml │ │ │ │ ├── vcs.xml │ │ │ │ └── workspace.xml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── tunnel.js │ │ │ └── package.json │ │ ├── universal-user-agent │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── dist-src │ │ │ │ └── index.js │ │ │ ├── dist-types │ │ │ │ └── index.d.ts │ │ │ ├── dist-web │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ └── package.json │ │ ├── webidl-conversions │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── whatwg-url │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── URL-impl.js │ │ │ │ ├── URL.js │ │ │ │ ├── public-api.js │ │ │ │ ├── url-state-machine.js │ │ │ │ └── utils.js │ │ │ └── package.json │ │ └── wrappy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── wrappy.js │ ├── package-lock.json │ └── package.json └── update-lockfile │ ├── action.yml │ ├── functions.py │ ├── requirements.txt │ ├── update_lockfile_pr.py │ └── vars.py ├── agent ├── .cargo │ └── config.toml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── rust-toolchain.toml ├── src │ ├── artifact │ │ ├── mod.rs │ │ └── upload.rs │ ├── lib.rs │ ├── main.rs │ ├── utils.rs │ └── utils │ │ └── follow.rs └── tests │ ├── artifact │ ├── mod.rs │ └── upload.rs │ ├── data │ ├── test_bep.json │ ├── test_bep_duplicated.json │ ├── test_bep_undeclared_output.json │ └── test_bep_win.json │ └── tests.rs ├── agent_metrics ├── README.md └── start.sh ├── bazel └── oci │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ ├── install_bazel.sh │ └── install_packages.sh ├── buildifier ├── Dockerfile ├── build.sh └── buildifier.py ├── buildkite-agent └── build-agent.sh ├── buildkite ├── README.infra.md ├── README.md ├── aggregate_incompatible_flags_test_result.py ├── aggregate_incompatible_flags_test_result_test.py ├── android.sh ├── bazel-bench │ ├── bazel_bench.py │ └── bazel_bench_env_setup.py ├── bazel-central-registry │ ├── README.md │ ├── bcr_compatibility.py │ ├── bcr_postsubmit.py │ ├── bcr_presubmit.py │ └── generate_report.py ├── bazel_auto_sheriff.py ├── bazelci.py ├── bazelci_test.py ├── create_images.py ├── create_instance_template.py ├── create_instances.py ├── culprit_finder.py ├── docker │ ├── build.sh │ ├── debian10 │ │ └── Dockerfile │ ├── debian11 │ │ └── Dockerfile │ ├── fedora39 │ │ ├── Dockerfile │ │ └── google-cloud-sdk.repo │ ├── fedora40 │ │ ├── Dockerfile │ │ └── google-cloud-sdk.repo │ ├── push.sh │ ├── rockylinux8 │ │ ├── Dockerfile │ │ └── google-cloud-sdk.repo │ ├── ubuntu1604 │ │ ├── Dockerfile │ │ └── requirements.txt │ ├── ubuntu1804 │ │ └── Dockerfile │ ├── ubuntu2004 │ │ └── Dockerfile │ ├── ubuntu2204 │ │ └── Dockerfile │ └── ubuntu2404 │ │ └── Dockerfile ├── docs │ └── assets │ │ ├── README.md │ │ ├── already-failing-projects.png │ │ ├── buildkite-testlog-buttons.png │ │ ├── buildkite-useful-buttons.png │ │ ├── buildkite-verify-pull-request.png │ │ ├── failed-build-step.png │ │ ├── flags-need-migration-per-job.png │ │ ├── flaky-test-log.png │ │ ├── flaky-test.png │ │ ├── passing-flags.png │ │ ├── pipelines.png │ │ ├── projects-need-migration-per-flag.png │ │ ├── projects-need-migration.png │ │ ├── pull-request-details.png │ │ └── status-verify-pull-request.png ├── emergency.yml ├── encrypt.py ├── gcloud.py ├── gcloud_utils.py ├── instances.yml ├── promote_images.py ├── restart-agents.py ├── restart-testing-agents.py ├── setup-docker.sh ├── setup-freebsd.sh ├── setup-windows.ps1 ├── startup-docker-pdssd.sh ├── startup-freebsd11.sh ├── startup-windows-pdssd.ps1 ├── terraform │ ├── .gitignore │ ├── README.md │ ├── bazel-testing │ │ ├── .terraform.lock.hcl │ │ ├── main.tf │ │ └── pipeline.yml.tpl │ ├── bazel-trusted │ │ ├── .terraform.lock.hcl │ │ ├── bazel-arm64.yml │ │ ├── bazel-release-arm64.yml │ │ ├── main.tf │ │ └── pipeline.yml.tpl │ ├── bazel │ │ ├── .terraform.lock.hcl │ │ ├── main.tf │ │ └── pipeline.yml.tpl │ └── migrate.py └── update_instances.py ├── dashboard ├── client │ ├── .dockerignore │ ├── .gitignore │ ├── .idea │ │ ├── client.iml │ │ ├── modules.xml │ │ ├── prettier.xml │ │ ├── vcs.xml │ │ ├── watcherTasks.xml │ │ └── webResources.xml │ ├── Dockerfile │ ├── README.md │ ├── build.sh │ ├── next-env.d.ts │ ├── next.config.js │ ├── package-lock.json │ ├── package.json │ ├── pages │ │ ├── [owner] │ │ │ └── [repo] │ │ │ │ ├── index.tsx │ │ │ │ └── issues.tsx │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── api │ │ │ └── [...slug].js │ │ ├── bazelci.tsx │ │ ├── index.tsx │ │ └── issues.tsx │ ├── postcss.config.js │ ├── src │ │ ├── GithubIssueList.tsx │ │ ├── GithubIssueQueryCountTaskResultChart.tsx │ │ ├── GithubTeamTable.tsx │ │ ├── Layout.tsx │ │ ├── RepoDashboard.tsx │ │ ├── data │ │ │ ├── BuildkiteBuildStats.ts │ │ │ ├── BuildkiteJobStats.ts │ │ │ ├── GithubIssueList.ts │ │ │ ├── GithubIssueQueryCountTask.ts │ │ │ ├── GithubRepo.ts │ │ │ ├── GithubTeamTable.ts │ │ │ └── fetcher.ts │ │ └── theme.ts │ ├── styles │ │ └── globals.css │ ├── tailwind.config.js │ └── tsconfig.json └── server │ ├── .gitignore │ ├── Dockerfile │ ├── build.sh │ ├── database.sql │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── build │ │ │ └── bazel │ │ │ └── dashboard │ │ │ ├── Application.java │ │ │ ├── buildkite │ │ │ ├── api │ │ │ │ ├── BuildkiteRestApiClient.java │ │ │ │ ├── FetchBuildRequest.java │ │ │ │ └── ListBuildsRequest.java │ │ │ └── build │ │ │ │ ├── BuildkiteBuild.java │ │ │ │ ├── BuildkiteBuildRepo.java │ │ │ │ ├── BuildkiteBuildRestController.java │ │ │ │ ├── BuildkiteBuildService.java │ │ │ │ └── BuildkiteBuildSyncTask.java │ │ │ ├── common │ │ │ ├── RestApiClient.java │ │ │ └── RestApiResponse.java │ │ │ ├── config │ │ │ ├── DashboardConfig.java │ │ │ ├── DefaultConfig.java │ │ │ ├── SchedulingConfig.java │ │ │ └── SecurityConfig.java │ │ │ ├── github │ │ │ ├── GithubUtils.java │ │ │ ├── api │ │ │ │ ├── FetchIssueRequest.java │ │ │ │ ├── FetchPullRequestRequest.java │ │ │ │ ├── GithubApi.java │ │ │ │ ├── ListIssueCommentsRequest.java │ │ │ │ ├── ListRepositoryEventsRequest.java │ │ │ │ ├── ListRepositoryIssueEventsRequest.java │ │ │ │ ├── ListRepositoryIssuesRequest.java │ │ │ │ ├── SearchIssuesRequest.java │ │ │ │ └── WebClientGithubApi.java │ │ │ ├── issue │ │ │ │ ├── GithubIssue.java │ │ │ │ ├── GithubIssueRepo.java │ │ │ │ ├── GithubIssueRepoPg.java │ │ │ │ ├── GithubIssueRestController.java │ │ │ │ ├── GithubIssueService.java │ │ │ │ ├── GithubPullRequest.java │ │ │ │ └── GithubPullRequestRepo.java │ │ │ ├── issuecomment │ │ │ │ ├── GithubComment.java │ │ │ │ ├── GithubIssueCommentRepo.java │ │ │ │ ├── GithubIssueCommentRepoPg.java │ │ │ │ ├── GithubIssueCommentRestController.java │ │ │ │ └── GithubIssueCommentService.java │ │ │ ├── issuelist │ │ │ │ ├── GithubIssueList.java │ │ │ │ ├── GithubIssueListRepo.java │ │ │ │ ├── GithubIssueListRepoPg.java │ │ │ │ ├── GithubIssueListRestController.java │ │ │ │ └── GithubIssueListService.java │ │ │ ├── issuequery │ │ │ │ ├── GithubIssueQuery.java │ │ │ │ ├── GithubIssueQueryExecutor.java │ │ │ │ ├── GithubIssueQueryExecutorApi.java │ │ │ │ ├── GithubIssueQueryExecutorPg.java │ │ │ │ ├── GithubIssueQueryParser.java │ │ │ │ ├── GithubIssueQueryRepo.java │ │ │ │ ├── GithubIssueQueryRepoPg.java │ │ │ │ ├── GithubIssueQueryRestController.java │ │ │ │ └── task │ │ │ │ │ ├── CountGithubIssueQueryTask.java │ │ │ │ │ ├── GithubIssueQueryCountTask.java │ │ │ │ │ ├── GithubIssueQueryCountTaskRepo.java │ │ │ │ │ ├── GithubIssueQueryCountTaskRepoPg.java │ │ │ │ │ ├── GithubIssueQueryCountTaskRestController.java │ │ │ │ │ └── GithubIssueQueryCountTaskResult.java │ │ │ ├── issuestatus │ │ │ │ ├── GithubIssueStatus.java │ │ │ │ ├── GithubIssueStatusRepo.java │ │ │ │ ├── GithubIssueStatusRepoPg.java │ │ │ │ ├── GithubIssueStatusRestController.java │ │ │ │ └── GithubIssueStatusService.java │ │ │ ├── notification │ │ │ │ └── NotificationTask.java │ │ │ ├── repo │ │ │ │ ├── GithubRepo.java │ │ │ │ ├── GithubRepoRepo.java │ │ │ │ ├── GithubRepoRepoPg.java │ │ │ │ ├── GithubRepoRestController.java │ │ │ │ └── GithubRepoService.java │ │ │ ├── sync │ │ │ │ ├── event │ │ │ │ │ ├── GithubEventHandler.java │ │ │ │ │ └── PollGithubEventsTask.java │ │ │ │ └── issue │ │ │ │ │ └── GithubSyncIssueTask.java │ │ │ ├── team │ │ │ │ ├── GithubTeam.java │ │ │ │ ├── GithubTeamRepo.java │ │ │ │ ├── GithubTeamRepoPg.java │ │ │ │ ├── GithubTeamRestController.java │ │ │ │ └── GithubTeamService.java │ │ │ ├── teamtable │ │ │ │ ├── GithubTeamTable.java │ │ │ │ ├── GithubTeamTableRepo.java │ │ │ │ ├── GithubTeamTableRepoPg.java │ │ │ │ ├── GithubTeamTableRestController.java │ │ │ │ └── GithubTeamTableService.java │ │ │ └── user │ │ │ │ ├── GithubUser.java │ │ │ │ ├── GithubUserRepo.java │ │ │ │ ├── GithubUserRepoPg.java │ │ │ │ └── GithubUserService.java │ │ │ └── utils │ │ │ ├── HttpHeadersUtils.java │ │ │ ├── JsonStateStore.java │ │ │ ├── JsonStateStorePg.java │ │ │ ├── Period.java │ │ │ ├── PgJson.java │ │ │ └── RxJavaVirtualThread.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── build │ └── bazel │ └── dashboard │ └── ApplicationTests.java ├── docgen ├── Dockerfile ├── Gemfile ├── Gemfile.lock ├── build.sh └── docgen.py ├── docs ├── ci-playbook.md ├── downstream-testing.md ├── http-redir.md ├── mirror.md └── release-playbook.md ├── gitbundle ├── Dockerfile └── gitbundle.sh ├── gitsync ├── Dockerfile ├── README.md ├── gitsync.sh ├── known_hosts └── ssh_config ├── go.mod ├── go.sum ├── macos ├── mac-android.sh └── mac-cleanup.sh ├── metrics ├── README.md ├── app.yaml ├── clients │ ├── buildkite.go │ ├── buildkite_api.go │ ├── buildkite_test.go │ ├── cloud_storage.go │ ├── compute_engine.go │ └── stackdriver.go ├── data │ └── data.go ├── main.go ├── metrics │ ├── aggregated_pipeline_performance.go │ ├── build_success.go │ ├── builds_per_change.go │ ├── cloud_build_status.go │ ├── common.go │ ├── critical_path.go │ ├── daily_performance.go │ ├── flakiness.go │ ├── mac_performance.go │ ├── metrics.go │ ├── pipeline_performance.go │ ├── platform_load.go │ ├── platform_significance.go │ ├── platform_usage.go │ ├── release_downloads.go │ ├── worker_availability.go │ └── zombie_instances.go ├── publishers │ ├── cloudsql.go │ ├── cloudsql_gc.go │ ├── publishers.go │ ├── stackdriver.go │ └── stdout.go ├── service │ └── service.go └── settings.go ├── mirror └── mirror.sh ├── pipegen ├── README.md ├── build.sh ├── config │ └── config.go ├── export │ └── main.go ├── proxy │ ├── graphql_client.go │ ├── proxy.go │ └── rest_client.go ├── update │ └── main.go └── validate │ └── main.go ├── pipelines ├── abseil-cpp.yml ├── abseil-py.yml ├── bazel-custom-release.yml ├── bazel-docgen.yml ├── bazel-linux-arm64.yml ├── bazel-postsubmit.patch ├── bazel-postsubmit.yml ├── bazel-release.yml ├── bazelisk-binaries.yml ├── bcr-integrity.yml ├── build-embedded-minimized-jdk.yml ├── cloud-robotics.yml ├── continuous-integration.yml ├── docker-update.yml ├── flogger.yml ├── gerrit.yml ├── java_tools-binaries.yml ├── java_tools-rc.yml ├── java_tools-release.yml ├── postsubmit-skymeld.yml ├── protobuf.yml ├── publish-bazel-binaries.yml ├── publish-vm-image.yml ├── re2.yml ├── rules_java-release.yml ├── rules_platform-release.yml ├── subpar.yml ├── tensorflow.yml └── update-bazel-postsubmit.sh ├── pipestats └── main.go ├── pyproject.toml ├── rbe-configs ├── .gitignore ├── README.md ├── cpp_env │ ├── ubuntu1604.json │ ├── ubuntu1804.json │ └── ubuntu2004.json ├── data.py └── generate.py ├── rules ├── .bazelrc ├── BUILD ├── MODULE.bazel ├── WORKSPACE ├── WORKSPACE.bzlmod └── rbe_repo.bzl ├── setup.cfg └── slack-bazel-build ├── README.md └── docker ├── Dockerfile ├── nginx.conf └── run.sh /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore=E203,E501,W503 3 | max-line-length=100 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files. 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # PyCharm project files. 7 | .idea/workspace.xml 8 | 9 | # VS.Code project files. 10 | .vscode/ 11 | 12 | # Bazel output files. 13 | /bazel-* 14 | MODULE.bazel.lock 15 | 16 | # Intermediate files created by the gitbundle tool. 17 | /gitbundle/bazelbuild/ 18 | -------------------------------------------------------------------------------- /.idea/continuous-integration.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/dictionaries/philwo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Bazel authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as: 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | Google Inc. 10 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @fweikert @meteorcloudy @wyverald 2 | /dashboard/ @coeuvre 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | buildkite/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | To report a security issue, please email security@bazel.build with a description 6 | of the issue, the steps you took to create the issue, affected versions, and, if 7 | known, mitigations for the issue. Our vulnerability management team will respond 8 | within 3 working days of your email. If the issue is confirmed as a 9 | vulnerability, we will open a Security Advisory. This project follows a 90 day 10 | disclosure timeline. 11 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/action.yml: -------------------------------------------------------------------------------- 1 | name: 'BCR PR Reviewer' 2 | description: 'Helps notify module maintainers and approve PRs of Bazel Central Registry.' 3 | inputs: 4 | token: 5 | description: 'The GitHub token' 6 | required: false 7 | default: ${{ github.token }} 8 | 9 | action-type: 10 | description: 'The type of action this reviewer should perform, valid values are: notify_maintainers, review_prs, dismiss_approvals, skip_check' 11 | required: true 12 | 13 | runs: 14 | using: 'node20' 15 | main: 'index.js' 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/dist/bin/uuid -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueFileCommand(command: string, message: any): void; 2 | export declare function prepareKeyValueMessage(key: string, value: any): string; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/core/lib/path-utils.js.map: -------------------------------------------------------------------------------- 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"} -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/github/lib/github.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { GitHub } from './utils'; 3 | import { OctokitOptions, OctokitPlugin } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | /** 6 | * Returns a hydrated octokit ready to use for GitHub Actions 7 | * 8 | * @param token the repo PAT or GITHUB_TOKEN 9 | * @param options other options to set 10 | */ 11 | export declare function getOctokit(token: string, options?: OctokitOptions, ...additionalPlugins: OctokitPlugin[]): InstanceType; 12 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/github/lib/github.js.map: -------------------------------------------------------------------------------- 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"} -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/github/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | /* eslint-disable @typescript-eslint/no-explicit-any */ 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/github/lib/internal/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as http from 'http'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | import { ProxyAgent, fetch } from 'undici'; 5 | export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; 6 | export declare function getProxyAgent(destinationUrl: string): http.Agent; 7 | export declare function getProxyAgentDispatcher(destinationUrl: string): ProxyAgent | undefined; 8 | export declare function getProxyFetch(destinationUrl: any): typeof fetch; 9 | export declare function getApiBaseUrl(): string; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@actions/http-client/lib/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const inherits = require('node:util').inherits 4 | const ReadableStream = require('node:stream').Readable 5 | 6 | function PartStream (opts) { 7 | ReadableStream.call(this, opts) 8 | } 9 | inherits(PartStream, ReadableStream) 10 | 11 | PartStream.prototype._read = function (n) {} 12 | 13 | module.exports = PartStream 14 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@fastify/busboy/lib/utils/basename.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function basename (path) { 4 | if (typeof path !== 'string') { return '' } 5 | for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var 6 | switch (path.charCodeAt(i)) { 7 | case 0x2F: // '/' 8 | case 0x5C: // '\' 9 | path = path.slice(i + 1) 10 | return (path === '..' || path === '.' ? '' : path) 11 | } 12 | } 13 | return (path === '..' || path === '.' ? '' : path) 14 | } 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@fastify/busboy/lib/utils/getLimit.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function getLimit (limits, name, defaultLimit) { 4 | if ( 5 | !limits || 6 | limits[name] === undefined || 7 | limits[name] === null 8 | ) { return defaultLimit } 9 | 10 | if ( 11 | typeof limits[name] !== 'number' || 12 | isNaN(limits[name]) 13 | ) { throw new TypeError('Limit ' + name + ' is not a valid number') } 14 | 15 | return limits[name] 16 | } 17 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-src/auth.js: -------------------------------------------------------------------------------- 1 | const REGEX_IS_INSTALLATION_LEGACY = /^v1\./; 2 | const REGEX_IS_INSTALLATION = /^ghs_/; 3 | const REGEX_IS_USER_TO_SERVER = /^ghu_/; 4 | async function auth(token) { 5 | const isApp = token.split(/\./).length === 3; 6 | const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token); 7 | const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); 8 | const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth"; 9 | return { 10 | type: "token", 11 | token, 12 | tokenType 13 | }; 14 | } 15 | export { 16 | auth 17 | }; 18 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-src/hook.js: -------------------------------------------------------------------------------- 1 | import { withAuthorizationPrefix } from "./with-authorization-prefix"; 2 | async function hook(token, request, route, parameters) { 3 | const endpoint = request.endpoint.merge( 4 | route, 5 | parameters 6 | ); 7 | endpoint.headers.authorization = withAuthorizationPrefix(token); 8 | return request(endpoint); 9 | } 10 | export { 11 | hook 12 | }; 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { auth } from "./auth"; 2 | import { hook } from "./hook"; 3 | const createTokenAuth = function createTokenAuth2(token) { 4 | if (!token) { 5 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 6 | } 7 | if (typeof token !== "string") { 8 | throw new Error( 9 | "[@octokit/auth-token] Token passed to createTokenAuth is not a string" 10 | ); 11 | } 12 | token = token.replace(/^(token|bearer) +/i, ""); 13 | return Object.assign(auth.bind(null, token), { 14 | hook: hook.bind(null, token) 15 | }); 16 | }; 17 | export { 18 | createTokenAuth 19 | }; 20 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | function withAuthorizationPrefix(token) { 2 | if (token.split(/\./).length === 3) { 3 | return `bearer ${token}`; 4 | } 5 | return `token ${token}`; 6 | } 7 | export { 8 | withAuthorizationPrefix 9 | }; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-types/auth.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token, Authentication } from "./types"; 2 | export declare function auth(token: Token): Promise; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-types/hook.d.ts: -------------------------------------------------------------------------------- 1 | import type { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; 2 | export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { StrategyInterface, Token, Authentication } from "./types"; 2 | export type Types = { 3 | StrategyOptions: Token; 4 | AuthOptions: never; 5 | Authentication: Authentication; 6 | }; 7 | export declare const createTokenAuth: StrategyInterface; 8 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export declare function withAuthorizationPrefix(token: string): string; 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "5.1.0"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.1.0"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/defaults.js: -------------------------------------------------------------------------------- 1 | import { getUserAgent } from "universal-user-agent"; 2 | import { VERSION } from "./version"; 3 | const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; 4 | const DEFAULTS = { 5 | method: "GET", 6 | baseUrl: "https://api.github.com", 7 | headers: { 8 | accept: "application/vnd.github.v3+json", 9 | "user-agent": userAgent 10 | }, 11 | mediaType: { 12 | format: "" 13 | } 14 | }; 15 | export { 16 | DEFAULTS 17 | }; 18 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js: -------------------------------------------------------------------------------- 1 | import { DEFAULTS } from "./defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | function endpointWithDefaults(defaults, route, options) { 5 | return parse(merge(defaults, route, options)); 6 | } 7 | export { 8 | endpointWithDefaults 9 | }; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { withDefaults } from "./with-defaults"; 2 | import { DEFAULTS } from "./defaults"; 3 | const endpoint = withDefaults(null, DEFAULTS); 4 | export { 5 | endpoint 6 | }; 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js: -------------------------------------------------------------------------------- 1 | function addQueryParameters(url, parameters) { 2 | const separator = /\?/.test(url) ? "&" : "?"; 3 | const names = Object.keys(parameters); 4 | if (names.length === 0) { 5 | return url; 6 | } 7 | return url + separator + names.map((name) => { 8 | if (name === "q") { 9 | return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); 10 | } 11 | return `${name}=${encodeURIComponent(parameters[name])}`; 12 | }).join("&"); 13 | } 14 | export { 15 | addQueryParameters 16 | }; 17 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js: -------------------------------------------------------------------------------- 1 | const urlVariableRegex = /\{[^}]+\}/g; 2 | function removeNonChars(variableName) { 3 | return variableName.replace(/^\W+|\W+$/g, "").split(/,/); 4 | } 5 | function extractUrlVariableNames(url) { 6 | const matches = url.match(urlVariableRegex); 7 | if (!matches) { 8 | return []; 9 | } 10 | return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); 11 | } 12 | export { 13 | extractUrlVariableNames 14 | }; 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/is-plain-object.js: -------------------------------------------------------------------------------- 1 | function isPlainObject(value) { 2 | if (typeof value !== "object" || value === null) 3 | return false; 4 | if (Object.prototype.toString.call(value) !== "[object Object]") 5 | return false; 6 | const proto = Object.getPrototypeOf(value); 7 | if (proto === null) 8 | return true; 9 | const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; 10 | return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); 11 | } 12 | export { 13 | isPlainObject 14 | }; 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js: -------------------------------------------------------------------------------- 1 | function lowercaseKeys(object) { 2 | if (!object) { 3 | return {}; 4 | } 5 | return Object.keys(object).reduce((newObj, key) => { 6 | newObj[key.toLowerCase()] = object[key]; 7 | return newObj; 8 | }, {}); 9 | } 10 | export { 11 | lowercaseKeys 12 | }; 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js: -------------------------------------------------------------------------------- 1 | import { isPlainObject } from "./is-plain-object"; 2 | function mergeDeep(defaults, options) { 3 | const result = Object.assign({}, defaults); 4 | Object.keys(options).forEach((key) => { 5 | if (isPlainObject(options[key])) { 6 | if (!(key in defaults)) 7 | Object.assign(result, { [key]: options[key] }); 8 | else 9 | result[key] = mergeDeep(defaults[key], options[key]); 10 | } else { 11 | Object.assign(result, { [key]: options[key] }); 12 | } 13 | }); 14 | return result; 15 | } 16 | export { 17 | mergeDeep 18 | }; 19 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/omit.js: -------------------------------------------------------------------------------- 1 | function omit(object, keysToOmit) { 2 | const result = { __proto__: null }; 3 | for (const key of Object.keys(object)) { 4 | if (keysToOmit.indexOf(key) === -1) { 5 | result[key] = object[key]; 6 | } 7 | } 8 | return result; 9 | } 10 | export { 11 | omit 12 | }; 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js: -------------------------------------------------------------------------------- 1 | function removeUndefinedProperties(obj) { 2 | for (const key in obj) { 3 | if (obj[key] === void 0) { 4 | delete obj[key]; 5 | } 6 | } 7 | return obj; 8 | } 9 | export { 10 | removeUndefinedProperties 11 | }; 12 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.0.4"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { endpointWithDefaults } from "./endpoint-with-defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | function withDefaults(oldDefaults, newDefaults) { 5 | const DEFAULTS = merge(oldDefaults, newDefaults); 6 | const endpoint = endpointWithDefaults.bind(null, DEFAULTS); 7 | return Object.assign(endpoint, { 8 | DEFAULTS, 9 | defaults: withDefaults.bind(null, DEFAULTS), 10 | merge: merge.bind(null, DEFAULTS), 11 | parse 12 | }); 13 | } 14 | export { 15 | withDefaults 16 | }; 17 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointOptions, RequestParameters, Route } from "@octokit/types"; 2 | import { DEFAULTS } from "./defaults"; 3 | export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/merge.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; 2 | export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/parse.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults, RequestOptions } from "@octokit/types"; 2 | export declare function parse(options: EndpointDefaults): RequestOptions; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function addQueryParameters(url: string, parameters: { 2 | [x: string]: string | undefined; 3 | q?: string; 4 | }): string; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isPlainObject(value: unknown): value is Object; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts: -------------------------------------------------------------------------------- 1 | export declare function lowercaseKeys(object?: { 2 | [key: string]: any; 3 | }): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare function omit(object: { 2 | [key: string]: any; 3 | }, keysToOmit: string[]): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts: -------------------------------------------------------------------------------- 1 | export declare function removeUndefinedProperties(obj: any): any; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseUrl(template: string): { 2 | expand: (context: object) => string; 3 | }; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.0.4"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; 2 | export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import { withDefaults } from "./with-defaults"; 5 | const graphql = withDefaults(request, { 6 | headers: { 7 | "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}` 8 | }, 9 | method: "POST", 10 | url: "/graphql" 11 | }); 12 | import { GraphqlResponseError } from "./error"; 13 | function withCustomRequest(customRequest) { 14 | return withDefaults(customRequest, { 15 | method: "POST", 16 | url: "/graphql" 17 | }); 18 | } 19 | export { 20 | GraphqlResponseError, 21 | graphql, 22 | withCustomRequest 23 | }; 24 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "7.0.2"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql } from "./graphql"; 3 | function withDefaults(request, newDefaults) { 4 | const newRequest = request.defaults(newDefaults); 5 | const newApi = (query, options) => { 6 | return graphql(newRequest, query, options); 7 | }; 8 | return Object.assign(newApi, { 9 | defaults: withDefaults.bind(null, newRequest), 10 | endpoint: newRequest.endpoint 11 | }); 12 | } 13 | export { 14 | withDefaults 15 | }; 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-types/graphql.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import type { RequestParameters, GraphQlQueryResponseData } from "./types"; 3 | export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | export declare const graphql: import("./types").graphql; 3 | export type { GraphQlQueryResponseData } from "./types"; 4 | export { GraphqlResponseError } from "./error"; 5 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "7.0.2"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import type { graphql as ApiInterface, RequestParameters } from "./types"; 3 | export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/openapi-types/README.md: -------------------------------------------------------------------------------- 1 | # @octokit/openapi-types 2 | 3 | > Generated TypeScript definitions based on GitHub's OpenAPI spec 4 | 5 | This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/) 6 | 7 | ## Usage 8 | 9 | ```ts 10 | import { components } from "@octokit/openapi-types"; 11 | 12 | type Repository = components["schemas"]["full-repository"]; 13 | ``` 14 | 15 | ## License 16 | 17 | [MIT](LICENSE) 18 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/openapi-types/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@octokit/openapi-types", 3 | "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/octokit/openapi-types.ts.git", 7 | "directory": "packages/openapi-types" 8 | }, 9 | "publishConfig": { 10 | "access": "public" 11 | }, 12 | "version": "19.1.0", 13 | "main": "", 14 | "types": "types.d.ts", 15 | "author": "Gregor Martynus (https://twitter.com/gr2m)", 16 | "license": "MIT", 17 | "octokit": { 18 | "openapi-version": "13.3.0" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js: -------------------------------------------------------------------------------- 1 | import { paginate } from "./paginate.js"; 2 | import { iterator } from "./iterator.js"; 3 | const composePaginateRest = Object.assign(paginate, { 4 | iterator 5 | }); 6 | export { 7 | composePaginateRest 8 | }; 9 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version.js"; 2 | import { paginate } from "./paginate.js"; 3 | import { iterator } from "./iterator.js"; 4 | import { composePaginateRest } from "./compose-paginate.js"; 5 | import { 6 | isPaginatingEndpoint, 7 | paginatingEndpoints 8 | } from "./paginating-endpoints.js"; 9 | function paginateRest(octokit) { 10 | return { 11 | paginate: Object.assign(paginate.bind(null, octokit), { 12 | iterator: iterator.bind(null, octokit) 13 | }) 14 | }; 15 | } 16 | paginateRest.VERSION = VERSION; 17 | export { 18 | composePaginateRest, 19 | isPaginatingEndpoint, 20 | paginateRest, 21 | paginatingEndpoints 22 | }; 23 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | import { 2 | paginatingEndpoints 3 | } from "./generated/paginating-endpoints.js"; 4 | import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints.js"; 5 | function isPaginatingEndpoint(arg) { 6 | if (typeof arg === "string") { 7 | return paginatingEndpoints.includes(arg); 8 | } else { 9 | return false; 10 | } 11 | } 12 | export { 13 | isPaginatingEndpoint, 14 | paginatingEndpoints2 as paginatingEndpoints 15 | }; 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.1.5"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts: -------------------------------------------------------------------------------- 1 | import type { ComposePaginateInterface } from "./types.js"; 2 | export declare const composePaginateRest: ComposePaginateInterface; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { PaginateInterface } from "./types.js"; 3 | export type { PaginateInterface, PaginatingEndpoints } from "./types.js"; 4 | export { composePaginateRest } from "./compose-paginate.js"; 5 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints.js"; 6 | /** 7 | * @param octokit Octokit instance 8 | * @param options Options passed to Octokit constructor 9 | */ 10 | export declare function paginateRest(octokit: Octokit): { 11 | paginate: PaginateInterface; 12 | }; 13 | export declare namespace paginateRest { 14 | var VERSION: string; 15 | } 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { type PaginatingEndpoints } from "./generated/paginating-endpoints.js"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints.js"; 3 | export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.1.5"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version.js"; 2 | import { endpointsToMethods } from "./endpoints-to-methods.js"; 3 | function restEndpointMethods(octokit) { 4 | const api = endpointsToMethods(octokit); 5 | return { 6 | rest: api 7 | }; 8 | } 9 | restEndpointMethods.VERSION = VERSION; 10 | function legacyRestEndpointMethods(octokit) { 11 | const api = endpointsToMethods(octokit); 12 | return { 13 | ...api, 14 | rest: api 15 | }; 16 | } 17 | legacyRestEndpointMethods.VERSION = VERSION; 18 | export { 19 | legacyRestEndpointMethods, 20 | restEndpointMethods 21 | }; 22 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "10.3.0"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { RestEndpointMethods } from "./generated/method-types.js"; 3 | export declare function endpointsToMethods(octokit: Octokit): RestEndpointMethods; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointsDefaultsAndDecorations } from "../types.js"; 2 | declare const Endpoints: EndpointsDefaultsAndDecorations; 3 | export default Endpoints; 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | export type { RestEndpointMethodTypes } from "./generated/parameters-and-response-types.js"; 3 | import type { Api } from "./types.js"; 4 | export declare function restEndpointMethods(octokit: Octokit): Api; 5 | export declare namespace restEndpointMethods { 6 | var VERSION: string; 7 | } 8 | export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api; 9 | export declare namespace legacyRestEndpointMethods { 10 | var VERSION: string; 11 | } 12 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { Route, RequestParameters } from "@octokit/types"; 2 | import type { RestEndpointMethods } from "./generated/method-types.js"; 3 | export type Api = { 4 | rest: RestEndpointMethods; 5 | }; 6 | export type EndpointDecorations = { 7 | mapToData?: string; 8 | deprecated?: string; 9 | renamed?: [string, string]; 10 | renamedParameters?: { 11 | [name: string]: string; 12 | }; 13 | }; 14 | export type EndpointsDefaultsAndDecorations = { 15 | [scope: string]: { 16 | [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; 17 | }; 18 | }; 19 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "10.3.0"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; 2 | export type RequestErrorOptions = { 3 | /** @deprecated set `response` instead */ 4 | headers?: ResponseHeaders; 5 | request: RequestOptions; 6 | } | { 7 | response: OctokitResponse; 8 | request: RequestOptions; 9 | }; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | export { 5 | getBufferResponse as default 6 | }; 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { endpoint } from "@octokit/endpoint"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version.js"; 4 | import withDefaults from "./with-defaults.js"; 5 | const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}` 8 | } 9 | }); 10 | export { 11 | request 12 | }; 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-src/is-plain-object.js: -------------------------------------------------------------------------------- 1 | function isPlainObject(value) { 2 | if (typeof value !== "object" || value === null) 3 | return false; 4 | if (Object.prototype.toString.call(value) !== "[object Object]") 5 | return false; 6 | const proto = Object.getPrototypeOf(value); 7 | if (proto === null) 8 | return true; 9 | const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; 10 | return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); 11 | } 12 | export { 13 | isPlainObject 14 | }; 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "8.2.0"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface } from "@octokit/types"; 2 | export default function fetchWrapper(requestOptions: ReturnType): Promise<{ 3 | status: number; 4 | url: string; 5 | headers: { 6 | [header: string]: string; 7 | }; 8 | data: any; 9 | }>; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response: Response): Promise; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isPlainObject(value: unknown): value is Object; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "8.2.0"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/request/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; 2 | export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestMethod } from "./RequestMethod"; 2 | import type { Url } from "./Url"; 3 | import type { RequestParameters } from "./RequestParameters"; 4 | export type EndpointOptions = RequestParameters & { 5 | method: RequestMethod; 6 | url: Url; 7 | }; 8 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/Fetch.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export type Fetch = any; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts: -------------------------------------------------------------------------------- 1 | type Unwrap = T extends Promise ? U : T; 2 | type AnyFunction = (...args: any[]) => any; 3 | export type GetResponseTypeFromEndpointMethod = Unwrap>; 4 | export type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; 5 | export {}; 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts: -------------------------------------------------------------------------------- 1 | import type { ResponseHeaders } from "./ResponseHeaders"; 2 | import type { Url } from "./Url"; 3 | export interface OctokitResponse { 4 | headers: ResponseHeaders; 5 | /** 6 | * http response code 7 | */ 8 | status: S; 9 | /** 10 | * URL of response after all redirects 11 | */ 12 | url: Url; 13 | /** 14 | * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference 15 | */ 16 | data: T; 17 | } 18 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/RequestError.d.ts: -------------------------------------------------------------------------------- 1 | export type RequestError = { 2 | name: string; 3 | status: number; 4 | documentation_url: string; 5 | errors?: Array<{ 6 | resource: string; 7 | code: string; 8 | field: string; 9 | message?: string; 10 | }>; 11 | }; 12 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export type RequestHeaders = { 2 | /** 3 | * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. 4 | */ 5 | accept?: string; 6 | /** 7 | * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` 8 | */ 9 | authorization?: string; 10 | /** 11 | * `user-agent` is set do a default and can be overwritten as needed. 12 | */ 13 | "user-agent"?: string; 14 | [header: string]: string | number | undefined; 15 | }; 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/RequestMethod.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/RequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestHeaders } from "./RequestHeaders"; 2 | import type { RequestMethod } from "./RequestMethod"; 3 | import type { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import type { Url } from "./Url"; 5 | /** 6 | * Generic request options as they are returned by the `endpoint()` method 7 | */ 8 | export type RequestOptions = { 9 | method: RequestMethod; 10 | url: Url; 11 | headers: RequestHeaders; 12 | body?: any; 13 | request?: RequestRequestOptions; 14 | }; 15 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export type ResponseHeaders = { 2 | "cache-control"?: string; 3 | "content-length"?: number; 4 | "content-type"?: string; 5 | date?: string; 6 | etag?: string; 7 | "last-modified"?: string; 8 | link?: string; 9 | location?: string; 10 | server?: string; 11 | status?: string; 12 | vary?: string; 13 | "x-accepted-github-permissions"?: string; 14 | "x-github-mediatype"?: string; 15 | "x-github-request-id"?: string; 16 | "x-oauth-scopes"?: string; 17 | "x-ratelimit-limit"?: string; 18 | "x-ratelimit-remaining"?: string; 19 | "x-ratelimit-reset"?: string; 20 | [header: string]: string | number | undefined; 21 | }; 22 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/Route.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/{org}'`, `'PUT /orgs/{org}'`, `GET https://example.com/foo/bar` 3 | */ 4 | export type Route = string; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/Signal.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export type Signal = any; 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts: -------------------------------------------------------------------------------- 1 | import type { AuthInterface } from "./AuthInterface"; 2 | export interface StrategyInterface { 3 | (...args: StrategyOptions): AuthInterface; 4 | } 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/Url.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/{org}'`, `https://example.com/foo/bar` 3 | */ 4 | export type Url = string; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "12.5.0"; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/before-after-hook/lib/remove.js: -------------------------------------------------------------------------------- 1 | module.exports = removeHook; 2 | 3 | function removeHook(state, name, method) { 4 | if (!state.registry[name]) { 5 | return; 6 | } 7 | 8 | var index = state.registry[name] 9 | .map(function (registered) { 10 | return registered.orig; 11 | }) 12 | .indexOf(method); 13 | 14 | if (index === -1) { 15 | return; 16 | } 17 | 18 | state.registry[name].splice(index, 1); 19 | } 20 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/deprecation/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | class Deprecation extends Error { 6 | constructor(message) { 7 | super(message); // Maintains proper stack trace (only available on V8) 8 | 9 | /* istanbul ignore next */ 10 | 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | 15 | this.name = 'Deprecation'; 16 | } 17 | 18 | } 19 | 20 | exports.Deprecation = Deprecation; 21 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/deprecation/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/deprecation/dist-web/index.js: -------------------------------------------------------------------------------- 1 | class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } 15 | 16 | export { Deprecation }; 17 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/docs/api/MockErrors.md: -------------------------------------------------------------------------------- 1 | # MockErrors 2 | 3 | Undici exposes a variety of mock error objects that you can use to enhance your mock error handling. 4 | You can find all the mock error objects inside the `mockErrors` key. 5 | 6 | ```js 7 | import { mockErrors } from 'undici' 8 | ``` 9 | 10 | | Mock Error | Mock Error Codes | Description | 11 | | --------------------- | ------------------------------- | ---------------------------------------------------------- | 12 | | `MockNotMatchedError` | `UND_MOCK_ERR_MOCK_NOT_MATCHED` | The request does not match any registered mock dispatches. | 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/bcr-pr-reviewer/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/index-fetch.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fetchImpl = require('./lib/fetch').fetch 4 | 5 | module.exports.fetch = function fetch (resource, init = undefined) { 6 | return fetchImpl(resource, init).catch((err) => { 7 | Error.captureStackTrace(err, this) 8 | throw err 9 | }) 10 | } 11 | module.exports.FormData = require('./lib/fetch/formdata').FormData 12 | module.exports.Headers = require('./lib/fetch/headers').Headers 13 | module.exports.Response = require('./lib/fetch/response').Response 14 | module.exports.Request = require('./lib/fetch/request').Request 15 | module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket 16 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/api/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports.request = require('./api-request') 4 | module.exports.stream = require('./api-stream') 5 | module.exports.pipeline = require('./api-pipeline') 6 | module.exports.upgrade = require('./api-upgrade') 7 | module.exports.connect = require('./api-connect') 8 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: require('../core/symbols').kConstruct 5 | } 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/cookies/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size 4 | const maxAttributeValueSize = 1024 5 | 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size 7 | const maxNameValuePairSize = 4096 8 | 9 | module.exports = { 10 | maxAttributeValueSize, 11 | maxNameValuePairSize 12 | } 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/dispatcher.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const EventEmitter = require('events') 4 | 5 | class Dispatcher extends EventEmitter { 6 | dispatch () { 7 | throw new Error('not implemented') 8 | } 9 | 10 | close () { 11 | throw new Error('not implemented') 12 | } 13 | 14 | destroy () { 15 | throw new Error('not implemented') 16 | } 17 | } 18 | 19 | module.exports = Dispatcher 20 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/fetch/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kUrl: Symbol('url'), 5 | kHeaders: Symbol('headers'), 6 | kSignal: Symbol('signal'), 7 | kState: Symbol('state'), 8 | kGuard: Symbol('guard'), 9 | kRealm: Symbol('realm') 10 | } 11 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/fileapi/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kState: Symbol('FileReader state'), 5 | kResult: Symbol('FileReader result'), 6 | kError: Symbol('FileReader error'), 7 | kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), 8 | kEvents: Symbol('FileReader events'), 9 | kAborted: Symbol('FileReader aborted') 10 | } 11 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface IEnumMap { 2 | [key: string]: number; 3 | } 4 | export declare function enumToMap(obj: any): IEnumMap; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.enumToMap = void 0; 4 | function enumToMap(obj) { 5 | const res = {}; 6 | Object.keys(obj).forEach((key) => { 7 | const value = obj[key]; 8 | if (typeof value === 'number') { 9 | res[key] = value; 10 | } 11 | }); 12 | return res; 13 | } 14 | exports.enumToMap = enumToMap; 15 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/llhttp/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/llhttp/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,SAAS,CAAC,GAAQ;IAChC,MAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAXD,8BAWC"} -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/mock/mock-errors.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { UndiciError } = require('../core/errors') 4 | 5 | class MockNotMatchedError extends UndiciError { 6 | constructor (message) { 7 | super(message) 8 | Error.captureStackTrace(this, MockNotMatchedError) 9 | this.name = 'MockNotMatchedError' 10 | this.message = message || 'The request does not match any registered mock dispatches' 11 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 12 | } 13 | } 14 | 15 | module.exports = { 16 | MockNotMatchedError 17 | } 18 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/mock/pluralizer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const singulars = { 4 | pronoun: 'it', 5 | is: 'is', 6 | was: 'was', 7 | this: 'this' 8 | } 9 | 10 | const plurals = { 11 | pronoun: 'they', 12 | is: 'are', 13 | was: 'were', 14 | this: 'these' 15 | } 16 | 17 | module.exports = class Pluralizer { 18 | constructor (singular, plural) { 19 | this.singular = singular 20 | this.plural = plural 21 | } 22 | 23 | pluralize (count) { 24 | const one = count === 1 25 | const keys = one ? singulars : plurals 26 | const noun = one ? this.singular : this.plural 27 | return { ...keys, count, noun } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/pool-stats.js: -------------------------------------------------------------------------------- 1 | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols') 2 | const kPool = Symbol('pool') 3 | 4 | class PoolStats { 5 | constructor (pool) { 6 | this[kPool] = pool 7 | } 8 | 9 | get connected () { 10 | return this[kPool][kConnected] 11 | } 12 | 13 | get free () { 14 | return this[kPool][kFree] 15 | } 16 | 17 | get pending () { 18 | return this[kPool][kPending] 19 | } 20 | 21 | get queued () { 22 | return this[kPool][kQueued] 23 | } 24 | 25 | get running () { 26 | return this[kPool][kRunning] 27 | } 28 | 29 | get size () { 30 | return this[kPool][kSize] 31 | } 32 | } 33 | 34 | module.exports = PoolStats 35 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/lib/websocket/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kWebSocketURL: Symbol('url'), 5 | kReadyState: Symbol('ready state'), 6 | kController: Symbol('controller'), 7 | kResponse: Symbol('response'), 8 | kBinaryType: Symbol('binary type'), 9 | kSentClose: Symbol('sent close'), 10 | kReceivedClose: Symbol('received close'), 11 | kByteParser: Symbol('byte parser') 12 | } 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | declare class BalancedPool extends Dispatcher { 8 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 9 | 10 | addUpstream(upstream: string | URL): BalancedPool; 11 | removeUpstream(upstream: string | URL): BalancedPool; 12 | upstreams: Array; 13 | 14 | /** `true` after `pool.close()` has been called. */ 15 | closed: boolean; 16 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 17 | destroyed: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ 4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) 5 | } 6 | 7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ 8 | constructor (handler: Dispatcher.DispatchHandlers) 9 | } 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | type RedirectInterceptorOpts = { maxRedirections?: number } 4 | 5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor 6 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/undici/types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function getUserAgent() { 6 | if (typeof navigator === "object" && "userAgent" in navigator) { 7 | return navigator.userAgent; 8 | } 9 | 10 | if (typeof process === "object" && process.version !== undefined) { 11 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 12 | } 13 | 14 | return ""; 15 | } 16 | 17 | exports.getUserAgent = getUserAgent; 18 | //# sourceMappingURL=index.js.map 19 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && process.version !== undefined) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && process.version !== undefined) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | 11 | export { getUserAgent }; 12 | //# sourceMappingURL=index.js.map 13 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library! 4 | 5 | ## Testing 6 | 7 | ```shell 8 | npm test 9 | ``` 10 | 11 | ## Releasing 12 | 13 | Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version): 14 | 15 | ```shell 16 | npm run release -- --dry-run # verify output manually 17 | npm run release # follow the instructions from the output of this command 18 | ``` 19 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../uuid-bin'); 3 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | var v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (var i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | var v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-browser/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/md5.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function md5(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('md5').update(bytes).digest(); 11 | } 12 | 13 | export default md5; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/rng.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 3 | 4 | let poolPtr = rnds8Pool.length; 5 | export default function rng() { 6 | if (poolPtr > rnds8Pool.length - 16) { 7 | crypto.randomFillSync(rnds8Pool); 8 | poolPtr = 0; 9 | } 10 | 11 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 12 | } -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/sha1.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function sha1(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('sha1').update(bytes).digest(); 11 | } 12 | 13 | export default sha1; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | const v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (let i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | const v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/esm-node/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/md5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function md5(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('md5').update(bytes).digest(); 20 | } 21 | 22 | var _default = md5; 23 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/nil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = '00000000-0000-0000-0000-000000000000'; 8 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/regex.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; 8 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/rng.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = rng; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 13 | 14 | let poolPtr = rnds8Pool.length; 15 | 16 | function rng() { 17 | if (poolPtr > rnds8Pool.length - 16) { 18 | _crypto.default.randomFillSync(rnds8Pool); 19 | 20 | poolPtr = 0; 21 | } 22 | 23 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 24 | } -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/sha1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function sha1(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('sha1').update(bytes).digest(); 20 | } 21 | 22 | var _default = sha1; 23 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/umd/uuidNIL.min.js: -------------------------------------------------------------------------------- 1 | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidNIL=n()}(this,(function(){"use strict";return"00000000-0000-0000-0000-000000000000"})); -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/umd/uuidValidate.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidValidate=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){return"string"==typeof t&&e.test(t)}})); -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/umd/uuidVersion.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidVersion=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){if(!function(t){return"string"==typeof t&&e.test(t)}(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}})); -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/v3.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _md = _interopRequireDefault(require("./md5.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v3 = (0, _v.default)('v3', 0x30, _md.default); 15 | var _default = v3; 16 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/v5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _sha = _interopRequireDefault(require("./sha1.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v5 = (0, _v.default)('v5', 0x50, _sha.default); 15 | var _default = v5; 16 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/validate.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _regex = _interopRequireDefault(require("./regex.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function validate(uuid) { 13 | return typeof uuid === 'string' && _regex.default.test(uuid); 14 | } 15 | 16 | var _default = validate; 17 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/dist/version.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _validate = _interopRequireDefault(require("./validate.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function version(uuid) { 13 | if (!(0, _validate.default)(uuid)) { 14 | throw TypeError('Invalid UUID'); 15 | } 16 | 17 | return parseInt(uuid.substr(14, 1), 16); 18 | } 19 | 20 | var _default = version; 21 | exports.default = _default; -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/node_modules/uuid/wrapper.mjs: -------------------------------------------------------------------------------- 1 | import uuid from './dist/index.js'; 2 | export const v1 = uuid.v1; 3 | export const v3 = uuid.v3; 4 | export const v4 = uuid.v4; 5 | export const v5 = uuid.v5; 6 | export const NIL = uuid.NIL; 7 | export const version = uuid.version; 8 | export const validate = uuid.validate; 9 | export const stringify = uuid.stringify; 10 | export const parse = uuid.parse; 11 | -------------------------------------------------------------------------------- /actions/bcr-pr-reviewer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bcr-pr-reviewer", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@actions/core": "^1.10.1", 13 | "@actions/github": "^6.0.0" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /actions/cherry_picker/requirements.txt: -------------------------------------------------------------------------------- 1 | requests==2.32.2 2 | github3.py==4.0.1 3 | PyGithub==1.58.2 4 | -------------------------------------------------------------------------------- /actions/release-helper/action.yml: -------------------------------------------------------------------------------- 1 | name: 'Release Helper' 2 | description: 'Helps manage release-related issues.' 3 | inputs: 4 | token: 5 | description: 'The GitHub token' 6 | required: false 7 | default: ${{ github.token }} 8 | runs: 9 | using: 'node16' 10 | main: 'index.js' 11 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueCommand(command: string, message: any): void; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/core/lib/file-command.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,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,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"} -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/github/lib/github.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { GitHub } from './utils'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | /** 6 | * Returns a hydrated octokit ready to use for GitHub Actions 7 | * 8 | * @param token the repo PAT or GITHUB_TOKEN 9 | * @param options other options to set 10 | */ 11 | export declare function getOctokit(token: string, options?: OctokitOptions): InstanceType; 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/github/lib/github.js.map: -------------------------------------------------------------------------------- 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;IAExB,OAAO,IAAI,cAAM,CAAC,yBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACtD,CAAC;AALD,gCAKC"} -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/github/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | /* eslint-disable @typescript-eslint/no-explicit-any */ 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/github/lib/internal/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as http from 'http'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; 5 | export declare function getProxyAgent(destinationUrl: string): http.Agent; 6 | export declare function getApiBaseUrl(): string; 7 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/http-client/actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/release-helper/node_modules/@actions/http-client/actions.png -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/http-client/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@actions/http-client/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-src/hook.js: -------------------------------------------------------------------------------- 1 | import { withAuthorizationPrefix } from "./with-authorization-prefix"; 2 | export async function hook(token, request, route, parameters) { 3 | const endpoint = request.endpoint.merge(route, parameters); 4 | endpoint.headers.authorization = withAuthorizationPrefix(token); 5 | return request(endpoint); 6 | } 7 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { auth } from "./auth"; 2 | import { hook } from "./hook"; 3 | export const createTokenAuth = function createTokenAuth(token) { 4 | if (!token) { 5 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 6 | } 7 | if (typeof token !== "string") { 8 | throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); 9 | } 10 | token = token.replace(/^(token|bearer) +/i, ""); 11 | return Object.assign(auth.bind(null, token), { 12 | hook: hook.bind(null, token), 13 | }); 14 | }; 15 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export function withAuthorizationPrefix(token) { 7 | if (token.split(/\./).length === 3) { 8 | return `bearer ${token}`; 9 | } 10 | return `token ${token}`; 11 | } 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-types/auth.d.ts: -------------------------------------------------------------------------------- 1 | import { Token, Authentication } from "./types"; 2 | export declare function auth(token: Token): Promise; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-types/hook.d.ts: -------------------------------------------------------------------------------- 1 | import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; 2 | export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { StrategyInterface, Token, Authentication } from "./types"; 2 | export declare type Types = { 3 | StrategyOptions: Token; 4 | AuthOptions: never; 5 | Authentication: Authentication; 6 | }; 7 | export declare const createTokenAuth: StrategyInterface; 8 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export declare function withAuthorizationPrefix(token: string): string; 7 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/core/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "3.5.1"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "3.5.1"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/defaults.js: -------------------------------------------------------------------------------- 1 | import { getUserAgent } from "universal-user-agent"; 2 | import { VERSION } from "./version"; 3 | const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; 4 | // DEFAULTS has all properties set that EndpointOptions has, except url. 5 | // So we use RequestParameters and add method as additional required property. 6 | export const DEFAULTS = { 7 | method: "GET", 8 | baseUrl: "https://api.github.com", 9 | headers: { 10 | accept: "application/vnd.github.v3+json", 11 | "user-agent": userAgent, 12 | }, 13 | mediaType: { 14 | format: "", 15 | previews: [], 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js: -------------------------------------------------------------------------------- 1 | import { merge } from "./merge"; 2 | import { parse } from "./parse"; 3 | export function endpointWithDefaults(defaults, route, options) { 4 | return parse(merge(defaults, route, options)); 5 | } 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { withDefaults } from "./with-defaults"; 2 | import { DEFAULTS } from "./defaults"; 3 | export const endpoint = withDefaults(null, DEFAULTS); 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js: -------------------------------------------------------------------------------- 1 | export function addQueryParameters(url, parameters) { 2 | const separator = /\?/.test(url) ? "&" : "?"; 3 | const names = Object.keys(parameters); 4 | if (names.length === 0) { 5 | return url; 6 | } 7 | return (url + 8 | separator + 9 | names 10 | .map((name) => { 11 | if (name === "q") { 12 | return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+")); 13 | } 14 | return `${name}=${encodeURIComponent(parameters[name])}`; 15 | }) 16 | .join("&")); 17 | } 18 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js: -------------------------------------------------------------------------------- 1 | const urlVariableRegex = /\{[^}]+\}/g; 2 | function removeNonChars(variableName) { 3 | return variableName.replace(/^\W+|\W+$/g, "").split(/,/); 4 | } 5 | export function extractUrlVariableNames(url) { 6 | const matches = url.match(urlVariableRegex); 7 | if (!matches) { 8 | return []; 9 | } 10 | return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); 11 | } 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js: -------------------------------------------------------------------------------- 1 | export function lowercaseKeys(object) { 2 | if (!object) { 3 | return {}; 4 | } 5 | return Object.keys(object).reduce((newObj, key) => { 6 | newObj[key.toLowerCase()] = object[key]; 7 | return newObj; 8 | }, {}); 9 | } 10 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js: -------------------------------------------------------------------------------- 1 | import { isPlainObject } from "is-plain-object"; 2 | export function mergeDeep(defaults, options) { 3 | const result = Object.assign({}, defaults); 4 | Object.keys(options).forEach((key) => { 5 | if (isPlainObject(options[key])) { 6 | if (!(key in defaults)) 7 | Object.assign(result, { [key]: options[key] }); 8 | else 9 | result[key] = mergeDeep(defaults[key], options[key]); 10 | } 11 | else { 12 | Object.assign(result, { [key]: options[key] }); 13 | } 14 | }); 15 | return result; 16 | } 17 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/omit.js: -------------------------------------------------------------------------------- 1 | export function omit(object, keysToOmit) { 2 | return Object.keys(object) 3 | .filter((option) => !keysToOmit.includes(option)) 4 | .reduce((obj, key) => { 5 | obj[key] = object[key]; 6 | return obj; 7 | }, {}); 8 | } 9 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js: -------------------------------------------------------------------------------- 1 | export function removeUndefinedProperties(obj) { 2 | for (const key in obj) { 3 | if (obj[key] === undefined) { 4 | delete obj[key]; 5 | } 6 | } 7 | return obj; 8 | } 9 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "6.0.12"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { endpointWithDefaults } from "./endpoint-with-defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | export function withDefaults(oldDefaults, newDefaults) { 5 | const DEFAULTS = merge(oldDefaults, newDefaults); 6 | const endpoint = endpointWithDefaults.bind(null, DEFAULTS); 7 | return Object.assign(endpoint, { 8 | DEFAULTS, 9 | defaults: withDefaults.bind(null, DEFAULTS), 10 | merge: merge.bind(null, DEFAULTS), 11 | parse, 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointOptions, RequestParameters, Route } from "@octokit/types"; 2 | import { DEFAULTS } from "./defaults"; 3 | export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/merge.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; 2 | export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/parse.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestOptions } from "@octokit/types"; 2 | export declare function parse(options: EndpointDefaults): RequestOptions; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function addQueryParameters(url: string, parameters: { 2 | [x: string]: string | undefined; 3 | q?: string; 4 | }): string; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts: -------------------------------------------------------------------------------- 1 | export declare function lowercaseKeys(object?: { 2 | [key: string]: any; 3 | }): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare function omit(object: { 2 | [key: string]: any; 3 | }, keysToOmit: string[]): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts: -------------------------------------------------------------------------------- 1 | export declare function removeUndefinedProperties(obj: any): any; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseUrl(template: string): { 2 | expand: (context: object) => string; 3 | }; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "6.0.12"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; 2 | export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import { withDefaults } from "./with-defaults"; 5 | export const graphql = withDefaults(request, { 6 | headers: { 7 | "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`, 8 | }, 9 | method: "POST", 10 | url: "/graphql", 11 | }); 12 | export { GraphqlResponseError } from "./error"; 13 | export function withCustomRequest(customRequest) { 14 | return withDefaults(customRequest, { 15 | method: "POST", 16 | url: "/graphql", 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "4.8.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql } from "./graphql"; 3 | export function withDefaults(request, newDefaults) { 4 | const newRequest = request.defaults(newDefaults); 5 | const newApi = (query, options) => { 6 | return graphql(newRequest, query, options); 7 | }; 8 | return Object.assign(newApi, { 9 | defaults: withDefaults.bind(null, newRequest), 10 | endpoint: Request.endpoint, 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "@octokit/types"; 2 | import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; 3 | declare type ServerResponseData = Required>; 4 | export declare class GraphqlResponseError extends Error { 5 | readonly request: GraphQlEndpointOptions; 6 | readonly headers: ResponseHeaders; 7 | readonly response: ServerResponseData; 8 | name: string; 9 | readonly errors: GraphQlQueryResponse["errors"]; 10 | readonly data: ResponseData; 11 | constructor(request: GraphQlEndpointOptions, headers: ResponseHeaders, response: ServerResponseData); 12 | } 13 | export {}; 14 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-types/graphql.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { RequestParameters, GraphQlQueryResponseData } from "./types"; 3 | export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | export declare const graphql: import("./types").graphql; 3 | export { GraphQlQueryResponseData } from "./types"; 4 | export { GraphqlResponseError } from "./error"; 5 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "4.8.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql as ApiInterface, RequestParameters } from "./types"; 3 | export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/openapi-types/README.md: -------------------------------------------------------------------------------- 1 | # @octokit/openapi-types 2 | 3 | > Generated TypeScript definitions based on GitHub's OpenAPI spec 4 | 5 | This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/) 6 | 7 | ## Usage 8 | 9 | ```ts 10 | import { components } from "@octokit/openapi-types"; 11 | 12 | type Repository = components["schemas"]["full-repository"]; 13 | ``` 14 | 15 | ## License 16 | 17 | [MIT](LICENSE) 18 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/openapi-types/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@octokit/openapi-types", 3 | "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/octokit/openapi-types.ts.git", 7 | "directory": "packages/openapi-types" 8 | }, 9 | "publishConfig": { 10 | "access": "public" 11 | }, 12 | "version": "11.2.0", 13 | "main": "", 14 | "types": "types.d.ts", 15 | "author": "Gregor Martynus (https://twitter.com/gr2m)", 16 | "license": "MIT", 17 | "octokit": { 18 | "openapi-version": "5.9.0" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js: -------------------------------------------------------------------------------- 1 | import { paginate } from "./paginate"; 2 | import { iterator } from "./iterator"; 3 | export const composePaginateRest = Object.assign(paginate, { 4 | iterator, 5 | }); 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version"; 2 | import { paginate } from "./paginate"; 3 | import { iterator } from "./iterator"; 4 | export { composePaginateRest } from "./compose-paginate"; 5 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; 6 | /** 7 | * @param octokit Octokit instance 8 | * @param options Options passed to Octokit constructor 9 | */ 10 | export function paginateRest(octokit) { 11 | return { 12 | paginate: Object.assign(paginate.bind(null, octokit), { 13 | iterator: iterator.bind(null, octokit), 14 | }), 15 | }; 16 | } 17 | paginateRest.VERSION = VERSION; 18 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | import { paginatingEndpoints, } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export function isPaginatingEndpoint(arg) { 4 | if (typeof arg === "string") { 5 | return paginatingEndpoints.includes(arg); 6 | } 7 | else { 8 | return false; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "2.17.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { ComposePaginateInterface } from "./types"; 2 | export declare const composePaginateRest: ComposePaginateInterface; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { PaginateInterface } from "./types"; 3 | export { PaginateInterface } from "./types"; 4 | export { PaginatingEndpoints } from "./types"; 5 | export { composePaginateRest } from "./compose-paginate"; 6 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; 7 | /** 8 | * @param octokit Octokit instance 9 | * @param options Options passed to Octokit constructor 10 | */ 11 | export declare function paginateRest(octokit: Octokit): { 12 | paginate: PaginateInterface; 13 | }; 14 | export declare namespace paginateRest { 15 | var VERSION: string; 16 | } 17 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { PaginatingEndpoints } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "2.17.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import ENDPOINTS from "./generated/endpoints"; 2 | import { VERSION } from "./version"; 3 | import { endpointsToMethods } from "./endpoints-to-methods"; 4 | export function restEndpointMethods(octokit) { 5 | const api = endpointsToMethods(octokit, ENDPOINTS); 6 | return { 7 | rest: api, 8 | }; 9 | } 10 | restEndpointMethods.VERSION = VERSION; 11 | export function legacyRestEndpointMethods(octokit) { 12 | const api = endpointsToMethods(octokit, ENDPOINTS); 13 | return { 14 | ...api, 15 | rest: api, 16 | }; 17 | } 18 | legacyRestEndpointMethods.VERSION = VERSION; 19 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.13.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { EndpointsDefaultsAndDecorations } from "./types"; 3 | import { RestEndpointMethods } from "./generated/method-types"; 4 | export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointsDefaultsAndDecorations } from "../types"; 2 | declare const Endpoints: EndpointsDefaultsAndDecorations; 3 | export default Endpoints; 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; 3 | import { Api } from "./types"; 4 | export declare function restEndpointMethods(octokit: Octokit): Api; 5 | export declare namespace restEndpointMethods { 6 | var VERSION: string; 7 | } 8 | export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api; 9 | export declare namespace legacyRestEndpointMethods { 10 | var VERSION: string; 11 | } 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { Route, RequestParameters } from "@octokit/types"; 2 | import { RestEndpointMethods } from "./generated/method-types"; 3 | export declare type Api = { 4 | rest: RestEndpointMethods; 5 | }; 6 | export declare type EndpointDecorations = { 7 | mapToData?: string; 8 | deprecated?: string; 9 | renamed?: [string, string]; 10 | renamedParameters?: { 11 | [name: string]: string; 12 | }; 13 | }; 14 | export declare type EndpointsDefaultsAndDecorations = { 15 | [scope: string]: { 16 | [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; 17 | }; 18 | }; 19 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.13.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request-error/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; 2 | export declare type RequestErrorOptions = { 3 | /** @deprecated set `response` instead */ 4 | headers?: ResponseHeaders; 5 | request: RequestOptions; 6 | } | { 7 | response: OctokitResponse; 8 | request: RequestOptions; 9 | }; 10 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { endpoint } from "@octokit/endpoint"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import withDefaults from "./with-defaults"; 5 | export const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.6.3"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface } from "@octokit/types"; 2 | export default function fetchWrapper(requestOptions: ReturnType & { 3 | redirect?: "error" | "follow" | "manual"; 4 | }): Promise<{ 5 | status: number; 6 | url: string; 7 | headers: { 8 | [header: string]: string; 9 | }; 10 | data: any; 11 | }>; 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | import { Response } from "node-fetch"; 2 | export default function getBufferResponse(response: Response): Promise; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.6.3"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/request/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; 2 | export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; 3 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | const VERSION = "6.34.0"; 6 | 7 | exports.VERSION = VERSION; 8 | //# sourceMappingURL=index.js.map 9 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/AuthInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/EndpointDefaults.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/EndpointInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/EndpointOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/Fetch.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/OctokitResponse.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestError.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestParameters.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/RequestRequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/ResponseHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/Route.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/Signal.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/StrategyInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/Url.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/VERSION.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "6.34.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-src/generated/Endpoints.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestMethod } from "./RequestMethod"; 2 | import { Url } from "./Url"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | export declare type EndpointOptions = RequestParameters & { 5 | method: RequestMethod; 6 | url: Url; 7 | }; 8 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/Fetch.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export declare type Fetch = any; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts: -------------------------------------------------------------------------------- 1 | declare type Unwrap = T extends Promise ? U : T; 2 | declare type AnyFunction = (...args: any[]) => any; 3 | export declare type GetResponseTypeFromEndpointMethod = Unwrap>; 4 | export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; 5 | export {}; 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "./ResponseHeaders"; 2 | import { Url } from "./Url"; 3 | export declare type OctokitResponse = { 4 | headers: ResponseHeaders; 5 | /** 6 | * http response code 7 | */ 8 | status: S; 9 | /** 10 | * URL of response after all redirects 11 | */ 12 | url: Url; 13 | /** 14 | * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference 15 | */ 16 | data: T; 17 | }; 18 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/RequestError.d.ts: -------------------------------------------------------------------------------- 1 | export declare type RequestError = { 2 | name: string; 3 | status: number; 4 | documentation_url: string; 5 | errors?: Array<{ 6 | resource: string; 7 | code: string; 8 | field: string; 9 | message?: string; 10 | }>; 11 | }; 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare type RequestHeaders = { 2 | /** 3 | * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. 4 | */ 5 | accept?: string; 6 | /** 7 | * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` 8 | */ 9 | authorization?: string; 10 | /** 11 | * `user-agent` is set do a default and can be overwritten as needed. 12 | */ 13 | "user-agent"?: string; 14 | [header: string]: string | number | undefined; 15 | }; 16 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/RequestMethod.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/RequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import { Url } from "./Url"; 5 | /** 6 | * Generic request options as they are returned by the `endpoint()` method 7 | */ 8 | export declare type RequestOptions = { 9 | method: RequestMethod; 10 | url: Url; 11 | headers: RequestHeaders; 12 | body?: any; 13 | request?: RequestRequestOptions; 14 | }; 15 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare type ResponseHeaders = { 2 | "cache-control"?: string; 3 | "content-length"?: number; 4 | "content-type"?: string; 5 | date?: string; 6 | etag?: string; 7 | "last-modified"?: string; 8 | link?: string; 9 | location?: string; 10 | server?: string; 11 | status?: string; 12 | vary?: string; 13 | "x-github-mediatype"?: string; 14 | "x-github-request-id"?: string; 15 | "x-oauth-scopes"?: string; 16 | "x-ratelimit-limit"?: string; 17 | "x-ratelimit-remaining"?: string; 18 | "x-ratelimit-reset"?: string; 19 | [header: string]: string | number | undefined; 20 | }; 21 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/Route.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/{org}'`, `'PUT /orgs/{org}'`, `GET https://example.com/foo/bar` 3 | */ 4 | export declare type Route = string; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/Signal.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export declare type Signal = any; 7 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts: -------------------------------------------------------------------------------- 1 | import { AuthInterface } from "./AuthInterface"; 2 | export interface StrategyInterface { 3 | (...args: StrategyOptions): AuthInterface; 4 | } 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/Url.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/{org}'`, `https://example.com/foo/bar` 3 | */ 4 | export declare type Url = string; 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "6.34.0"; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-web/index.js: -------------------------------------------------------------------------------- 1 | const VERSION = "6.34.0"; 2 | 3 | export { VERSION }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/@octokit/types/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /actions/release-helper/node_modules/before-after-hook/lib/remove.js: -------------------------------------------------------------------------------- 1 | module.exports = removeHook; 2 | 3 | function removeHook(state, name, method) { 4 | if (!state.registry[name]) { 5 | return; 6 | } 7 | 8 | var index = state.registry[name] 9 | .map(function (registered) { 10 | return registered.orig; 11 | }) 12 | .indexOf(method); 13 | 14 | if (index === -1) { 15 | return; 16 | } 17 | 18 | state.registry[name].splice(index, 1); 19 | } 20 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/deprecation/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | class Deprecation extends Error { 6 | constructor(message) { 7 | super(message); // Maintains proper stack trace (only available on V8) 8 | 9 | /* istanbul ignore next */ 10 | 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | 15 | this.name = 'Deprecation'; 16 | } 17 | 18 | } 19 | 20 | exports.Deprecation = Deprecation; 21 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/deprecation/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /actions/release-helper/node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/deprecation/dist-web/index.js: -------------------------------------------------------------------------------- 1 | class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } 15 | 16 | export { Deprecation }; 17 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/is-plain-object/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export function isPlainObject(o: any): boolean; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/once/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "once", 3 | "version": "1.4.0", 4 | "description": "Run a function exactly one time", 5 | "main": "once.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "dependencies": { 10 | "wrappy": "1" 11 | }, 12 | "devDependencies": { 13 | "tap": "^7.0.1" 14 | }, 15 | "scripts": { 16 | "test": "tap test/*.js" 17 | }, 18 | "files": [ 19 | "once.js" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "git://github.com/isaacs/once" 24 | }, 25 | "keywords": [ 26 | "once", 27 | "function", 28 | "one", 29 | "single" 30 | ], 31 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 32 | "license": "ISC" 33 | } 34 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tr46/.npmignore: -------------------------------------------------------------------------------- 1 | scripts/ 2 | test/ 3 | 4 | !lib/mapping_table.json 5 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tr46/lib/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/actions/release-helper/node_modules/tr46/lib/.gitkeep -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function getUserAgent() { 6 | if (typeof navigator === "object" && "userAgent" in navigator) { 7 | return navigator.userAgent; 8 | } 9 | 10 | if (typeof process === "object" && "version" in process) { 11 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 12 | } 13 | 14 | return ""; 15 | } 16 | 17 | exports.getUserAgent = getUserAgent; 18 | //# sourceMappingURL=index.js.map 19 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | 11 | export { getUserAgent }; 12 | //# sourceMappingURL=index.js.map 13 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/webidl-conversions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webidl-conversions", 3 | "version": "3.0.1", 4 | "description": "Implements the WebIDL algorithms for converting to and from JavaScript values", 5 | "main": "lib/index.js", 6 | "scripts": { 7 | "test": "mocha test/*.js" 8 | }, 9 | "repository": "jsdom/webidl-conversions", 10 | "keywords": [ 11 | "webidl", 12 | "web", 13 | "types" 14 | ], 15 | "files": [ 16 | "lib/" 17 | ], 18 | "author": "Domenic Denicola (https://domenic.me/)", 19 | "license": "BSD-2-Clause", 20 | "devDependencies": { 21 | "mocha": "^1.21.4" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/whatwg-url/lib/public-api.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.URL = require("./URL").interface; 4 | exports.serializeURL = require("./url-state-machine").serializeURL; 5 | exports.serializeURLOrigin = require("./url-state-machine").serializeURLOrigin; 6 | exports.basicURLParse = require("./url-state-machine").basicURLParse; 7 | exports.setTheUsername = require("./url-state-machine").setTheUsername; 8 | exports.setThePassword = require("./url-state-machine").setThePassword; 9 | exports.serializeHost = require("./url-state-machine").serializeHost; 10 | exports.serializeInteger = require("./url-state-machine").serializeInteger; 11 | exports.parseURL = require("./url-state-machine").parseURL; 12 | -------------------------------------------------------------------------------- /actions/release-helper/node_modules/whatwg-url/lib/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports.mixin = function mixin(target, source) { 4 | const keys = Object.getOwnPropertyNames(source); 5 | for (let i = 0; i < keys.length; ++i) { 6 | Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); 7 | } 8 | }; 9 | 10 | module.exports.wrapperSymbol = Symbol("wrapper"); 11 | module.exports.implSymbol = Symbol("impl"); 12 | 13 | module.exports.wrapperForImpl = function (impl) { 14 | return impl[module.exports.wrapperSymbol]; 15 | }; 16 | 17 | module.exports.implForWrapper = function (wrapper) { 18 | return wrapper[module.exports.implSymbol]; 19 | }; 20 | 21 | -------------------------------------------------------------------------------- /actions/release-helper/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "release-helper", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "@actions/core": "^1.6.0", 14 | "@actions/github": "^6.0.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /actions/update-lockfile/requirements.txt: -------------------------------------------------------------------------------- 1 | requests==2.32.2 2 | github3.py==4.0.1 3 | PyGithub==1.58.2 -------------------------------------------------------------------------------- /agent/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [target.aarch64-unknown-linux-musl] 2 | linker = "aarch64-linux-gnu-gcc" 3 | -------------------------------------------------------------------------------- /agent/.gitignore: -------------------------------------------------------------------------------- 1 | target/ -------------------------------------------------------------------------------- /agent/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "bazelci-agent" 3 | version = "0.2.7" 4 | edition = "2018" 5 | 6 | [dependencies] 7 | tracing = "0.1" 8 | tracing-subscriber = "0.2" 9 | anyhow = "1.0" 10 | serde_json = "1.0" 11 | clap = "2.33" 12 | structopt = "0.3" 13 | rand = "0.8" 14 | url = "2.2" 15 | reqwest = { version = "0.11.17", default-features = false, features = ["rustls-tls", "blocking", "multipart"] } 16 | sha-1 = "0.10.1" 17 | quick-xml = "0.28.2" 18 | 19 | [dev-dependencies] 20 | assert_cmd = "2.0" 21 | predicates = "2.0" 22 | tempfile = "3.2" 23 | 24 | [profile.release] 25 | lto = true 26 | debug = true 27 | -------------------------------------------------------------------------------- /agent/rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly" -------------------------------------------------------------------------------- /agent/src/artifact/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod upload; 2 | -------------------------------------------------------------------------------- /agent/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod artifact; 2 | pub mod utils; 3 | -------------------------------------------------------------------------------- /agent/tests/artifact/mod.rs: -------------------------------------------------------------------------------- 1 | mod upload; 2 | -------------------------------------------------------------------------------- /agent/tests/tests.rs: -------------------------------------------------------------------------------- 1 | mod artifact; 2 | -------------------------------------------------------------------------------- /bazel/oci/install_bazel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit -o nounset -o pipefail 4 | 5 | if [ "$TARGETARCH" = "amd64" ]; then 6 | TARGETARCH="x86_64" 7 | fi 8 | 9 | curl \ 10 | --fail \ 11 | --location \ 12 | --remote-name \ 13 | "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-linux-${TARGETARCH}" 14 | 15 | curl \ 16 | --fail \ 17 | --location \ 18 | "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-linux-${TARGETARCH}.sha256" \ 19 | | sha256sum --check 20 | 21 | mv "bazel-${BAZEL_VERSION}-linux-${TARGETARCH}" bazel 22 | chmod +x bazel 23 | -------------------------------------------------------------------------------- /bazel/oci/install_packages.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit -o nounset -o pipefail 4 | 5 | apt-get update 6 | 7 | export DEBIAN_FRONTEND="noninteractive" 8 | export TZ="Etc/UTC" 9 | 10 | apt-get install --yes \ 11 | build-essential \ 12 | curl \ 13 | git \ 14 | openjdk-8-jdk \ 15 | python3 \ 16 | python3-pip \ 17 | unzip \ 18 | zip 19 | 20 | ln -s "$(which python3)" /usr/bin/python 21 | -------------------------------------------------------------------------------- /buildifier/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:alpine 2 | 3 | COPY --chown=root:root buildifier.py /usr/local/bin/buildifier.py 4 | 5 | RUN chmod 0755 /usr/local/bin/buildifier.py 6 | 7 | ENTRYPOINT [ "/usr/local/bin/buildifier.py" ] 8 | -------------------------------------------------------------------------------- /buildifier/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | docker build -t buildifier . 6 | 7 | docker tag buildifier gcr.io/bazel-public/buildifier 8 | docker push gcr.io/bazel-public/buildifier 9 | -------------------------------------------------------------------------------- /buildkite/README.infra.md: -------------------------------------------------------------------------------- 1 | ## GCE Health Check 2 | 3 | for project in bazel-public bazel-untrusted; do 4 | gcloud compute health-checks create http buildkite-check \ 5 | --project $project \ 6 | --port 8080 \ 7 | --check-interval 30s \ 8 | --healthy-threshold 1 \ 9 | --timeout 10s \ 10 | --unhealthy-threshold 3 11 | done 12 | -------------------------------------------------------------------------------- /buildkite/docker/fedora39/google-cloud-sdk.repo: -------------------------------------------------------------------------------- 1 | [google-cloud-sdk] 2 | name=Google Cloud SDK 3 | baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64 4 | enabled=1 5 | gpgcheck=1 6 | repo_gpgcheck=0 7 | gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg 8 | https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg 9 | 10 | -------------------------------------------------------------------------------- /buildkite/docker/fedora40/google-cloud-sdk.repo: -------------------------------------------------------------------------------- 1 | [google-cloud-sdk] 2 | name=Google Cloud SDK 3 | baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64 4 | enabled=1 5 | gpgcheck=1 6 | repo_gpgcheck=0 7 | gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg 8 | https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg 9 | -------------------------------------------------------------------------------- /buildkite/docker/rockylinux8/google-cloud-sdk.repo: -------------------------------------------------------------------------------- 1 | [google-cloud-sdk] 2 | name=Google Cloud SDK 3 | baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-$basearch 4 | enabled=1 5 | gpgcheck=1 6 | repo_gpgcheck=0 7 | gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg 8 | https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg 9 | -------------------------------------------------------------------------------- /buildkite/docs/assets/README.md: -------------------------------------------------------------------------------- 1 | This folder contains images supporting the documentation. 2 | -------------------------------------------------------------------------------- /buildkite/docs/assets/already-failing-projects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/already-failing-projects.png -------------------------------------------------------------------------------- /buildkite/docs/assets/buildkite-testlog-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/buildkite-testlog-buttons.png -------------------------------------------------------------------------------- /buildkite/docs/assets/buildkite-useful-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/buildkite-useful-buttons.png -------------------------------------------------------------------------------- /buildkite/docs/assets/buildkite-verify-pull-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/buildkite-verify-pull-request.png -------------------------------------------------------------------------------- /buildkite/docs/assets/failed-build-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/failed-build-step.png -------------------------------------------------------------------------------- /buildkite/docs/assets/flags-need-migration-per-job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/flags-need-migration-per-job.png -------------------------------------------------------------------------------- /buildkite/docs/assets/flaky-test-log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/flaky-test-log.png -------------------------------------------------------------------------------- /buildkite/docs/assets/flaky-test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/flaky-test.png -------------------------------------------------------------------------------- /buildkite/docs/assets/passing-flags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/passing-flags.png -------------------------------------------------------------------------------- /buildkite/docs/assets/pipelines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/pipelines.png -------------------------------------------------------------------------------- /buildkite/docs/assets/projects-need-migration-per-flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/projects-need-migration-per-flag.png -------------------------------------------------------------------------------- /buildkite/docs/assets/projects-need-migration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/projects-need-migration.png -------------------------------------------------------------------------------- /buildkite/docs/assets/pull-request-details.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/pull-request-details.png -------------------------------------------------------------------------------- /buildkite/docs/assets/status-verify-pull-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/buildkite/docs/assets/status-verify-pull-request.png -------------------------------------------------------------------------------- /buildkite/startup-freebsd11.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright 2017 The Bazel Authors. All rights reserved. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | set -eu 18 | 19 | exit 0 20 | -------------------------------------------------------------------------------- /buildkite/terraform/.gitignore: -------------------------------------------------------------------------------- 1 | .terraform/ 2 | terraform.tfstate 3 | -------------------------------------------------------------------------------- /dashboard/client/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .next/ 3 | -------------------------------------------------------------------------------- /dashboard/client/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | *.pem 21 | 22 | # debug 23 | npm-debug.log* 24 | yarn-debug.log* 25 | yarn-error.log* 26 | 27 | # local env files 28 | .env.local 29 | .env.development.local 30 | .env.test.local 31 | .env.production.local 32 | 33 | # vercel 34 | .vercel 35 | 36 | .idea/ -------------------------------------------------------------------------------- /dashboard/client/.idea/client.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dashboard/client/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /dashboard/client/.idea/prettier.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /dashboard/client/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dashboard/client/.idea/watcherTasks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /dashboard/client/.idea/webResources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /dashboard/client/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:14-alpine 2 | WORKDIR /app 3 | 4 | # Install app dependencies 5 | COPY package.json yarn.lock ./ 6 | RUN yarn 7 | 8 | # Build app 9 | COPY . ./ 10 | RUN yarn build 11 | 12 | ENTRYPOINT ["yarn", "start"] -------------------------------------------------------------------------------- /dashboard/client/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | GIT_REV=$(git rev-parse --short HEAD) 6 | 7 | docker build -f Dockerfile -t gcr.io/bazel-public/dashboard/client:$GIT_REV . 8 | -------------------------------------------------------------------------------- /dashboard/client/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. 6 | -------------------------------------------------------------------------------- /dashboard/client/next.config.js: -------------------------------------------------------------------------------- 1 | const withBundleAnalyzer = require("@next/bundle-analyzer")({ 2 | enabled: process.env.ANALYZE === "true", 3 | }); 4 | 5 | module.exports = withBundleAnalyzer({ 6 | serverRuntimeConfig: { 7 | SERVER_URL: process.env.SERVER_URL || "http://localhost:8080", 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /dashboard/client/pages/_app.tsx: -------------------------------------------------------------------------------- 1 | import "../styles/globals.css"; 2 | 3 | import { AppProps } from "next/app"; 4 | import React from "react"; 5 | import Head from "next/head"; 6 | 7 | export default function App({ Component, pageProps }: AppProps) { 8 | return ( 9 | <> 10 | 11 | Bazel Dashboard 12 | 13 | 14 | 15 | 16 | ); 17 | } 18 | -------------------------------------------------------------------------------- /dashboard/client/pages/api/[...slug].js: -------------------------------------------------------------------------------- 1 | import getConfig from "next/config"; 2 | import { createProxyMiddleware } from "http-proxy-middleware"; 3 | 4 | const { serverRuntimeConfig } = getConfig(); 5 | 6 | const apiProxy = createProxyMiddleware({ 7 | target: serverRuntimeConfig.SERVER_URL, 8 | changeOrigin: true, 9 | pathRewrite: { [`^/api`]: "" }, 10 | }); 11 | 12 | export default function (req, res) { 13 | apiProxy(req, res); 14 | } 15 | 16 | export const config = { api: { externalResolver: true, bodyParser: false } }; 17 | -------------------------------------------------------------------------------- /dashboard/client/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import Layout from "../src/Layout"; 2 | import RepoDashboard from "../src/RepoDashboard"; 3 | 4 | export default function Page() { 5 | return ( 6 | 7 | 8 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /dashboard/client/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /dashboard/client/src/data/GithubRepo.ts: -------------------------------------------------------------------------------- 1 | import useSWR from "swr"; 2 | 3 | import fetcher from "./fetcher"; 4 | 5 | export interface GithubRepo { 6 | owner: string; 7 | repo: string; 8 | } 9 | 10 | export function useGithubRepo() { 11 | const { data, error } = useSWR(`/api/github/repos`, fetcher); 12 | return { 13 | data: data as Array, 14 | error, 15 | loading: !error && !data, 16 | }; 17 | } 18 | -------------------------------------------------------------------------------- /dashboard/client/src/data/fetcher.ts: -------------------------------------------------------------------------------- 1 | export default function fetcher(input: RequestInfo, init?: RequestInit) { 2 | return fetch(input, init).then((res) => { 3 | if (res.ok) { 4 | return res.json(); 5 | } 6 | 7 | return res.json().then((error) => { 8 | throw error; 9 | }); 10 | }); 11 | } 12 | -------------------------------------------------------------------------------- /dashboard/client/src/theme.ts: -------------------------------------------------------------------------------- 1 | import { createTheme } from "@mui/material/styles"; 2 | 3 | const theme = createTheme({ 4 | palette: { 5 | primary: { 6 | main: "#43a047", 7 | }, 8 | }, 9 | }); 10 | 11 | export default theme; 12 | -------------------------------------------------------------------------------- /dashboard/client/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ['./pages/**/*.{js,ts,jsx,tsx}', './src/**/*.{js,ts,jsx,tsx}'], 3 | theme: { 4 | extend: { 5 | colors: { 6 | blue: { 7 | 'github': 'rgb(3, 102, 214)', 8 | }, 9 | green: { 10 | 'bazel': '#43a047', 11 | 'bazel-light': '#76d275', 12 | } 13 | }, 14 | 15 | zIndex: { 16 | 'header': 1400, 17 | 'popup': 1300, 18 | } 19 | }, 20 | }, 21 | plugins: [], 22 | } 23 | -------------------------------------------------------------------------------- /dashboard/client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "strict": true, 12 | "forceConsistentCasingInFileNames": true, 13 | "noEmit": true, 14 | "esModuleInterop": true, 15 | "module": "esnext", 16 | "moduleResolution": "node", 17 | "resolveJsonModule": true, 18 | "isolatedModules": true, 19 | "jsx": "preserve", 20 | "incremental": true 21 | }, 22 | "include": [ 23 | "next-env.d.ts", 24 | "**/*.ts", 25 | "**/*.tsx" 26 | ], 27 | "exclude": [ 28 | "node_modules" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /dashboard/server/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | 35 | application-dev.properties -------------------------------------------------------------------------------- /dashboard/server/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM azul/zulu-openjdk-alpine:21 2 | ARG DEPENDENCY=dependency 3 | COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib 4 | COPY ${DEPENDENCY}/META-INF /app/META-INF 5 | COPY ${DEPENDENCY}/BOOT-INF/classes /app 6 | ENTRYPOINT ["java", "--enable-preview", "-Djdk.tracePinnedThreads", "-cp", "/app:/app/lib/*", "build.bazel.dashboard.Application"] 7 | -------------------------------------------------------------------------------- /dashboard/server/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | GIT_REV=$(git rev-parse --short HEAD) 6 | 7 | mvn -Dproject.version=${GIT_REV} clean package 8 | 9 | rm -rf target/dependency && mkdir -p target/dependency && ( 10 | cd target/dependency 11 | jar -xf ../dashboard-${GIT_REV}.jar 12 | ) 13 | 14 | docker build -f Dockerfile -t gcr.io/bazel-public/dashboard/server:$GIT_REV target 15 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/Application.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/buildkite/api/FetchBuildRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.buildkite.api; 2 | 3 | public record FetchBuildRequest( 4 | String org, 5 | String pipeline, 6 | int buildNumber, 7 | String etag 8 | ) { 9 | public static FetchBuildRequest create(String org, String pipeline, int buildNumber, String etag) { 10 | return new FetchBuildRequest(org, pipeline, buildNumber, etag); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/buildkite/api/ListBuildsRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.buildkite.api; 2 | 3 | import javax.annotation.Nullable; 4 | 5 | public record ListBuildsRequest( 6 | String org, 7 | String pipeline, 8 | @Nullable 9 | String branch, 10 | @Nullable 11 | Integer perPage, 12 | @Nullable 13 | Integer page, 14 | @Nullable 15 | String etag 16 | ) { 17 | 18 | } 19 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/config/SchedulingConfig.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.config; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.context.annotation.Profile; 5 | import org.springframework.scheduling.annotation.EnableScheduling; 6 | 7 | @Profile("scheduling") 8 | @Configuration 9 | @EnableScheduling 10 | public class SchedulingConfig { 11 | } 12 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/GithubUtils.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github; 2 | 3 | import org.springframework.web.util.UriComponentsBuilder; 4 | 5 | import java.net.URLEncoder; 6 | 7 | import static java.nio.charset.StandardCharsets.UTF_8; 8 | 9 | public class GithubUtils { 10 | public static String buildIssueQueryUrl(String owner, String repo, String query) { 11 | return UriComponentsBuilder.newInstance() 12 | .scheme("https") 13 | .host("github.com") 14 | .pathSegment(owner, repo, "issues") 15 | .queryParam("q", URLEncoder.encode(query, UTF_8)) 16 | .build() 17 | .toString(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/FetchIssueRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | @Builder 7 | @Value 8 | public class FetchIssueRequest { 9 | String owner; 10 | String repo; 11 | int issueNumber; 12 | String etag; 13 | } 14 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/FetchPullRequestRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | public record FetchPullRequestRequest(String owner, String repo, int issueNumber, String etag) {} 4 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/ListIssueCommentsRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | import javax.annotation.Nullable; 4 | import lombok.Builder; 5 | import lombok.Value; 6 | 7 | @Builder 8 | @Value 9 | public class ListIssueCommentsRequest { 10 | String owner; 11 | String repo; 12 | int issueNumber; 13 | Integer perPage; 14 | Integer page; 15 | @Nullable String etag; 16 | } 17 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/ListRepositoryEventsRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | @Builder 7 | @Value 8 | public class ListRepositoryEventsRequest { 9 | String owner; 10 | String repo; 11 | Integer perPage; 12 | Integer page; 13 | String etag; 14 | } 15 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/ListRepositoryIssueEventsRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | @Builder 7 | @Value 8 | public class ListRepositoryIssueEventsRequest { 9 | String owner; 10 | String repo; 11 | Integer perPage; 12 | Integer page; 13 | String etag; 14 | } 15 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/api/SearchIssuesRequest.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.api; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | @Builder 7 | @Value 8 | public class SearchIssuesRequest { 9 | String q; 10 | String sort; 11 | String order; 12 | Integer perPage; 13 | Integer page; 14 | } 15 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issue/GithubIssueRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issue; 2 | 3 | import io.reactivex.rxjava3.core.Observable; 4 | import java.util.Optional; 5 | 6 | public interface GithubIssueRepo { 7 | 8 | void save(GithubIssue githubIssue); 9 | 10 | void delete(String owner, String repo, int issueNumber); 11 | 12 | Optional findOne(String owner, String repo, int issueNumber); 13 | 14 | Observable list(); 15 | 16 | Integer findMaxIssueNumber(String owner, String repo); 17 | } 18 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuecomment/GithubComment.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuecomment; 2 | 3 | import build.bazel.dashboard.github.issue.GithubIssue; 4 | import com.fasterxml.jackson.databind.PropertyNamingStrategies; 5 | import com.fasterxml.jackson.databind.annotation.JsonNaming; 6 | import lombok.Builder; 7 | import lombok.Value; 8 | 9 | @Builder 10 | @Value 11 | @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) 12 | public class GithubComment { 13 | long id; 14 | String body; 15 | GithubIssue.User user; 16 | } 17 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuelist/GithubIssueListRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuelist; 2 | 3 | import build.bazel.dashboard.github.issuelist.GithubIssueListService.ListParams; 4 | import com.google.common.collect.ImmutableList; 5 | import io.reactivex.rxjava3.core.Flowable; 6 | import io.reactivex.rxjava3.core.Single; 7 | import java.util.List; 8 | 9 | public interface GithubIssueListRepo { 10 | Flowable find(ListParams params); 11 | 12 | Single count(ListParams params); 13 | 14 | ImmutableList findAllActionOwner(ListParams params); 15 | 16 | ImmutableList findAllLabels(ListParams params); 17 | } 18 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/GithubIssueQuery.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | import java.time.Instant; 7 | 8 | @Builder 9 | @Value 10 | public class GithubIssueQuery { 11 | String owner; 12 | String repo; 13 | String id; 14 | Instant createdAt; 15 | Instant updatedAt; 16 | String name; 17 | String query; 18 | } 19 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/GithubIssueQueryExecutor.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery; 2 | 3 | import com.fasterxml.jackson.databind.JsonNode; 4 | import io.reactivex.rxjava3.core.Single; 5 | import lombok.Builder; 6 | import lombok.Value; 7 | 8 | import java.util.List; 9 | 10 | public interface GithubIssueQueryExecutor { 11 | @Builder 12 | @Value 13 | class QueryResult { 14 | List items; 15 | int totalCount; 16 | } 17 | 18 | QueryResult execute(String owner, String repo, String query); 19 | 20 | default Integer fetchQueryResultCount(String owner, String repo, String query) { 21 | return execute(owner, repo, query).totalCount; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/GithubIssueQueryRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery; 2 | 3 | import java.util.Optional; 4 | 5 | public interface GithubIssueQueryRepo { 6 | Optional findOne(String owner, String repo, String id); 7 | } 8 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/task/GithubIssueQueryCountTask.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery.task; 2 | 3 | import build.bazel.dashboard.utils.Period; 4 | import lombok.Builder; 5 | import lombok.Value; 6 | 7 | import java.time.Instant; 8 | 9 | @Builder 10 | @Value 11 | public class GithubIssueQueryCountTask { 12 | String owner; 13 | String repo; 14 | String queryId; 15 | Period period; 16 | Instant createdAt; 17 | String query; 18 | } 19 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/task/GithubIssueQueryCountTaskRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery.task; 2 | 3 | import build.bazel.dashboard.utils.Period; 4 | import com.google.common.collect.ImmutableList; 5 | import java.time.Instant; 6 | 7 | public interface GithubIssueQueryCountTaskRepo { 8 | ImmutableList list(Period period); 9 | 10 | void saveResult(GithubIssueQueryCountTask task, Instant timestamp, int count); 11 | 12 | ImmutableList listResult( 13 | String owner, String repo, String queryId, Period period, Instant from, Instant to); 14 | } 15 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuequery/task/GithubIssueQueryCountTaskResult.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuequery.task; 2 | 3 | import build.bazel.dashboard.utils.Period; 4 | import lombok.Builder; 5 | import lombok.Value; 6 | 7 | import java.time.Instant; 8 | 9 | @Builder 10 | @Value 11 | public class GithubIssueQueryCountTaskResult { 12 | String owner; 13 | String repo; 14 | String queryId; 15 | Period period; 16 | Instant timestamp; 17 | Integer count; 18 | } 19 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/issuestatus/GithubIssueStatusRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.issuestatus; 2 | 3 | import java.util.Optional; 4 | 5 | public interface GithubIssueStatusRepo { 6 | void save(GithubIssueStatus status); 7 | 8 | Optional findOne(String owner, String repo, int issueNumber); 9 | } 10 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/repo/GithubRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.repo; 2 | 3 | import java.time.Instant; 4 | import javax.annotation.Nullable; 5 | import lombok.Builder; 6 | import lombok.Value; 7 | 8 | @Value 9 | @Builder 10 | public class GithubRepo { 11 | String owner; 12 | String repo; 13 | Instant createdAt; 14 | Instant updatedAt; 15 | @Nullable String actionOwner; 16 | boolean isTeamLabelEnabled; 17 | } 18 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/repo/GithubRepoRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.repo; 2 | 3 | import com.google.common.collect.ImmutableList; 4 | import io.reactivex.rxjava3.core.Flowable; 5 | import io.reactivex.rxjava3.core.Maybe; 6 | import java.util.Optional; 7 | 8 | public interface GithubRepoRepo { 9 | Optional findOne(String owner, String repo); 10 | 11 | ImmutableList findAll(); 12 | } 13 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/team/GithubTeamRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.team; 2 | 3 | import com.google.common.collect.ImmutableList; 4 | 5 | public interface GithubTeamRepo { 6 | ImmutableList list(String owner, String repo); 7 | } 8 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/team/GithubTeamRestController.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.team; 2 | 3 | import lombok.RequiredArgsConstructor; 4 | import lombok.extern.slf4j.Slf4j; 5 | import org.springframework.web.bind.annotation.RestController; 6 | 7 | @RestController 8 | @RequiredArgsConstructor 9 | @Slf4j 10 | public class GithubTeamRestController { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/user/GithubUser.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.user; 2 | 3 | import lombok.Builder; 4 | import lombok.Value; 5 | 6 | @Value 7 | @Builder 8 | public class GithubUser { 9 | String username; 10 | String email; 11 | } 12 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/user/GithubUserRepo.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.user; 2 | 3 | import io.reactivex.rxjava3.core.Flowable; 4 | 5 | public interface GithubUserRepo { 6 | Flowable findAll(); 7 | } 8 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/github/user/GithubUserService.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.github.user; 2 | 3 | import io.reactivex.rxjava3.core.Flowable; 4 | import lombok.RequiredArgsConstructor; 5 | import org.springframework.stereotype.Service; 6 | 7 | @Service 8 | @RequiredArgsConstructor 9 | public class GithubUserService { 10 | private final GithubUserRepo githubUserRepo; 11 | 12 | public Flowable findAll() { 13 | return githubUserRepo.findAll(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/utils/HttpHeadersUtils.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.utils; 2 | 3 | import org.springframework.web.reactive.function.client.ClientResponse; 4 | 5 | public final class HttpHeadersUtils { 6 | private HttpHeadersUtils() { 7 | } 8 | 9 | public static int getAsIntOrZero(ClientResponse.Headers headers, String headerName) { 10 | try { 11 | return Integer.parseInt(headers.header(headerName).stream().findFirst().orElse("0")); 12 | } catch (NumberFormatException ignored) { 13 | return 0; 14 | } 15 | } 16 | 17 | public static String getOrEmpty(ClientResponse.Headers headers, String headerName) { 18 | return headers.header(headerName).stream().findFirst().orElse(""); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /dashboard/server/src/main/java/build/bazel/dashboard/utils/JsonStateStore.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard.utils; 2 | 3 | import java.time.Instant; 4 | import java.util.List; 5 | import javax.annotation.Nullable; 6 | import lombok.Builder; 7 | import lombok.Value; 8 | 9 | public interface JsonStateStore { 10 | 11 | @Builder 12 | @Value 13 | class JsonState { 14 | String key; 15 | Instant timestamp; 16 | @Nullable 17 | T data; 18 | } 19 | 20 | void save(String key, @Nullable Instant lastTimestamp, T data); 21 | 22 | JsonState load(String key, Class type); 23 | 24 | List> findAllLike(String pattern, Class type); 25 | 26 | void delete(String key, Instant lastTimestamp); 27 | } 28 | -------------------------------------------------------------------------------- /dashboard/server/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.r2dbc.url=r2dbc:postgresql://localhost:5432/dashboard 2 | spring.r2dbc.username=postgres 3 | spring.security.user.name=dashboard 4 | spring.security.user.password=bazel.build 5 | -------------------------------------------------------------------------------- /dashboard/server/src/test/java/build/bazel/dashboard/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package build.bazel.dashboard; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /docgen/Gemfile: -------------------------------------------------------------------------------- 1 | gem 'jekyll', '~> 3.8.6' 2 | gem 'jekyll-paginate', '~> 1.0' 3 | gem 'pygments.rb', '~> 0.6.0' 4 | gem 'redcarpet', '~> 3.2', '>= 3.2.3' 5 | gem 'jekyll-toc', '~> 0.13.1' 6 | gem 'jekyll-sitemap', '~> 1.4.0' 7 | -------------------------------------------------------------------------------- /docgen/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | # gcloud builds submit -t gcr.io/bazel-public/docgen . 6 | 7 | docker build -t docgen . 8 | docker tag docgen gcr.io/bazel-public/docgen 9 | docker push gcr.io/bazel-public/docgen 10 | -------------------------------------------------------------------------------- /gitsync/known_hosts: -------------------------------------------------------------------------------- 1 | github.com,192.30.253.112,192.30.253.113 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== 2 | -------------------------------------------------------------------------------- /gitsync/ssh_config: -------------------------------------------------------------------------------- 1 | Host github.com 2 | Hostname github.com 3 | User git 4 | IdentityFile /home/gitsync/.ssh/id_rsa 5 | IdentitiesOnly yes 6 | -------------------------------------------------------------------------------- /metrics/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: go 2 | env: flex 3 | 4 | beta_settings: 5 | cloud_sql_instances: bazel-untrusted:europe-west1:metrics 6 | 7 | automatic_scaling: 8 | min_num_instances: 1 9 | max_num_instances: 1 10 | 11 | handlers: 12 | - url: /.* 13 | script: _go_app 14 | -------------------------------------------------------------------------------- /metrics/metrics/metrics.go: -------------------------------------------------------------------------------- 1 | package metrics 2 | 3 | import ( 4 | "github.com/bazelbuild/continuous-integration/metrics/data" 5 | ) 6 | 7 | type Column struct { 8 | Name string 9 | IsKey bool 10 | } 11 | 12 | type Metric interface { 13 | Name() string 14 | Columns() []Column 15 | Collect() (data.DataSet, error) 16 | } 17 | 18 | type MetricType int 19 | 20 | const ( 21 | TimeBasedMetric MetricType = iota 22 | BuildBasedMetric 23 | ) 24 | 25 | type GarbageCollectedMetric interface { 26 | Metric 27 | Type() MetricType 28 | RelevantDelta() int 29 | } 30 | 31 | func GetColumnNames(columns []Column) []string { 32 | names := make([]string, len(columns)) 33 | for i, c := range columns { 34 | names[i] = c.Name 35 | } 36 | return names 37 | } 38 | -------------------------------------------------------------------------------- /metrics/publishers/publishers.go: -------------------------------------------------------------------------------- 1 | package publishers 2 | 3 | import ( 4 | "github.com/bazelbuild/continuous-integration/metrics/data" 5 | "github.com/bazelbuild/continuous-integration/metrics/metrics" 6 | ) 7 | 8 | type Publisher interface { 9 | Name() string 10 | RegisterMetric(metric metrics.Metric) error 11 | Publish(metric metrics.Metric, newData data.DataSet) error 12 | } 13 | -------------------------------------------------------------------------------- /pipegen/README.md: -------------------------------------------------------------------------------- 1 | go get gopkg.in/yaml.v2 2 | go get github.com/buildkite/go-buildkite/buildkite 3 | go get github.com/machinebox/graphql 4 | -------------------------------------------------------------------------------- /pipegen/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | GOOS=linux GOARCH=amd64 go build -o releases/export-linux-amd64 export/main.go 6 | GOOS=darwin GOARCH=amd64 go build -o releases/export-darwin-amd64 export/main.go 7 | GOOS=windows GOARCH=amd64 go build -o releases/export-windows-amd64.exe export/main.go 8 | -------------------------------------------------------------------------------- /pipegen/update/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | func main() { 8 | // TODO(fweikert): implement 9 | fmt.Printf("Not yet implemented.") 10 | } 11 | -------------------------------------------------------------------------------- /pipelines/abseil-cpp.yml: -------------------------------------------------------------------------------- 1 | --- 2 | tasks: 3 | ubuntu1804: 4 | build_targets: 5 | - "//absl/..." 6 | test_flags: 7 | - "--test_tag_filters=-benchmark" 8 | test_targets: 9 | - "--" 10 | - "//absl/..." 11 | macos: 12 | build_targets: 13 | - "//absl/..." 14 | test_flags: 15 | - "--test_tag_filters=-benchmark" 16 | test_targets: 17 | - "--" 18 | - "//absl/..." 19 | windows: 20 | build_targets: 21 | - "//absl/..." 22 | test_flags: 23 | - "--test_tag_filters=-benchmark" 24 | test_targets: 25 | - "--" 26 | - "//absl/..." 27 | - "-//absl/time/internal/cctz:time_zone_format_test" 28 | - "-//absl/time/internal/cctz:time_zone_lookup_test" 29 | -------------------------------------------------------------------------------- /pipelines/abseil-py.yml: -------------------------------------------------------------------------------- 1 | --- 2 | tasks: 3 | ubuntu1804: 4 | build_targets: 5 | - "//absl/..." 6 | test_targets: 7 | - "//absl/..." 8 | macos: 9 | build_targets: 10 | - "//absl/..." 11 | test_targets: 12 | - "//absl/..." 13 | windows: 14 | build_targets: 15 | - "//absl/..." 16 | test_targets: 17 | - "//absl/..." 18 | -------------------------------------------------------------------------------- /pipelines/flogger.yml: -------------------------------------------------------------------------------- 1 | --- 2 | platforms: 3 | ubuntu2004: 4 | build_targets: 5 | - "//..." 6 | test_targets: 7 | - "//..." 8 | -------------------------------------------------------------------------------- /pipelines/re2.yml: -------------------------------------------------------------------------------- 1 | --- 2 | matrix: 3 | platform: 4 | - ubuntu2004 5 | - macos 6 | - windows 7 | tasks: 8 | build_and_test: 9 | platform: ${{ platform }} 10 | build_targets: 11 | - "//:all" 12 | test_targets: 13 | - "//:all" 14 | - "-//:dfa_test" 15 | - "-//:exhaustive1_test" 16 | - "-//:exhaustive2_test" 17 | - "-//:exhaustive3_test" 18 | - "-//:exhaustive_test" 19 | - "-//:random_test" 20 | -------------------------------------------------------------------------------- /pipelines/subpar.yml: -------------------------------------------------------------------------------- 1 | --- 2 | platforms: 3 | ubuntu2004: 4 | build_targets: 5 | - "//..." 6 | test_targets: 7 | - "//..." 8 | -------------------------------------------------------------------------------- /pipelines/update-bazel-postsubmit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Download the latest postsubmit.yml from the Bazel repository and apply the patch to add `bazel mod deps --lockfile_mode=update` in setup phase. 4 | curl -o bazel-postsubmit.yml https://raw.githubusercontent.com/bazelbuild/bazel/master/.bazelci/postsubmit.yml 5 | patch < bazel-postsubmit.patch 6 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 100 3 | py36 = true 4 | -------------------------------------------------------------------------------- /rbe-configs/.gitignore: -------------------------------------------------------------------------------- 1 | generated/ 2 | -------------------------------------------------------------------------------- /rbe-configs/cpp_env/ubuntu1604.json: -------------------------------------------------------------------------------- 1 | { 2 | "ABI_LIBC_VERSION": "glibc_2.19", 3 | "ABI_VERSION": "gcc", 4 | "BAZEL_COMPILER": "gcc", 5 | "BAZEL_HOST_SYSTEM": "i686-unknown-linux-gnu", 6 | "BAZEL_TARGET_CPU": "k8", 7 | "BAZEL_TARGET_LIBC": "glibc_2.19", 8 | "BAZEL_TARGET_SYSTEM": "x86_64-unknown-linux-gnu", 9 | "CC": "gcc", 10 | "CC_TOOLCHAIN_NAME": "linux_gnu_x86" 11 | } 12 | -------------------------------------------------------------------------------- /rbe-configs/cpp_env/ubuntu1804.json: -------------------------------------------------------------------------------- 1 | { 2 | "ABI_LIBC_VERSION": "glibc_2.19", 3 | "ABI_VERSION": "gcc", 4 | "BAZEL_COMPILER": "gcc", 5 | "BAZEL_HOST_SYSTEM": "i686-unknown-linux-gnu", 6 | "BAZEL_TARGET_CPU": "k8", 7 | "BAZEL_TARGET_LIBC": "glibc_2.19", 8 | "BAZEL_TARGET_SYSTEM": "x86_64-unknown-linux-gnu", 9 | "CC": "gcc", 10 | "CC_TOOLCHAIN_NAME": "linux_gnu_x86" 11 | } 12 | -------------------------------------------------------------------------------- /rbe-configs/cpp_env/ubuntu2004.json: -------------------------------------------------------------------------------- 1 | { 2 | "ABI_LIBC_VERSION": "glibc_2.19", 3 | "ABI_VERSION": "gcc", 4 | "BAZEL_COMPILER": "gcc", 5 | "BAZEL_HOST_SYSTEM": "i686-unknown-linux-gnu", 6 | "BAZEL_TARGET_CPU": "k8", 7 | "BAZEL_TARGET_LIBC": "glibc_2.19", 8 | "BAZEL_TARGET_SYSTEM": "x86_64-unknown-linux-gnu", 9 | "CC": "gcc", 10 | "CC_TOOLCHAIN_NAME": "linux_gnu_x86" 11 | } 12 | -------------------------------------------------------------------------------- /rules/.bazelrc: -------------------------------------------------------------------------------- 1 | common --enable_bzlmod 2 | -------------------------------------------------------------------------------- /rules/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/rules/BUILD -------------------------------------------------------------------------------- /rules/MODULE.bazel: -------------------------------------------------------------------------------- 1 | module(name = "bazel_ci_rules", version = "") 2 | -------------------------------------------------------------------------------- /rules/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = 'bazel_ci_rules') 2 | -------------------------------------------------------------------------------- /rules/WORKSPACE.bzlmod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bazelbuild/continuous-integration/cb43b3ae68098c22fdb31fb3beb7c4cd48a54cad/rules/WORKSPACE.bzlmod -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [pycodestyle] 2 | ignore = E203, E501, W503 -------------------------------------------------------------------------------- /slack-bazel-build/README.md: -------------------------------------------------------------------------------- 1 | This is the container that runs on https://slack.bazel.build/. 2 | 3 | To update the invite link, simply push a new commit to the `master` branch. The Cloud Run service monitors this GitHub repo and will update the serving image accordingly. 4 | -------------------------------------------------------------------------------- /slack-bazel-build/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nginx:alpine AS bazel-slack-inviter-slackin 2 | 3 | ADD nginx.conf /etc/nginx/nginx.conf 4 | 5 | ADD run.sh /run.sh 6 | RUN chmod +x /run.sh 7 | 8 | CMD ["/run.sh"] 9 | -------------------------------------------------------------------------------- /slack-bazel-build/docker/nginx.conf: -------------------------------------------------------------------------------- 1 | user nginx; 2 | worker_processes 1; 3 | 4 | error_log stderr warn; 5 | pid /var/run/nginx.pid; 6 | 7 | events { 8 | worker_connections 1024; 9 | multi_accept on; 10 | } 11 | 12 | http { 13 | include /etc/nginx/mime.types; 14 | default_type application/octet-stream; 15 | access_log off; 16 | 17 | server { 18 | listen ${PORT}; 19 | server_name slack.bazel.build; 20 | 21 | return 301 https://join.slack.com/t/bazelbuild/shared_invite/zt-364or18jk-7whaXBiCdZVhC7v2FCq3xw; 22 | 23 | error_page 500 502 503 504 /50x.html; 24 | location = /50x.html { 25 | root /usr/share/nginx/html; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /slack-bazel-build/docker/run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | sed -i "s|\${PORT}|${PORT}|" /etc/nginx/nginx.conf 4 | exec nginx -g 'daemon off;' 5 | --------------------------------------------------------------------------------