From 965b73a5e4d3e08860ab7269238e86ce7502cb26 Mon Sep 17 00:00:00 2001 From: Kezhik Kyzyl-ool Date: Tue, 23 Apr 2024 11:11:44 +0200 Subject: [PATCH] ci: using waiter --- .github/workflows/playwright.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a6402a74f5..c5d92d938d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -39,3 +39,18 @@ jobs: with: name: pr path: ./pr-id.txt + storybook-tests: + name: Storybook Tests result + runs-on: ubuntu-latest + steps: + - name: Wait for workflow with Storybook Tests + uses: kamilchodola/wait-for-workflow-action@1.1.0 + with: + GITHUB_TOKEN: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} + workflow_id: 'gravity-ui/uikit/.github/workflows/pr-storybook-tests.yml' + max_wait_minutes: '10' + interval: '1' + timeout: '600' + org_name: 'gravity-ui' + repo_name: 'uikit' + ref: '${{ github.ref }}'