diff --git a/package-lock.json b/package-lock.json index a0d41cb..5d1ba54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^12.6.0" }, "devDependencies": { "@octokit/core": "^5.0.0", @@ -1883,9 +1883,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.1.0.tgz", - "integrity": "sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==" + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "9.1.5", @@ -1971,11 +1971,11 @@ "dev": true }, "node_modules/@octokit/types": { - "version": "12.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.5.0.tgz", - "integrity": "sha512-YJEKcb0KkJlIUNU/zjnZwHEP8AoVh/OoIcP/1IyR4UHxExz7fzpe/a8IG4wBtQi7QDEqiomVLX88S6FpxxAJtg==", + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", "dependencies": { - "@octokit/openapi-types": "^19.1.0" + "@octokit/openapi-types": "^20.0.0" } }, "node_modules/@pkgjs/parseargs": { diff --git a/package.json b/package.json index 223bd8d..1d1ee7e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "author": "Gregor Martynus (https://github.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^12.6.0" }, "peerDependencies": { "@octokit/core": ">=5" diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index d988bfa..17ad32c 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -1374,7 +1374,7 @@ "code": 200, "examples": [ { - "data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"octocat@github.com\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"octokitten@github.com\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"octokitten@github.com\"}]}]}" + "data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"maximum_advanced_security_committers\":4,\"purchased_advanced_security_committers\":4,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"octocat@github.com\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"octokitten@github.com\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"octokitten@github.com\"}]}]}" } ] }, @@ -1437,7 +1437,7 @@ "code": 200, "examples": [ { - "data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"octocat@github.com\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"octokitten@github.com\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"octokitten@github.com\"}]}]}" + "data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"maximum_advanced_security_committers\":4,\"purchased_advanced_security_committers\":4,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"octocat@github.com\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"octokitten@github.com\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"octokitten@github.com\"}]}]}" } ] }, @@ -7409,7 +7409,7 @@ "code": 200, "examples": [ { - "data": "{\"advanced_security_enabled_for_new_repositories\":true,\"dependabot_alerts_enabled_for_new_repositories\":true,\"secret_scanning_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_custom_link\":\"https://github.com/test-org/test-repo/blob/main/README.md\"}" + "data": "{\"advanced_security_enabled_for_new_repositories\":true,\"dependabot_alerts_enabled_for_new_repositories\":true,\"secret_scanning_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_custom_link\":\"https://github.com/test-org/test-repo/blob/main/README.md\",\"secret_scanning_validity_checks_enabled\":true}" } ] }, @@ -7501,6 +7501,18 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "secret_scanning_validity_checks_enabled", + "in": "BODY", + "type": "boolean", + "required": false, + "enum": null, + "allowNull": true, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [