├── .github ├── actions │ ├── docker-ping-url │ │ ├── .dockerignore │ │ ├── requirements.txt │ │ ├── Dockerfile │ │ └── action.yaml │ ├── js-dependency-update │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ └── uuid │ │ │ ├── tunnel │ │ │ │ ├── index.js │ │ │ │ ├── .travis.yml │ │ │ │ ├── .idea │ │ │ │ │ ├── encodings.xml │ │ │ │ │ ├── vcs.xml │ │ │ │ │ ├── modules.xml │ │ │ │ │ └── node-tunnel.iml │ │ │ │ ├── CHANGELOG.md │ │ │ │ └── package.json │ │ │ ├── @octokit │ │ │ │ ├── plugin-rest-endpoint-methods │ │ │ │ │ ├── dist-src │ │ │ │ │ │ ├── generated │ │ │ │ │ │ │ ├── method-types.js │ │ │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ └── index.js │ │ │ │ │ └── dist-types │ │ │ │ │ │ ├── version.d.ts │ │ │ │ │ │ ├── generated │ │ │ │ │ │ └── endpoints.d.ts │ │ │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── types.d.ts │ │ │ │ ├── core │ │ │ │ │ ├── dist-types │ │ │ │ │ │ └── version.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ └── version.js │ │ │ │ ├── types │ │ │ │ │ └── dist-types │ │ │ │ │ │ ├── VERSION.d.ts │ │ │ │ │ │ ├── Fetch.d.ts │ │ │ │ │ │ ├── Url.d.ts │ │ │ │ │ │ ├── Signal.d.ts │ │ │ │ │ │ ├── RequestMethod.d.ts │ │ │ │ │ │ ├── Route.d.ts │ │ │ │ │ │ ├── EndpointOptions.d.ts │ │ │ │ │ │ ├── StrategyInterface.d.ts │ │ │ │ │ │ ├── RequestError.d.ts │ │ │ │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ │ │ │ ├── RequestOptions.d.ts │ │ │ │ │ │ ├── OctokitResponse.d.ts │ │ │ │ │ │ ├── RequestHeaders.d.ts │ │ │ │ │ │ ├── ResponseHeaders.d.ts │ │ │ │ │ │ ├── EndpointDefaults.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── RequestRequestOptions.d.ts │ │ │ │ ├── endpoint │ │ │ │ │ ├── dist-types │ │ │ │ │ │ ├── version.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── util │ │ │ │ │ │ │ ├── merge-deep.d.ts │ │ │ │ │ │ │ ├── is-plain-object.d.ts │ │ │ │ │ │ │ ├── remove-undefined-properties.d.ts │ │ │ │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ │ │ │ ├── url-template.d.ts │ │ │ │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ │ │ └── add-query-parameters.d.ts │ │ │ │ │ │ ├── defaults.d.ts │ │ │ │ │ │ ├── parse.d.ts │ │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ │ ├── with-defaults.d.ts │ │ │ │ │ │ └── endpoint-with-defaults.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── util │ │ │ │ │ │ ├── remove-undefined-properties.js │ │ │ │ │ │ ├── lowercase-keys.js │ │ │ │ │ │ ├── omit.js │ │ │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ │ │ ├── add-query-parameters.js │ │ │ │ │ │ ├── merge-deep.js │ │ │ │ │ │ └── is-plain-object.js │ │ │ │ │ │ ├── endpoint-with-defaults.js │ │ │ │ │ │ ├── defaults.js │ │ │ │ │ │ └── with-defaults.js │ │ │ │ ├── graphql │ │ │ │ │ ├── dist-types │ │ │ │ │ │ ├── version.d.ts │ │ │ │ │ │ ├── with-defaults.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── graphql.d.ts │ │ │ │ │ │ └── error.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── with-defaults.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── error.js │ │ │ │ ├── request │ │ │ │ │ ├── dist-types │ │ │ │ │ │ ├── version.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── is-plain-object.d.ts │ │ │ │ │ │ ├── get-buffer-response.d.ts │ │ │ │ │ │ ├── with-defaults.d.ts │ │ │ │ │ │ └── fetch-wrapper.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── get-buffer-response.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── is-plain-object.js │ │ │ │ ├── plugin-paginate-rest │ │ │ │ │ ├── dist-types │ │ │ │ │ │ ├── version.d.ts │ │ │ │ │ │ ├── compose-paginate.d.ts │ │ │ │ │ │ ├── paginating-endpoints.d.ts │ │ │ │ │ │ ├── paginate.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── iterator.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── compose-paginate.js │ │ │ │ │ │ ├── paginating-endpoints.js │ │ │ │ │ │ └── index.js │ │ │ │ ├── auth-token │ │ │ │ │ ├── dist-types │ │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ │ ├── with-authorization-prefix.d.ts │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ └── hook.d.ts │ │ │ │ │ └── dist-src │ │ │ │ │ │ ├── with-authorization-prefix.js │ │ │ │ │ │ ├── hook.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── auth.js │ │ │ │ ├── request-error │ │ │ │ │ └── dist-types │ │ │ │ │ │ └── types.d.ts │ │ │ │ └── openapi-types │ │ │ │ │ ├── README.md │ │ │ │ │ └── package.json │ │ │ ├── uuid │ │ │ │ ├── dist │ │ │ │ │ ├── bin │ │ │ │ │ │ └── uuid │ │ │ │ │ ├── esm-browser │ │ │ │ │ │ ├── nil.js │ │ │ │ │ │ ├── v3.js │ │ │ │ │ │ ├── v5.js │ │ │ │ │ │ ├── regex.js │ │ │ │ │ │ ├── validate.js │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── v4.js │ │ │ │ │ ├── esm-node │ │ │ │ │ │ ├── nil.js │ │ │ │ │ │ ├── v3.js │ │ │ │ │ │ ├── v5.js │ │ │ │ │ │ ├── regex.js │ │ │ │ │ │ ├── validate.js │ │ │ │ │ │ ├── version.js │ │ │ │ │ │ ├── md5.js │ │ │ │ │ │ ├── sha1.js │ │ │ │ │ │ ├── rng.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── v4.js │ │ │ │ │ ├── nil.js │ │ │ │ │ ├── umd │ │ │ │ │ │ ├── uuidNIL.min.js │ │ │ │ │ │ ├── uuidValidate.min.js │ │ │ │ │ │ ├── uuidVersion.min.js │ │ │ │ │ │ ├── uuidStringify.min.js │ │ │ │ │ │ └── uuidParse.min.js │ │ │ │ │ ├── regex.js │ │ │ │ │ ├── v3.js │ │ │ │ │ ├── v5.js │ │ │ │ │ ├── validate.js │ │ │ │ │ ├── version.js │ │ │ │ │ ├── md5.js │ │ │ │ │ ├── rng.js │ │ │ │ │ └── sha1.js │ │ │ │ ├── wrapper.mjs │ │ │ │ └── CONTRIBUTING.md │ │ │ ├── universal-user-agent │ │ │ │ ├── dist-types │ │ │ │ │ └── index.d.ts │ │ │ │ ├── dist-src │ │ │ │ │ └── index.js │ │ │ │ ├── dist-web │ │ │ │ │ ├── index.js │ │ │ │ │ └── index.js.map │ │ │ │ ├── dist-node │ │ │ │ │ └── index.js │ │ │ │ └── LICENSE.md │ │ │ ├── deprecation │ │ │ │ ├── dist-types │ │ │ │ │ └── index.d.ts │ │ │ │ ├── dist-src │ │ │ │ │ └── index.js │ │ │ │ ├── dist-web │ │ │ │ │ └── index.js │ │ │ │ ├── dist-node │ │ │ │ │ └── index.js │ │ │ │ └── LICENSE │ │ │ ├── undici │ │ │ │ ├── index.d.ts │ │ │ │ ├── lib │ │ │ │ │ ├── cache │ │ │ │ │ │ └── symbols.js │ │ │ │ │ ├── llhttp │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ ├── llhttp.wasm │ │ │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ │ │ ├── utils.js.map │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ └── wasm_build_env.txt │ │ │ │ │ ├── fetch │ │ │ │ │ │ └── symbols.js │ │ │ │ │ ├── api │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── cookies │ │ │ │ │ │ └── constants.js │ │ │ │ │ ├── fileapi │ │ │ │ │ │ └── symbols.js │ │ │ │ │ ├── dispatcher.js │ │ │ │ │ ├── websocket │ │ │ │ │ │ └── symbols.js │ │ │ │ │ ├── mock │ │ │ │ │ │ ├── mock-errors.js │ │ │ │ │ │ ├── pluralizer.js │ │ │ │ │ │ └── mock-symbols.js │ │ │ │ │ ├── pool-stats.js │ │ │ │ │ ├── interceptor │ │ │ │ │ │ └── redirectInterceptor.js │ │ │ │ │ └── handler │ │ │ │ │ │ └── DecoratorHandler.js │ │ │ │ ├── types │ │ │ │ │ ├── header.d.ts │ │ │ │ │ ├── global-origin.d.ts │ │ │ │ │ ├── interceptors.d.ts │ │ │ │ │ ├── global-dispatcher.d.ts │ │ │ │ │ ├── mock-errors.d.ts │ │ │ │ │ ├── handlers.d.ts │ │ │ │ │ ├── README.md │ │ │ │ │ ├── content-type.d.ts │ │ │ │ │ ├── balanced-pool.d.ts │ │ │ │ │ ├── pool-stats.d.ts │ │ │ │ │ └── cookies.d.ts │ │ │ │ ├── docs │ │ │ │ │ ├── assets │ │ │ │ │ │ └── lifecycle-diagram.png │ │ │ │ │ ├── api │ │ │ │ │ │ └── MockErrors.md │ │ │ │ │ └── best-practices │ │ │ │ │ │ └── writing-tests.md │ │ │ │ └── index-fetch.js │ │ │ ├── @actions │ │ │ │ ├── exec │ │ │ │ │ └── lib │ │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ │ └── interfaces.js │ │ │ │ ├── http-client │ │ │ │ │ └── lib │ │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ │ ├── interfaces.js │ │ │ │ │ │ └── proxy.d.ts │ │ │ │ ├── github │ │ │ │ │ └── lib │ │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ │ ├── interfaces.js │ │ │ │ │ │ ├── github.js.map │ │ │ │ │ │ ├── github.d.ts │ │ │ │ │ │ ├── internal │ │ │ │ │ │ └── utils.d.ts │ │ │ │ │ │ ├── context.d.ts │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ └── utils.js.map │ │ │ │ └── core │ │ │ │ │ └── lib │ │ │ │ │ ├── file-command.d.ts │ │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ │ ├── command.d.ts │ │ │ │ │ ├── path-utils.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js.map │ │ │ │ │ └── path-utils.d.ts │ │ │ ├── @fastify │ │ │ │ └── busboy │ │ │ │ │ ├── deps │ │ │ │ │ └── dicer │ │ │ │ │ │ └── lib │ │ │ │ │ │ └── PartStream.js │ │ │ │ │ └── lib │ │ │ │ │ └── utils │ │ │ │ │ ├── getLimit.js │ │ │ │ │ └── basename.js │ │ │ ├── before-after-hook │ │ │ │ └── lib │ │ │ │ │ ├── remove.js │ │ │ │ │ └── register.js │ │ │ ├── once │ │ │ │ ├── package.json │ │ │ │ └── LICENSE │ │ │ └── wrappy │ │ │ │ ├── package.json │ │ │ │ ├── LICENSE │ │ │ │ └── README.md │ │ └── package.json │ └── security-safe-input │ │ ├── node_modules │ │ ├── .bin │ │ │ └── uuid │ │ ├── tunnel │ │ │ ├── index.js │ │ │ ├── .travis.yml │ │ │ ├── .idea │ │ │ │ ├── encodings.xml │ │ │ │ ├── vcs.xml │ │ │ │ ├── modules.xml │ │ │ │ └── node-tunnel.iml │ │ │ ├── CHANGELOG.md │ │ │ └── package.json │ │ ├── uuid │ │ │ ├── dist │ │ │ │ ├── bin │ │ │ │ │ └── uuid │ │ │ │ ├── esm-node │ │ │ │ │ ├── nil.js │ │ │ │ │ ├── v3.js │ │ │ │ │ ├── v5.js │ │ │ │ │ ├── regex.js │ │ │ │ │ ├── validate.js │ │ │ │ │ ├── version.js │ │ │ │ │ ├── md5.js │ │ │ │ │ ├── sha1.js │ │ │ │ │ ├── rng.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── v4.js │ │ │ │ ├── esm-browser │ │ │ │ │ ├── nil.js │ │ │ │ │ ├── v3.js │ │ │ │ │ ├── v5.js │ │ │ │ │ ├── regex.js │ │ │ │ │ ├── validate.js │ │ │ │ │ ├── version.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── v4.js │ │ │ │ ├── nil.js │ │ │ │ ├── umd │ │ │ │ │ ├── uuidNIL.min.js │ │ │ │ │ ├── uuidValidate.min.js │ │ │ │ │ ├── uuidVersion.min.js │ │ │ │ │ ├── uuidStringify.min.js │ │ │ │ │ └── uuidParse.min.js │ │ │ │ ├── regex.js │ │ │ │ ├── v3.js │ │ │ │ ├── v5.js │ │ │ │ ├── validate.js │ │ │ │ ├── version.js │ │ │ │ ├── md5.js │ │ │ │ ├── rng.js │ │ │ │ └── sha1.js │ │ │ ├── wrapper.mjs │ │ │ └── CONTRIBUTING.md │ │ ├── undici │ │ │ ├── index.d.ts │ │ │ ├── lib │ │ │ │ ├── cache │ │ │ │ │ └── symbols.js │ │ │ │ ├── llhttp │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── llhttp.wasm │ │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ │ ├── utils.js.map │ │ │ │ │ ├── utils.js │ │ │ │ │ └── wasm_build_env.txt │ │ │ │ ├── fetch │ │ │ │ │ └── symbols.js │ │ │ │ ├── api │ │ │ │ │ └── index.js │ │ │ │ ├── cookies │ │ │ │ │ └── constants.js │ │ │ │ ├── fileapi │ │ │ │ │ └── symbols.js │ │ │ │ ├── dispatcher.js │ │ │ │ ├── websocket │ │ │ │ │ └── symbols.js │ │ │ │ ├── mock │ │ │ │ │ ├── mock-errors.js │ │ │ │ │ ├── pluralizer.js │ │ │ │ │ └── mock-symbols.js │ │ │ │ ├── pool-stats.js │ │ │ │ ├── interceptor │ │ │ │ │ └── redirectInterceptor.js │ │ │ │ └── handler │ │ │ │ │ └── DecoratorHandler.js │ │ │ ├── types │ │ │ │ ├── header.d.ts │ │ │ │ ├── global-origin.d.ts │ │ │ │ ├── interceptors.d.ts │ │ │ │ ├── global-dispatcher.d.ts │ │ │ │ ├── mock-errors.d.ts │ │ │ │ ├── handlers.d.ts │ │ │ │ ├── README.md │ │ │ │ ├── content-type.d.ts │ │ │ │ ├── balanced-pool.d.ts │ │ │ │ ├── pool-stats.d.ts │ │ │ │ └── cookies.d.ts │ │ │ ├── docs │ │ │ │ ├── assets │ │ │ │ │ └── lifecycle-diagram.png │ │ │ │ ├── api │ │ │ │ │ └── MockErrors.md │ │ │ │ └── best-practices │ │ │ │ │ └── writing-tests.md │ │ │ └── index-fetch.js │ │ ├── @actions │ │ │ ├── http-client │ │ │ │ └── lib │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── interfaces.js │ │ │ │ │ └── proxy.d.ts │ │ │ └── core │ │ │ │ └── lib │ │ │ │ ├── file-command.d.ts │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ ├── command.d.ts │ │ │ │ ├── path-utils.js.map │ │ │ │ ├── utils.d.ts │ │ │ │ ├── utils.js.map │ │ │ │ └── path-utils.d.ts │ │ └── @fastify │ │ │ └── busboy │ │ │ ├── deps │ │ │ └── dicer │ │ │ │ └── lib │ │ │ │ └── PartStream.js │ │ │ └── lib │ │ │ └── utils │ │ │ ├── getLimit.js │ │ │ └── basename.js │ │ ├── action.yaml │ │ ├── package.json │ │ └── index.js └── workflows │ ├── 02-workflow-events.yaml │ ├── 05-2-filters-activity-types.yaml │ ├── 05-1-filters-activity-types.yaml │ ├── 01-building-blocks.yaml │ ├── 18-3-reusable-workflows.yaml │ ├── 18-2-reusable-workflows.yaml │ ├── 04-using-actions.yaml │ ├── 19-1-concurrency.yaml │ └── 03-workflow-runners.yaml ├── .gitignore ├── 13-caching └── react-app │ ├── src │ ├── react-app-env.d.ts │ ├── setupTests.ts │ ├── App.test.tsx │ ├── index.css │ ├── reportWebVitals.ts │ ├── index.tsx │ ├── App.tsx │ └── App.css │ ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ └── manifest.json │ ├── .gitignore │ └── tsconfig.json ├── 04-using-actions └── react-app │ ├── src │ ├── react-app-env.d.ts │ ├── setupTests.ts │ ├── App.test.tsx │ ├── index.css │ ├── reportWebVitals.ts │ ├── index.tsx │ ├── App.tsx │ └── App.css │ ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ └── manifest.json │ ├── .gitignore │ └── tsconfig.json ├── 14-artifacts └── react-app │ ├── src │ ├── react-app-env.d.ts │ ├── setupTests.ts │ ├── App.test.tsx │ ├── index.css │ ├── reportWebVitals.ts │ ├── index.tsx │ ├── App.tsx │ └── App.css │ ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ └── manifest.json │ ├── .gitignore │ └── tsconfig.json ├── 17-custom-actions └── react-app │ ├── src │ ├── react-app-env.d.ts │ ├── setupTests.ts │ ├── App.test.tsx │ ├── index.css │ ├── reportWebVitals.ts │ ├── index.tsx │ ├── App.tsx │ └── App.css │ ├── public │ ├── robots.txt │ ├── favicon.ico │ ├── logo192.png │ ├── logo512.png │ └── manifest.json │ ├── .gitignore │ └── tsconfig.json └── 11-inputs └── README.md /.github/actions/docker-ping-url/.dockerignore: -------------------------------------------------------------------------------- 1 | venv -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | !.github/actions/**/node_modules 3 | venv/ -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/dist/bin/uuid -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/dist/bin/uuid -------------------------------------------------------------------------------- /13-caching/react-app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /13-caching/react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/uuid/dist/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../uuid-bin'); 3 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/uuid/dist/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../uuid-bin'); 3 | -------------------------------------------------------------------------------- /04-using-actions/react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /14-artifacts/react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/uuid/dist/esm-node/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /17-custom-actions/react-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.0.2"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "12.3.0"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/uuid/dist/esm-browser/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/uuid/dist/esm-node/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/uuid/dist/esm-browser/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.0.4"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "7.0.2"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "8.1.6"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "5.0.2"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.1.4"; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /13-caching/react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/13-caching/react-app/public/favicon.ico -------------------------------------------------------------------------------- /13-caching/react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/13-caching/react-app/public/logo192.png -------------------------------------------------------------------------------- /13-caching/react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/13-caching/react-app/public/logo512.png -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.0.4"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "7.0.2"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "8.1.6"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /14-artifacts/react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/14-artifacts/react-app/public/favicon.ico -------------------------------------------------------------------------------- /14-artifacts/react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/14-artifacts/react-app/public/logo192.png -------------------------------------------------------------------------------- /14-artifacts/react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/14-artifacts/react-app/public/logo512.png -------------------------------------------------------------------------------- /.github/actions/docker-ping-url/requirements.txt: -------------------------------------------------------------------------------- 1 | certifi==2023.11.17 2 | charset-normalizer==3.3.2 3 | idna==3.6 4 | requests==2.31.0 5 | urllib3==2.1.0 6 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "10.2.0"; 2 | -------------------------------------------------------------------------------- /04-using-actions/react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/04-using-actions/react-app/public/favicon.ico -------------------------------------------------------------------------------- /04-using-actions/react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/04-using-actions/react-app/public/logo192.png -------------------------------------------------------------------------------- /04-using-actions/react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/04-using-actions/react-app/public/logo512.png -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.1.4"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/17-custom-actions/react-app/public/favicon.ico -------------------------------------------------------------------------------- /17-custom-actions/react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/17-custom-actions/react-app/public/logo192.png -------------------------------------------------------------------------------- /17-custom-actions/react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/17-custom-actions/react-app/public/logo512.png -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "10.2.0"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: Symbol('constructable') 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/request/dist-types/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isPlainObject(value: unknown): value is Object; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/util/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isPlainObject(value: unknown): value is Object; 2 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: require('../core/symbols').kConstruct 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts: -------------------------------------------------------------------------------- 1 | export declare function removeUndefinedProperties(obj: any): any; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response: Response): Promise; 2 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/exec/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/exec/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/js-dependency-update/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/security-safe-input/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/js-dependency-update/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/security-safe-input/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts: -------------------------------------------------------------------------------- 1 | import type { ComposePaginateInterface } from "./types"; 2 | export declare const composePaginateRest: ComposePaginateInterface; 3 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/js-dependency-update/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lm-academy/github-actions-course/HEAD/.github/actions/security-safe-input/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/docker-ping-url/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:alpine3.19 2 | 3 | WORKDIR /app 4 | 5 | COPY requirements.txt . 6 | 7 | RUN python -V 8 | RUN pip install --no-cache-dir -r requirements.txt 9 | 10 | COPY . . 11 | 12 | CMD [ "python", "/app/main.py" ] -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/action.yaml: -------------------------------------------------------------------------------- 1 | name: Safe Title Check 2 | description: Safely checks the title of a PR. 3 | 4 | inputs: 5 | pr-title: 6 | description: The PR title 7 | required: true 8 | 9 | runs: 10 | using: node20 11 | main: index.js -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /13-caching/react-app/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js: -------------------------------------------------------------------------------- 1 | import { paginate } from "./paginate"; 2 | import { iterator } from "./iterator"; 3 | const composePaginateRest = Object.assign(paginate, { 4 | iterator 5 | }); 6 | export { 7 | composePaginateRest 8 | }; 9 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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"})); -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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"})); -------------------------------------------------------------------------------- /13-caching/react-app/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /04-using-actions/react-app/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { render, screen } from '@testing-library/react'; 3 | import App from './App'; 4 | 5 | test('renders learn react link', () => { 6 | render(); 7 | const linkElement = screen.getByText(/learn react/i); 8 | expect(linkElement).toBeInTheDocument(); 9 | }); 10 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { type PaginatingEndpoints } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; 4 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "security-safe-input", 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.10.1" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/workflows/02-workflow-events.yaml: -------------------------------------------------------------------------------- 1 | # See 02-workflow-events/README.md for more information 2 | # about different triggers for GitHub Actions. 3 | 4 | name: 02 - Workflow Events 5 | 6 | on: 7 | workflow_dispatch: 8 | 9 | jobs: 10 | echo: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Show the trigger 14 | run: echo "I've been triggered by a(n) ${{ github.event_name }} event." 15 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/index.js: -------------------------------------------------------------------------------- 1 | const core = require('@actions/core'); 2 | 3 | async function run() { 4 | try { 5 | const prTitle = core.getInput('pr-title'); 6 | if (prTitle.startsWith('feat')) { 7 | core.info('PR is a feature'); 8 | } else { 9 | core.setFailed('PR is not a feature'); 10 | } 11 | } catch (e) { 12 | core.setFailed(e.message); 13 | } 14 | } 15 | 16 | run(); 17 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | } -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | } -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | } -------------------------------------------------------------------------------- /13-caching/react-app/.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 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /04-using-actions/react-app/.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 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /14-artifacts/react-app/.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 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /13-caching/react-app/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/.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 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}` 8 | } 9 | }); 10 | export { 11 | request 12 | }; 13 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "js-dependency-update", 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.10.1", 14 | "@actions/exec": "1.1.1", 15 | "@actions/github": "6.0.0" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.github/workflows/05-2-filters-activity-types.yaml: -------------------------------------------------------------------------------- 1 | # See 05-filters-activity-types/README.md for more information 2 | # about filtering and specifying activity types for events. 3 | 4 | name: 05 - 2 - Event Filters and Activity Types 5 | 6 | on: 7 | pull_request: 8 | types: 9 | - closed 10 | branches: 11 | - main 12 | 13 | jobs: 14 | echo: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - run: echo "Running whenever a PR is closed" 18 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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)}})); -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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)}})); -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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'; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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'; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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'; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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'; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 -------------------------------------------------------------------------------- /13-caching/react-app/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/workflows/05-1-filters-activity-types.yaml: -------------------------------------------------------------------------------- 1 | # See 05-filters-activity-types/README.md for more information 2 | # about filtering and specifying activity types for events. 3 | 4 | name: 05 - 1 - Event Filters and Activity Types 5 | 6 | on: 7 | pull_request: 8 | types: 9 | - opened 10 | - synchronize 11 | branches: 12 | - main 13 | 14 | jobs: 15 | echo: 16 | runs-on: ubuntu-latest 17 | steps: 18 | - run: echo "Running whenever a PR is opened or synchronized AND base branch is main" 19 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/reportWebVitals.ts: -------------------------------------------------------------------------------- 1 | import { ReportHandler } from 'web-vitals'; 2 | 3 | const reportWebVitals = (onPerfEntry?: ReportHandler) => { 4 | if (onPerfEntry && onPerfEntry instanceof Function) { 5 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 6 | getCLS(onPerfEntry); 7 | getFID(onPerfEntry); 8 | getFCP(onPerfEntry); 9 | getLCP(onPerfEntry); 10 | getTTFB(onPerfEntry); 11 | }); 12 | } 13 | }; 14 | 15 | export default reportWebVitals; 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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)}})); -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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)}})); -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | import { 2 | paginatingEndpoints 3 | } from "./generated/paginating-endpoints"; 4 | import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints"; 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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/workflows/01-building-blocks.yaml: -------------------------------------------------------------------------------- 1 | # See 01-building-blocks/README.md for more information 2 | # about the building blocks of GitHub Actions 3 | 4 | name: 01 - Building Blocks 5 | 6 | on: workflow_dispatch 7 | 8 | jobs: 9 | echo-hello: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Say hello 13 | run: echo "Hello, world!" 14 | echo-goodbye: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: Successful step 18 | run: | 19 | echo "I will succeed" 20 | exit 0 21 | - name: Say goodbye 22 | run: echo "Goodbye!" 23 | -------------------------------------------------------------------------------- /.github/workflows/18-3-reusable-workflows.yaml: -------------------------------------------------------------------------------- 1 | # See 18-reusable-workflows/README.md for more information 2 | # about how to define reusable workflows and how to use 3 | # them. 4 | 5 | name: 18 - 3 - Reusable Workflows 6 | 7 | on: 8 | workflow_dispatch: 9 | 10 | jobs: 11 | deploy: 12 | uses: ./.github/workflows/18-1-reusable-workflows.yaml 13 | with: 14 | target-directory: dummmy-dir 15 | e2e-tests: 16 | uses: udemy-lauromueller/github-actions-course-example-e2e/.github/workflows/e2e.yaml@main 17 | needs: deploy 18 | secrets: 19 | access-token: ${{ secrets.GH_TOKEN }} 20 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /13-caching/react-app/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /14-artifacts/react-app/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /04-using-actions/react-app/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/docker-ping-url/action.yaml: -------------------------------------------------------------------------------- 1 | name: Ping URL 2 | description: Ping URL until maximum trials have exceeded. If result is not 200 until then, fails the action. 3 | 4 | inputs: 5 | url: 6 | description: URL to ping. 7 | required: true 8 | max_trials: 9 | description: Maximum number of trials until action fails. 10 | default: '10' 11 | required: false 12 | delay: 13 | description: Delay in seconds between trials. 14 | default: '5' 15 | required: false 16 | 17 | outputs: 18 | url-reachable: 19 | description: Whether the URL is reachable 20 | 21 | runs: 22 | using: docker 23 | image: Dockerfile 24 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /13-caching/react-app/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | const root = ReactDOM.createRoot( 8 | document.getElementById('root') as HTMLElement 9 | ); 10 | root.render( 11 | 12 | 13 | 14 | ); 15 | 16 | // If you want to start measuring performance in your app, pass a function 17 | // to log results (for example: reportWebVitals(console.log)) 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 19 | reportWebVitals(); 20 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | const root = ReactDOM.createRoot( 8 | document.getElementById('root') as HTMLElement 9 | ); 10 | root.render( 11 | 12 | 13 | 14 | ); 15 | 16 | // If you want to start measuring performance in your app, pass a function 17 | // to log results (for example: reportWebVitals(console.log)) 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 19 | reportWebVitals(); 20 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | const root = ReactDOM.createRoot( 8 | document.getElementById('root') as HTMLElement 9 | ); 10 | root.render( 11 | 12 | 13 | 14 | ); 15 | 16 | // If you want to start measuring performance in your app, pass a function 17 | // to log results (for example: reportWebVitals(console.log)) 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 19 | reportWebVitals(); 20 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | const root = ReactDOM.createRoot( 8 | document.getElementById('root') as HTMLElement 9 | ); 10 | root.render( 11 | 12 | 13 | 14 | ); 15 | 16 | // If you want to start measuring performance in your app, pass a function 17 | // to log results (for example: reportWebVitals(console.log)) 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 19 | reportWebVitals(); 20 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /13-caching/react-app/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 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /14-artifacts/react-app/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 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /.github/workflows/18-2-reusable-workflows.yaml: -------------------------------------------------------------------------------- 1 | # See 18-reusable-workflows/README.md for more information 2 | # about how to define reusable workflows and how to use 3 | # them. 4 | 5 | name: 18 - 2 - Reusable Workflows 6 | 7 | on: 8 | workflow_dispatch: 9 | 10 | jobs: 11 | deploy: 12 | uses: ./.github/workflows/18-1-reusable-workflows.yaml 13 | with: 14 | target-directory: dummmy-dir 15 | print-outputs: 16 | runs-on: ubuntu-latest 17 | needs: deploy 18 | steps: 19 | - name: Print outputs 20 | run: | 21 | echo "Build status: ${{ needs.deploy.outputs.build-status }}" 22 | echo "URL: ${{ needs.deploy.outputs.url }}" 23 | -------------------------------------------------------------------------------- /04-using-actions/react-app/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 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/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 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": true, 14 | "forceConsistentCasingInFileNames": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "module": "esnext", 17 | "moduleResolution": "node", 18 | "resolveJsonModule": true, 19 | "isolatedModules": true, 20 | "noEmit": true, 21 | "jsx": "react-jsx" 22 | }, 23 | "include": [ 24 | "src" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/workflows/04-using-actions.yaml: -------------------------------------------------------------------------------- 1 | # See 04-using-actions/README.md for more information 2 | # about using actions within workflows. 3 | 4 | name: 04 - Using Actions 5 | 6 | on: workflow_dispatch 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | defaults: 12 | run: 13 | working-directory: 04-using-actions/react-app 14 | steps: 15 | - name: Checkout Code 16 | uses: actions/checkout@v4 17 | - name: Setup Node 18 | uses: actions/setup-node@v4 19 | with: 20 | node-version: '20.x' 21 | - name: Install Dependencies 22 | run: npm ci 23 | - name: Run Unit Tests 24 | run: npm run test 25 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /13-caching/react-app/src/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import logo from './logo.svg'; 3 | import './App.css'; 4 | 5 | function App() { 6 | return ( 7 |
8 |
9 | logo 10 |

11 | Edit src/App.tsx and save to reload. 12 |

13 | 19 | Learn React 20 | 21 |
22 |
23 | ); 24 | } 25 | 26 | export default App; 27 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import logo from './logo.svg'; 3 | import './App.css'; 4 | 5 | function App() { 6 | return ( 7 |
8 |
9 | logo 10 |

11 | Edit src/App.tsx and save to reload. 12 |

13 | 19 | Learn React 20 | 21 |
22 |
23 | ); 24 | } 25 | 26 | export default App; 27 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/workflows/19-1-concurrency.yaml: -------------------------------------------------------------------------------- 1 | # See 19-concurrency/README.md for more information 2 | # about how to define concurrency groups and how 3 | # concurrency is managed on GitHub Actions. 4 | 5 | name: 19 - 1 - Managing Concurrency 6 | 7 | on: 8 | workflow_dispatch: 9 | 10 | concurrency: 11 | group: ${{ github.workflow }}-${{ github.ref }} 12 | 13 | jobs: 14 | ping: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - uses: actions/checkout@v4 18 | - name: Ping URL 19 | id: ping-url 20 | uses: ./.github/actions/docker-ping-url 21 | with: 22 | url: https://www.invalid-ubfadufhbaudhfua.com 23 | max_trials: 20 24 | delay: 5 25 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import logo from './logo.svg'; 3 | import './App.css'; 4 | 5 | function App() { 6 | return ( 7 |
8 |
9 | logo 10 |

11 | Edit src/App.tsx and save to reload. 12 |

13 | 19 | Learn React 20 | 21 |
22 |
23 | ); 24 | } 25 | 26 | export default App; 27 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import logo from './logo.svg'; 3 | import './App.css'; 4 | 5 | function App() { 6 | return ( 7 |
8 |
9 | logo 10 |

11 | Edit src/App.tsx and save to reload. 12 |

13 | 19 | Learn React 20 | 21 |
22 |
23 | ); 24 | } 25 | 26 | export default App; 27 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | } -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | } -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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; -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { PaginateInterface } from "./types"; 3 | export type { PaginateInterface, PaginatingEndpoints } from "./types"; 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 declare function paginateRest(octokit: Octokit): { 11 | paginate: PaginateInterface; 12 | }; 13 | export declare namespace paginateRest { 14 | var VERSION: string; 15 | } 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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-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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | import { composePaginateRest } from "./compose-paginate"; 5 | import { 6 | isPaginatingEndpoint, 7 | paginatingEndpoints 8 | } from "./paginating-endpoints"; 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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /13-caching/react-app/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /04-using-actions/react-app/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /14-artifacts/react-app/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/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 | -------------------------------------------------------------------------------- /17-custom-actions/react-app/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import type { ResponseHeaders } from "@octokit/types"; 2 | import type { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; 3 | 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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/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 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/wrappy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wrappy", 3 | "version": "1.0.2", 4 | "description": "Callback wrapping utility", 5 | "main": "wrappy.js", 6 | "files": [ 7 | "wrappy.js" 8 | ], 9 | "directories": { 10 | "test": "test" 11 | }, 12 | "dependencies": {}, 13 | "devDependencies": { 14 | "tap": "^2.3.1" 15 | }, 16 | "scripts": { 17 | "test": "tap --coverage test/*.js" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/npm/wrappy" 22 | }, 23 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 24 | "license": "ISC", 25 | "bugs": { 26 | "url": "https://github.com/npm/wrappy/issues" 27 | }, 28 | "homepage": "https://github.com/npm/wrappy" 29 | } 30 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/graphql/dist-src/error.js: -------------------------------------------------------------------------------- 1 | function _buildMessageForResponseErrors(data) { 2 | return `Request failed due to following response errors: 3 | ` + data.errors.map((e) => ` - ${e.message}`).join("\n"); 4 | } 5 | class GraphqlResponseError extends Error { 6 | constructor(request, headers, response) { 7 | super(_buildMessageForResponseErrors(response)); 8 | this.request = request; 9 | this.headers = headers; 10 | this.response = response; 11 | this.name = "GraphqlResponseError"; 12 | this.errors = response.errors; 13 | this.data = response.data; 14 | if (Error.captureStackTrace) { 15 | Error.captureStackTrace(this, this.constructor); 16 | } 17 | } 18 | } 19 | export { 20 | GraphqlResponseError 21 | }; 22 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestHeaders } from "./RequestHeaders"; 2 | import type { RequestMethod } from "./RequestMethod"; 3 | import type { RequestParameters } from "./RequestParameters"; 4 | import type { Url } from "./Url"; 5 | /** 6 | * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters 7 | * as well as the method property. 8 | */ 9 | export type EndpointDefaults = RequestParameters & { 10 | baseUrl: Url; 11 | method: RequestMethod; 12 | url?: Url; 13 | headers: RequestHeaders & { 14 | accept: string; 15 | "user-agent": string; 16 | }; 17 | mediaType: { 18 | format: string; 19 | previews?: string[]; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/before-after-hook/lib/register.js: -------------------------------------------------------------------------------- 1 | module.exports = register; 2 | 3 | function register(state, name, method, options) { 4 | if (typeof method !== "function") { 5 | throw new Error("method for before hook must be a function"); 6 | } 7 | 8 | if (!options) { 9 | options = {}; 10 | } 11 | 12 | if (Array.isArray(name)) { 13 | return name.reverse().reduce(function (callback, name) { 14 | return register.bind(null, state, name, callback, options); 15 | }, method)(); 16 | } 17 | 18 | return Promise.resolve().then(function () { 19 | if (!state.registry[name]) { 20 | return method(options); 21 | } 22 | 23 | return state.registry[name].reduce(function (method, registered) { 24 | return registered.hook.bind(null, method, options); 25 | }, method)(); 26 | }); 27 | } 28 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { RequestInterface, RequestParameters, Route } from "./types"; 3 | export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { 4 | [Symbol.asyncIterator]: () => { 5 | next(): Promise<{ 6 | done: boolean; 7 | value?: undefined; 8 | } | { 9 | value: import("@octokit/types/dist-types/OctokitResponse").OctokitResponse; 10 | done?: undefined; 11 | } | { 12 | value: { 13 | status: number; 14 | headers: {}; 15 | data: never[]; 16 | }; 17 | done?: undefined; 18 | }>; 19 | }; 20 | }; 21 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/types/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./AuthInterface"; 2 | export * from "./EndpointDefaults"; 3 | export * from "./EndpointInterface"; 4 | export * from "./EndpointOptions"; 5 | export * from "./Fetch"; 6 | export * from "./OctokitResponse"; 7 | export * from "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/deprecation/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Gregor Martynus and contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/wrappy/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/uuid/dist/umd/uuidStringify.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).uuidStringify=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;function t(t){return"string"==typeof t&&e.test(t)}for(var i=[],n=0;n<256;++n)i.push((n+256).toString(16).substr(1));return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]).toLowerCase();if(!t(f))throw TypeError("Stringified UUID is invalid");return f}})); -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/uuid/dist/umd/uuidStringify.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).uuidStringify=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;function t(t){return"string"==typeof t&&e.test(t)}for(var i=[],n=0;n<256;++n)i.push((n+256).toString(16).substr(1));return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]).toLowerCase();if(!t(f))throw TypeError("Stringified UUID is invalid");return f}})); -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/github/lib/context.d.ts: -------------------------------------------------------------------------------- 1 | import { WebhookPayload } from './interfaces'; 2 | export declare class Context { 3 | /** 4 | * Webhook payload object that triggered the workflow 5 | */ 6 | payload: WebhookPayload; 7 | eventName: string; 8 | sha: string; 9 | ref: string; 10 | workflow: string; 11 | action: string; 12 | actor: string; 13 | job: string; 14 | runNumber: number; 15 | runId: number; 16 | apiUrl: string; 17 | serverUrl: string; 18 | graphqlUrl: string; 19 | /** 20 | * Hydrate the context from the environment 21 | */ 22 | constructor(); 23 | get issue(): { 24 | owner: string; 25 | repo: string; 26 | number: number; 27 | }; 28 | get repo(): { 29 | owner: string; 30 | repo: string; 31 | }; 32 | } 33 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/universal-user-agent/LICENSE.md: -------------------------------------------------------------------------------- 1 | # [ISC License](https://spdx.org/licenses/ISC) 2 | 3 | Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/github/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { Octokit } from '@octokit/core'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | export declare const defaults: OctokitOptions; 6 | export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor; 9 | /** 10 | * Convience function to correctly format Octokit Options to pass into the constructor. 11 | * 12 | * @param token the repo PAT or GITHUB_TOKEN 13 | * @param options other options to set 14 | */ 15 | export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; 16 | -------------------------------------------------------------------------------- /.github/workflows/03-workflow-runners.yaml: -------------------------------------------------------------------------------- 1 | # See 03-workflow-runners/README.md for more information 2 | # about the different runners for GitHub Actions. 3 | 4 | name: 03 - Workflow Runners 5 | 6 | on: workflow_dispatch 7 | 8 | jobs: 9 | ubuntu-echo: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Show OS 13 | run: | 14 | echo "This job is running on an Ubuntu runner." 15 | echo "Runner OS: $RUNNER_OS" 16 | windows-echo: 17 | runs-on: windows-latest 18 | steps: 19 | - name: Show OS 20 | shell: bash 21 | run: | 22 | echo "This job is running on a Windows runner." 23 | echo "Runner OS: $RUNNER_OS" 24 | mac-echo: 25 | runs-on: macos-latest 26 | steps: 27 | - name: Show OS 28 | run: | 29 | echo "This job is running on a MacOS runner." 30 | echo "Runner OS: $RUNNER_OS" 31 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/github/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACxB,QAAA,QAAQ,GAAmB;IACtC,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;QACnC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,gBAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/uuid/dist/umd/uuidParse.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).uuidParse=n()}(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(n){if(!function(n){return"string"==typeof n&&e.test(n)}(n))throw TypeError("Invalid UUID");var t,i=new Uint8Array(16);return i[0]=(t=parseInt(n.slice(0,8),16))>>>24,i[1]=t>>>16&255,i[2]=t>>>8&255,i[3]=255&t,i[4]=(t=parseInt(n.slice(9,13),16))>>>8,i[5]=255&t,i[6]=(t=parseInt(n.slice(14,18),16))>>>8,i[7]=255&t,i[8]=(t=parseInt(n.slice(19,23),16))>>>8,i[9]=255&t,i[10]=(t=parseInt(n.slice(24,36),16))/1099511627776&255,i[11]=t/4294967296&255,i[12]=t>>>24&255,i[13]=t>>>16&255,i[14]=t>>>8&255,i[15]=255&t,i}})); -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/uuid/dist/umd/uuidParse.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).uuidParse=n()}(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(n){if(!function(n){return"string"==typeof n&&e.test(n)}(n))throw TypeError("Invalid UUID");var t,i=new Uint8Array(16);return i[0]=(t=parseInt(n.slice(0,8),16))>>>24,i[1]=t>>>16&255,i[2]=t>>>8&255,i[3]=255&t,i[4]=(t=parseInt(n.slice(9,13),16))>>>8,i[5]=255&t,i[6]=(t=parseInt(n.slice(14,18),16))>>>8,i[7]=255&t,i[8]=(t=parseInt(n.slice(19,23),16))>>>8,i[9]=255&t,i[10]=(t=parseInt(n.slice(24,36),16))/1099511627776&255,i[11]=t/4294967296&255,i[12]=t>>>24&255,i[13]=t>>>16&255,i[14]=t>>>8&255,i[15]=255&t,i}})); -------------------------------------------------------------------------------- /11-inputs/README.md: -------------------------------------------------------------------------------- 1 | # Working with Inputs in GitHub Actions 2 | 3 | Inputs are a valuable feature in GitHub Actions, enabling workflows and custom actions to accept and utilize input parameters. It can be used in custom actions, reusable workflows, and manually triggered workflows. 4 | 5 | ## Overview 6 | 7 | - The `inputs` object becomes accessible in a workflow when triggered, allowing users to define input parameters. 8 | - Each entry `inputs.` represent individual input values passed from an external workflow or trigger event. 9 | 10 | ### Reusable Workflows: 11 | 12 | Inputs are defined under the `workflow_call` key in the `on` definition of the workflow. 13 | 14 | ### Manually Triggered Workflows: 15 | 16 | Inputs are defined under the `workflow_dispatch` key in the `on` definition of the workflow. 17 | 18 | ### Custom Actions 19 | 20 | Inputs are defined in the `action.yaml` file in the custom action definition. 21 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { Fetch } from "./Fetch"; 2 | import type { Signal } from "./Signal"; 3 | /** 4 | * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled 5 | */ 6 | export type RequestRequestOptions = { 7 | /** 8 | * Custom replacement for built-in fetch method. Useful for testing or request hooks. 9 | */ 10 | fetch?: Fetch; 11 | /** 12 | * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. 13 | */ 14 | signal?: Signal; 15 | /** 16 | * If set to `false`, the response body will not be parsed and will be returned as a stream. 17 | */ 18 | parseSuccessResponseBody?: boolean; 19 | [option: string]: any; 20 | }; 21 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/universal-user-agent/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && process.version !== undefined) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":[],"mappings":"AAAO,SAAS,YAAY,GAAG;AAC/B,IAAI,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,WAAW,IAAI,SAAS,EAAE;AACnE,QAAQ,OAAO,SAAS,CAAC,SAAS,CAAC;AACnC,KAAK;AACL,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE;AACtE,QAAQ,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,KAAK;AACL,IAAI,OAAO,4BAA4B,CAAC;AACxC;;;;"} -------------------------------------------------------------------------------- /.github/actions/security-safe-input/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | -------------------------------------------------------------------------------- /.github/actions/js-dependency-update/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | --------------------------------------------------------------------------------