From 074daf5c714717f7d7010d99523b7847b05a2228 Mon Sep 17 00:00:00 2001 From: Ruslan Farkhutdinov Date: Tue, 3 Feb 2026 13:33:45 +0200 Subject: [PATCH 1/3] Storybook: Update WF parameters --- .github/workflows/pr-storybook-deploy-manual.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-storybook-deploy-manual.yml b/.github/workflows/pr-storybook-deploy-manual.yml index c3a57217995f..3e1f0d958686 100644 --- a/.github/workflows/pr-storybook-deploy-manual.yml +++ b/.github/workflows/pr-storybook-deploy-manual.yml @@ -42,6 +42,12 @@ jobs: ref: refs/pull/${{ inputs.pr_number }}/head fetch-depth: 1 + - name: Checkout base repo + if: inputs.action == 'remove' + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: Use Node.js if: inputs.action == 'deploy' uses: actions/setup-node@v4 @@ -81,7 +87,7 @@ jobs: pnpx nx build devextreme-react-storybook - name: Deploy/remove PR preview - uses: rossjrw/pr-preview-action@8ff09e486b4c23709012eedd3b42e9f0b95dd0c5 # v1 + uses: rossjrw/pr-preview-action@6f3a89d9ff1b752c6e781d91eacd27d9952188b0 # v1 with: action: ${{ inputs.action }} pr-number: ${{ inputs.pr_number }} @@ -89,4 +95,3 @@ jobs: preview-branch: gh-pages umbrella-dir: preview comment: false - token: ${{ secrets.GITHUB_TOKEN }} From 53555d6e7d2bf7a36b013e2284f47c6d0aac9c76 Mon Sep 17 00:00:00 2001 From: Ruslan Farkhutdinov Date: Tue, 3 Feb 2026 13:52:07 +0200 Subject: [PATCH 2/3] Storybook: Add wait-for-pages-deployment option --- .github/workflows/pr-storybook-deploy-manual.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-storybook-deploy-manual.yml b/.github/workflows/pr-storybook-deploy-manual.yml index 3e1f0d958686..5b7e676a8052 100644 --- a/.github/workflows/pr-storybook-deploy-manual.yml +++ b/.github/workflows/pr-storybook-deploy-manual.yml @@ -95,3 +95,4 @@ jobs: preview-branch: gh-pages umbrella-dir: preview comment: false + wait-for-pages-deployment: true From 9649183f7985b711d4cc6b656f3fcc4d71163a19 Mon Sep 17 00:00:00 2001 From: Ruslan Farkhutdinov Date: Wed, 4 Feb 2026 12:23:22 +0200 Subject: [PATCH 3/3] Storybook: Update pr-preview-action to 1.8.1 --- .github/workflows/pr-storybook-deploy-manual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-storybook-deploy-manual.yml b/.github/workflows/pr-storybook-deploy-manual.yml index 5b7e676a8052..a6955d4a957b 100644 --- a/.github/workflows/pr-storybook-deploy-manual.yml +++ b/.github/workflows/pr-storybook-deploy-manual.yml @@ -87,7 +87,7 @@ jobs: pnpx nx build devextreme-react-storybook - name: Deploy/remove PR preview - uses: rossjrw/pr-preview-action@6f3a89d9ff1b752c6e781d91eacd27d9952188b0 # v1 + uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1.8.1 with: action: ${{ inputs.action }} pr-number: ${{ inputs.pr_number }}