Skip to content

Commit

Permalink
ci: run chromatic build on PR submitted (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithoo authored Feb 20, 2025
1 parent 42c6c77 commit ba52a92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Chromatic

on:
pull_request_review_comment:
types: [created, edited]
pull_request_review:
types: [submitted, edited]

jobs:
chromatic-build:
if: ${{ contains(github.event.comment.body, 'chromatic-build') }}
if: ${{ contains(github.event.review.body, 'chromatic-build') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit ba52a92

Please sign in to comment.