From 8b3b737d8957aeec60bcdaa8ac04e5f053450e67 Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 06:05:40 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix:=20skip=20Netlify=20depl?= =?UTF-8?q?oy=20previews=20for=20the=20bot/*=20lane?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- changelog.d/fixed-506-netlify-ignore-bot-lane.md | 3 +++ netlify.toml | 2 +- scripts/check-deploy-preview-ignore.test.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelog.d/fixed-506-netlify-ignore-bot-lane.md diff --git a/changelog.d/fixed-506-netlify-ignore-bot-lane.md b/changelog.d/fixed-506-netlify-ignore-bot-lane.md new file mode 100644 index 00000000..f43965a0 --- /dev/null +++ b/changelog.d/fixed-506-netlify-ignore-bot-lane.md @@ -0,0 +1,3 @@ +- Skip Netlify deploy previews for the `bot/*` lane so the daily Hive docs + mirror resync PR no longer builds a failing preview on every run + (hivecommons/docs#506). diff --git a/netlify.toml b/netlify.toml index 40b27f94..f0536410 100644 --- a/netlify.toml +++ b/netlify.toml @@ -50,7 +50,7 @@ # CI checks Bot-authored PR heads against this exact rule (#439). Add new bot # lanes here when that gate fails; prefixes also match human-authored branches. [context.deploy-preview] - ignore = "case \"${HEAD:-$BRANCH}\" in arch/*|guide/*|scanner/*|quality/*|sec/*|outreach/*|ops/*|automation/*|hive/*|dependabot/*|reviewer/*|feat/*|fix/*|generated/*|docs-rot-*) exit 0;; *) exit 1;; esac" + ignore = "case \"${HEAD:-$BRANCH}\" in arch/*|guide/*|scanner/*|quality/*|sec/*|outreach/*|ops/*|automation/*|hive/*|dependabot/*|reviewer/*|feat/*|fix/*|generated/*|bot/*|docs-rot-*) exit 0;; *) exit 1;; esac" # Enable branch deploys for documentation versioning # Version branches follow the pattern: docs/{version} diff --git a/scripts/check-deploy-preview-ignore.test.ts b/scripts/check-deploy-preview-ignore.test.ts index d4693946..beaba839 100644 --- a/scripts/check-deploy-preview-ignore.test.ts +++ b/scripts/check-deploy-preview-ignore.test.ts @@ -39,6 +39,7 @@ describe("deploy-preview drift gate", () => { "feat/topic", "fix/topic", "generated/topic", + "bot/hive-docs-refresh", "docs-rot-weekly", ])("accepts a Bot PR covered by the real rule: %s", head => { expect(main({ PR_AUTHOR_TYPE: "Bot", PR_HEAD_REF: head })).toBe(0); From acb57ab0a5345e6da1489cb7cd91ad5569d4d6e2 Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 06:28:26 -0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=96=20docs:=20changelog=20says=20t?= =?UTF-8?q?he=20resync=20lane=20no=20longer=20requests=20a=20preview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fragment promised the failing preview goes away; the Netlify failures are the owner-side quota incident from #419, so the rule only stops the lane from requesting a preview at all. Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- changelog.d/fixed-506-netlify-ignore-bot-lane.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/fixed-506-netlify-ignore-bot-lane.md b/changelog.d/fixed-506-netlify-ignore-bot-lane.md index f43965a0..f3a7fa01 100644 --- a/changelog.d/fixed-506-netlify-ignore-bot-lane.md +++ b/changelog.d/fixed-506-netlify-ignore-bot-lane.md @@ -1,3 +1,3 @@ - Skip Netlify deploy previews for the `bot/*` lane so the daily Hive docs - mirror resync PR no longer builds a failing preview on every run + mirror resync PR no longer requests a deploy preview on every run (hivecommons/docs#506).