The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Update chromatic CI trigger
Charles Bochetba76cace3f69
diff --git a/.github/workflows/ci-chromatic.yaml b/.github/workflows/ci-chromatic.yamlindex f1f0b3999e2..9ff1a0f32b0 100644--- a/.github/workflows/ci-chromatic.yaml+++ b/.github/workflows/ci-chromatic.yaml@@ -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-latestenv:REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000