Restrict releases to relevant path changes and add Git config

This commit is contained in:
Aman Varshney
2025-03-20 13:48:49 +05:30
parent e880c76e2d
commit bcac7e25fa

View File

@@ -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: