From 7ffa3236876562cdd3cd827cf0bd3457257535fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Snorre=20Magnus=20Dav=C3=B8en?= Date: Tue, 2 Jul 2024 14:12:26 +0200 Subject: [PATCH 1/2] Fix regression in artifact-attestations-step-for-container-images.md Fixes regression where the reusable artifact attestations step example was accidentally broken by a commit that replaced dashes with asterisks. Commit that broke example: https://github.com/github/docs/commit/0886a399f07aedae418d587873ffc6c0810ae7eb --- .../actions/artifact-attestations-step-for-container-images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/artifact-attestations-step-for-container-images.md b/data/reusables/actions/artifact-attestations-step-for-container-images.md index b48ce3077353..8a0683b3af95 100644 --- a/data/reusables/actions/artifact-attestations-step-for-container-images.md +++ b/data/reusables/actions/artifact-attestations-step-for-container-images.md @@ -1,4 +1,4 @@ -* name: Generate artifact attestation +- name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: subject-name: {% raw %}${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}{% endraw %} From 22fc2e4d9a187c9fe9b9fa06789a399468f9be55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Snorre=20Magnus=20Dav=C3=B8en?= Date: Tue, 2 Jul 2024 14:30:52 +0200 Subject: [PATCH 2/2] Rename artifact-attestation reusable file to satisfy lint It seems linter does not accept dashes in markdown files. The artiract-attestations-step-for-container-images.md file only really contains yml, so if we rename it the linter should accept the dash. --- ...ges.md => artifact-attestations-step-for-container-images.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/reusables/actions/{artifact-attestations-step-for-container-images.md => artifact-attestations-step-for-container-images.yml} (100%) diff --git a/data/reusables/actions/artifact-attestations-step-for-container-images.md b/data/reusables/actions/artifact-attestations-step-for-container-images.yml similarity index 100% rename from data/reusables/actions/artifact-attestations-step-for-container-images.md rename to data/reusables/actions/artifact-attestations-step-for-container-images.yml