fix: change Chromatic action to build current branch, not base branch (#100)
This commit is contained in:
6
.github/workflows/chromatic.yml
vendored
6
.github/workflows/chromatic.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: "Chromatic"
|
name: 'Chromatic'
|
||||||
|
|
||||||
on: [push, pull_request_target]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
chromatic:
|
chromatic:
|
||||||
@@ -23,4 +23,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||||
exitZeroOnChanges: true
|
exitZeroOnChanges: true
|
||||||
autoAcceptChanges: "main"
|
autoAcceptChanges: 'main'
|
||||||
|
|||||||
Reference in New Issue
Block a user