From 486a8eed5afc8611fbfaa19439d0c3fba34e8abb Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 26 Nov 2024 14:46:50 -0800 Subject: [PATCH] ensure pkg-pr-new only runs on package changes (#387) --- .github/workflows/snapshop-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snapshop-release.yml b/.github/workflows/snapshop-release.yml index 48304da06..c27e3f91a 100644 --- a/.github/workflows/snapshop-release.yml +++ b/.github/workflows/snapshop-release.yml @@ -1,6 +1,9 @@ name: snapshot Release -on: [pull_request] +on: + pull_request: + paths: + - 'packages/**' jobs: release: @@ -19,7 +22,7 @@ jobs: node-version-file: '.node-version' cache: 'pnpm' - - name: Install Dependencies + - name: Install Dependencies run: pnpm ci:install - name: Publish packages