mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Change github app name and limit build bot to chages in src directory
This commit is contained in:
@@ -4,6 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'src/**'
|
||||
|
||||
jobs:
|
||||
build-dist:
|
||||
@@ -37,8 +39,8 @@ jobs:
|
||||
env:
|
||||
TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
run: |
|
||||
git config user.name "spark-website-deploy[bot]"
|
||||
git config user.email "123456789+spark-website-deploy[bot]@users.noreply.github.com"
|
||||
git config user.name "sparkjsdev[bot]"
|
||||
git config user.email "123456789+sparkjsdev[bot]@users.noreply.github.com"
|
||||
|
||||
git add .
|
||||
git commit -m "Bump dist build" || echo "No build changes"
|
||||
|
||||
Reference in New Issue
Block a user