Skip to content

Commit

Permalink
Update chromatic CI trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Aug 1, 2023
1 parent 8b8e4ac commit ba76cac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-chromatic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- main
pull_request_target:
types: [labeled, opened, edited]
issue_comment:
types: [created]
jobs:
chromatic-deployment:
if: ${{ contains(github.event.*.labels.*.name, 'run-chromatic') }} || github.event_name == 'push' }}
if: ${{ (github.event.issue.pull_request && contains(github.event.comment.body, '@chromatic')) || github.event_name == 'push' }}
runs-on: ubuntu-latest
env:
REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000
Expand Down

0 comments on commit ba76cac

Please sign in to comment.