From 9c657e26dbf784cb378f87d56a3df85ada45c66e Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Tue, 26 Sep 2023 10:52:34 -0700 Subject: [PATCH 1/2] Change two rules from warning to error markdownlint (#43342) --- src/content-linter/scripts/lint-content.js | 2 ++ src/content-linter/style/base.js | 2 +- src/content-linter/style/github-docs.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/content-linter/scripts/lint-content.js b/src/content-linter/scripts/lint-content.js index 40dab64efa..c3d5b3932b 100755 --- a/src/content-linter/scripts/lint-content.js +++ b/src/content-linter/scripts/lint-content.js @@ -124,6 +124,8 @@ async function main() { } } const end = Date.now() + // Ensure previous console logging is not truncated + console.log('\n\n') spinner.info(`🕦 Markdownlint finished in ${(end - start) / 1000} s`) if (warningFileCount > 0) { spinner.warn(`Found ${warningFileCount} file(s) with warnings(s)`) diff --git a/src/content-linter/style/base.js b/src/content-linter/style/base.js index 07950affdf..bd90a07849 100644 --- a/src/content-linter/style/base.js +++ b/src/content-linter/style/base.js @@ -16,7 +16,7 @@ export const baseConfig = { }, 'first-heading-h1': { // MD002 - severity: 'warning', + severity: 'error', level: 2, 'partial-markdown-files': false, }, diff --git a/src/content-linter/style/github-docs.js b/src/content-linter/style/github-docs.js index fec22d625a..9f244ff3b0 100644 --- a/src/content-linter/style/github-docs.js +++ b/src/content-linter/style/github-docs.js @@ -16,7 +16,7 @@ export const githubDocsConfig = { }, 'image-file-kebab': { // GHD004 - severity: 'warning', + severity: 'error', 'partial-markdown-files': true, }, 'internal-links-lang': { From 975aa4f96c4f1852de1e51373612f60c31ecc731 Mon Sep 17 00:00:00 2001 From: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:08:18 -0400 Subject: [PATCH 2/2] Tweak content in article on exporting data from security overview (#42942) --- .../exporting-data-from-the-risk-and-coverage-pages.md | 2 +- data/reusables/security-overview/download-csv-files.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/code-security/security-overview/exporting-data-from-the-risk-and-coverage-pages.md b/content/code-security/security-overview/exporting-data-from-the-risk-and-coverage-pages.md index ec27d6ebaa..83f7d446ed 100644 --- a/content/code-security/security-overview/exporting-data-from-the-risk-and-coverage-pages.md +++ b/content/code-security/security-overview/exporting-data-from-the-risk-and-coverage-pages.md @@ -23,7 +23,7 @@ The CSV file you download will contain data corresponding to the filters you hav {% note %} -**Note:** You can only export data for the first 20 teams in your organization. These 20 teams correspond with the first 20 teams visible in the **Teams** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu on security overview. +**Note:** In the "Teams" column of the CSV file, each repository will list a maximum of 20 teams with write access to that repository. If more than 20 teams have write access to a repository, the data will be truncated. {% endnote %} diff --git a/data/reusables/security-overview/download-csv-files.md b/data/reusables/security-overview/download-csv-files.md index 026c354403..918cdd7a77 100644 --- a/data/reusables/security-overview/download-csv-files.md +++ b/data/reusables/security-overview/download-csv-files.md @@ -1 +1 @@ -You can download CSV files containing data from the risk and coverage pages of security overview. These files can be used for efforts like security research and in-depth data analysis, and can integrate easily with external datasets. +You can download comma-separated values (CSV) files containing data from the risk and coverage pages of security overview. These files can be used for efforts like security research and in-depth data analysis, and can integrate easily with external datasets.