diff --git a/.github/workflows/deploy-ui-preview-pr.yml b/.github/workflows/deploy-ui-preview-pr.yml index 4d9dff183f..b0dfaf5dba 100644 --- a/.github/workflows/deploy-ui-preview-pr.yml +++ b/.github/workflows/deploy-ui-preview-pr.yml @@ -4,6 +4,10 @@ name: Deploy UI to temporary URL on: workflow_dispatch: pull_request: + paths: + # Only deploy an ephemeral Storybook preview for PRs that make changes to + # the UI package. + - 'packages/ui/src/**' permissions: checks: write contents: read