Skip to content

Commit a9832ab

Browse files
author
Marcin Mazurek
committed
[DDW-844] Add an experimental GH actions step which lets run Chromatic with label
1 parent 018d0dd commit a9832ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/chromatic.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: 'Chromatic'
22
on:
3-
workflow_dispatch:
3+
pull_request:
4+
types:
5+
- labeled
46
push:
57
branches:
68
- develop
79

810
jobs:
911
chromatic-deployment:
12+
if: contains(github.event.pull_request.labels.*.name, 'run-VR')
1013
runs-on: ubuntu-latest
1114
env:
1215
STORYBOOK_FREEZE_DATE: "true"

0 commit comments

Comments
 (0)