chore: prevent running chromatic on all merged PRs (#8623)

This commit is contained in:
Muhammad Atif Ali
2023-07-20 15:18:02 +00:00
committed by GitHub
parent 6de95f4f32
commit fd5d26d385
+1 -1
View File
@@ -543,7 +543,7 @@ jobs:
# REMARK: this is only used to build storybook and deploy it to Chromatic.
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
if: needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true'
steps:
- name: Checkout
uses: actions/checkout@v3