From 7353a87837beb7caa47f7366cc755ef5ba364280 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Tue, 19 Nov 2024 08:34:35 -0500 Subject: [PATCH 1/2] Bump documented version of policy-controller to v0.10.0-github9 (#53167) Signed-off-by: Cody Soyland --- ...act-attestations-with-a-kubernetes-admission-controller.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md b/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md index 00231717c806..b34148e5cb28 100644 --- a/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md +++ b/content/actions/security-for-github-actions/using-artifact-attestations/enforcing-artifact-attestations-with-a-kubernetes-admission-controller.md @@ -47,7 +47,7 @@ First, install the Helm chart that deploys the Sigstore Policy Controller: helm upgrade policy-controller --install --atomic \ --create-namespace --namespace artifact-attestations \ oci://ghcr.io/github/artifact-attestations-helm-charts/policy-controller \ - --version v0.10.0-github8 + --version v0.10.0-github9 ``` This installs the Policy Controller into the `artifact-attestations` namespace. At this point, no policies have been configured, and it will not enforce any attestations. @@ -131,7 +131,7 @@ To see the full set of options you may configure with the Helm chart, you can ru For policy controller options: ```bash copy -helm show values oci://ghcr.io/github/artifact-attestations-helm-charts/policy-controller --version v0.10.0-github8 +helm show values oci://ghcr.io/github/artifact-attestations-helm-charts/policy-controller --version v0.10.0-github9 ``` For trust policy options: From 61c27003b6215bc95b4723c8870b01d0117ee9bd Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:19:15 +0000 Subject: [PATCH 2/2] Add product callout + use it to specify that Markdown docs are for web interface (#53153) --- .../about-writing-and-formatting-on-github.md | 1 + .../basic-writing-and-formatting-syntax.md | 1 + .../quickstart-for-writing-on-github.md | 1 + .../working-with-advanced-formatting/about-task-lists.md | 1 + .../working-with-advanced-formatting/attaching-files.md | 1 + .../autolinked-references-and-urls.md | 1 + .../creating-a-permanent-link-to-a-code-snippet.md | 1 + .../creating-and-highlighting-code-blocks.md | 1 + .../working-with-advanced-formatting/creating-diagrams.md | 1 + .../organizing-information-with-collapsed-sections.md | 1 + .../organizing-information-with-tables.md | 1 + .../using-keywords-in-issues-and-pull-requests.md | 1 + .../writing-mathematical-expressions.md | 1 + data/reusables/gated-features/markdown-ui.md | 1 + 14 files changed, 14 insertions(+) create mode 100644 data/reusables/gated-features/markdown-ui.md diff --git a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github.md b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github.md index 8d7cabc86a55..40462a2674ca 100644 --- a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github.md +++ b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/about-writing-and-formatting-on-github.md @@ -1,6 +1,7 @@ --- title: About writing and formatting on GitHub intro: GitHub combines a syntax for formatting text called GitHub Flavored Markdown with a few unique writing features. +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /articles/about-writing-and-formatting-on-github - /github/writing-on-github/about-writing-and-formatting-on-github diff --git a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md index 183ee864e2e8..d675451d51ed 100644 --- a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md +++ b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md @@ -1,6 +1,7 @@ --- title: Basic writing and formatting syntax intro: Create sophisticated formatting for your prose and code on GitHub with simple syntax. +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /articles/basic-writing-and-formatting-syntax - /github/writing-on-github/basic-writing-and-formatting-syntax diff --git a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/quickstart-for-writing-on-github.md b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/quickstart-for-writing-on-github.md index 8fd2db21de42..17cf6ab72df7 100644 --- a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/quickstart-for-writing-on-github.md +++ b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/quickstart-for-writing-on-github.md @@ -1,6 +1,7 @@ --- title: Quickstart for writing on GitHub intro: 'Learn advanced formatting features by creating a README for your {% data variables.product.prodname_dotcom %} profile.' +product: '{% data reusables.gated-features.markdown-ui %}' versions: fpt: '*' ghes: '*' diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists.md b/content/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists.md index dfcd9651138a..4adfdd82e73d 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists.md @@ -1,6 +1,7 @@ --- title: About task lists intro: 'You can use task lists to break the work for an issue or pull request into smaller tasks, then track the full set of work to completion.' +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/about-task-lists - /articles/about-task-lists diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/attaching-files.md b/content/get-started/writing-on-github/working-with-advanced-formatting/attaching-files.md index 4ca98307f8bb..e689fa955bc5 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/attaching-files.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/attaching-files.md @@ -1,6 +1,7 @@ --- title: Attaching files intro: You can convey information by attaching a variety of file types to your issues and pull requests. +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/file-attachments-on-issues-and-pull-requests - /articles/issue-attachments diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md index e45a367d9fb3..d094e5f5799a 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md @@ -1,6 +1,7 @@ --- title: Autolinked references and URLs intro: 'References to URLs, issues, pull requests, and commits are automatically shortened and converted into links.' +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /articles/autolinked-references-and-urls - /github/writing-on-github/autolinked-references-and-urls diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md index a5ed14520dc7..c65fc1121e78 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md @@ -1,6 +1,7 @@ --- title: Creating a permanent link to a code snippet intro: You can create a permanent link to a specific line or range of lines of code in a specific version of a file or pull request. +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/creating-a-permanent-link-to-a-code-snippet - /articles/creating-a-permanent-link-to-a-code-snippet diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md index b2744b949f32..8a81f806ffdc 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md @@ -1,6 +1,7 @@ --- title: Creating and highlighting code blocks intro: Share samples of code with fenced code blocks and enabling syntax highlighting. +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /articles/creating-and-highlighting-code-blocks - /github/writing-on-github/creating-and-highlighting-code-blocks diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md index f62232540336..99c7284c936b 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md @@ -1,6 +1,7 @@ --- title: Creating diagrams intro: Create diagrams to convey information through charts and graphs +product: '{% data reusables.gated-features.markdown-ui %}' versions: feature: mermaid shortTitle: Create diagrams diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections.md b/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections.md index 0a501d5cfbcf..e6e3274ce397 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections.md @@ -1,6 +1,7 @@ --- title: Organizing information with collapsed sections intro: You can streamline your Markdown by creating a collapsed section with the `
` tag. +product: '{% data reusables.gated-features.markdown-ui %}' versions: fpt: '*' ghes: '*' diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables.md b/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables.md index 00cb54bcb40b..cb0fe8b2b9ce 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables.md @@ -1,6 +1,7 @@ --- title: Organizing information with tables intro: 'You can build tables to organize information in comments, issues, pull requests, and wikis.' +product: '{% data reusables.gated-features.markdown-ui %}' redirect_from: - /articles/organizing-information-with-tables - /github/writing-on-github/organizing-information-with-tables diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md b/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md index 4184a258dbea..8fcfb73d250b 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md @@ -1,6 +1,7 @@ --- title: Using keywords in issues and pull requests intro: Use keywords to link an issue and pull request or to mark an issue or pull request as a duplicate. +product: '{% data reusables.gated-features.markdown-ui %}' versions: fpt: '*' ghes: '*' diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md b/content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md index 43c6e26e1a32..beb6ba5692c7 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions.md @@ -1,6 +1,7 @@ --- title: Writing mathematical expressions intro: 'Use Markdown to display mathematical expressions on {% data variables.product.company_short %}.' +product: '{% data reusables.gated-features.markdown-ui %}' versions: feature: math shortTitle: Mathematical expressions diff --git a/data/reusables/gated-features/markdown-ui.md b/data/reusables/gated-features/markdown-ui.md new file mode 100644 index 000000000000..1e74b5b10287 --- /dev/null +++ b/data/reusables/gated-features/markdown-ui.md @@ -0,0 +1 @@ +Markdown can be used in the {% data variables.product.github %} web interface.