mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Restrict releases to relevant path changes and add Git config
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user