Skip to content

Commit fdf204d

Browse files
authored
ops(chromatic): enable VRT and ART for PRs from forks
1 parent 7acb904 commit fdf204d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/chromatic.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
chromatic:
1818
name: 📚 Chromatic
1919
runs-on: ubuntu-24.04-arm
20-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
2120

2221
steps:
2322
- name: ☑️ Checkout
@@ -40,8 +39,6 @@ jobs:
4039

4140
- name: 🧪 Run Chromatic Visual Tests
4241
uses: chromaui/action@a8ce9c58f59be5cc7090cadfc8f130fb08fcf0c3 # v15.1.0
43-
with:
44-
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
4542
env:
4643
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
4744
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

chromatic.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"projectToken": "chpt_e46907a72045a1b",
23
"onlyChanged": true,
34
"autoAcceptChanges": "main",
45
"exitZeroOnChanges": false,

0 commit comments

Comments
 (0)