diff --git a/.github/workflows/deploy-ui-preview-pr.yml b/.github/workflows/deploy-ui-preview-pr.yml index 4d9dff183f..b25f47fdeb 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/*' permissions: checks: write contents: read