1
0
mirror of synced 2025-12-22 03:16:52 -05:00

[December 15, 2022] - Secret Scanning Experience for Free Public Repos (Public Beta) (#32702)

Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Aakash Shah <aashah@github.com>
Co-authored-by: amstead <am-stead@github.com>
Co-authored-by: Mariam <15mariams@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
This commit is contained in:
mc
2022-12-15 16:28:55 +00:00
committed by GitHub
parent 14bf19e6c7
commit 7a9debdca4
47 changed files with 238 additions and 183 deletions

View File

@@ -27,13 +27,6 @@ export async function getDiffOpenAPIContentRest() {
// Create categories/subcategories from OpenAPI Schemas
const openAPISchemaCheck = await createOpenAPISchemasCheck()
// One off edge case for secret-scanning Docs-content issue 6637
const fptApiVersions = getOnlyApiVersions('free-pro-team@latest')
fptApiVersions.forEach((fptApiVersion) => {
delete openAPISchemaCheck[fptApiVersion]['secret-scanning']
})
// Get Differences between categories/subcategories from dereferenced schemas and the content/rest directory frontmatter versions
const differences = getDifferences(openAPISchemaCheck, checkContentDir)
const errorMessages = {}