Scheduling infrastructure for absolutely everyone.
Update check-if-ui-has-changed.yml
zomars590ec3bf23a5
diff --git a/.github/workflows/check-if-ui-has-changed.yml b/.github/workflows/check-if-ui-has-changed.ymlindex cc371b74e28..469109d6ae9 100644--- a/.github/workflows/check-if-ui-has-changed.yml+++ b/.github/workflows/check-if-ui-has-changed.yml@@ -4,7 +4,14 @@name: 'Chromatic'# Event for the workflow-on: push+on:+ pull_request_target: # So we can test on forks+ branches:+ - main+ paths:+ - apps/storybook/**+ - packages/ui/**+ workflow_dispatch:# List of jobsjobs:@@ -38,7 +45,8 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v2with:- fetch-depth: 0 # π Required to retrieve git history+ ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks+ fetch-depth: 2- name: Install dependenciesrun: yarn# π Adds Chromatic as a step in the workflow