From 246c6169a84b3d2b5dfdfe703f95499e16cbcd60 Mon Sep 17 00:00:00 2001 From: HDCode Date: Thu, 26 Mar 2026 10:14:11 +0100 Subject: [PATCH] fix: broaden add-paths to capture snapshot changeset deletions The previous add-paths only included content/snapshot/** and content/{version}/**, which prevented changeset file deletions in snapshot from being staged. Using broader 'content' and 'registry' paths ensures all promotion changes (additions and deletions) are captured. --- .github/workflows/promote-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/promote-docs.yml b/.github/workflows/promote-docs.yml index 908f105..60376dd 100644 --- a/.github/workflows/promote-docs.yml +++ b/.github/workflows/promote-docs.yml @@ -73,9 +73,8 @@ jobs: commit-message: "chore(docs): promote snapshot to ${{ github.event.inputs.release_version }}" title: "chore(docs): promote snapshot to ${{ github.event.inputs.release_version }}" add-paths: | - content/snapshot/** - content/${{ github.event.inputs.release_version }}/** - registry/versions.json + content + registry body: | Promotes `content/snapshot` to `content/${{ github.event.inputs.release_version }}` and updates `registry/versions.json`.