Skip to content

Commit bcac7e2

Browse files
Restrict releases to relevant path changes and add Git config
1 parent e880c76 commit bcac7e2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'packages/cli/**'
9+
- '.changeset/**'
10+
- 'package.json'
11+
- 'bun.lock'
712

813
jobs:
914
release:
@@ -21,6 +26,11 @@ jobs:
2126
- name: Install Dependencies
2227
run: bun install
2328

29+
- name: Configure Git
30+
run: |
31+
git config --global user.name 'Aman Varshney'
32+
git config --global user.email 'amanvarshney.work@gmail.com'
33+
2434
- name: Create Release Pull Request or Publish
2535
uses: changesets/action@v1
2636
with:

0 commit comments

Comments
 (0)