From bcac7e25fa30502b289da2ffa8e6deb78a31005d Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Thu, 20 Mar 2025 13:48:49 +0530 Subject: [PATCH] Restrict releases to relevant path changes and add Git config --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab0daea..f3f0ba6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,11 @@ on: push: branches: - main + paths: + - 'packages/cli/**' + - '.changeset/**' + - 'package.json' + - 'bun.lock' jobs: release: @@ -21,6 +26,11 @@ jobs: - name: Install Dependencies run: bun install + - name: Configure Git + run: | + git config --global user.name 'Aman Varshney' + git config --global user.email 'amanvarshney.work@gmail.com' + - name: Create Release Pull Request or Publish uses: changesets/action@v1 with: