Skip to content

Commit 64d202d

Browse files
committed
fix: chromatic workflow failing on forks
1 parent fdf204d commit 64d202d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/chromatic.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2424
with:
2525
fetch-depth: 0
26-
ref: ${{ github.event.pull_request.head.ref || github.ref }}
26+
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
27+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
2728

2829
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2930
with:

0 commit comments

Comments
 (0)