From 34193fe02fd5e7bf639c265b15ae1e9c92151ffd Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Fri, 21 Aug 2026 11:21:14 +0200 Subject: [PATCH] fix: scope sync PR to models and generated packages The sync workflow's npm ci step removes the repo's committed node_modules symlink, and create-pull-request staged that deletion. Restrict the PR to models/** and packages/** so a sync can never touch anything else. --- .github/workflows/sync-lifecycle.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sync-lifecycle.yml b/.github/workflows/sync-lifecycle.yml index 96959d76..ce05f273 100644 --- a/.github/workflows/sync-lifecycle.yml +++ b/.github/workflows/sync-lifecycle.yml @@ -69,6 +69,9 @@ jobs: branch: automation/sync-lifecycle-status delete-branch: true draft: true + add-paths: | + models/** + packages/** commit-message: "chore: sync model lifecycle status from modeldeprecations.dev" title: "chore: sync model lifecycle status" body: |