From 5a52592fe60a9bc7a644a0a3d01b70ece565f98d Mon Sep 17 00:00:00 2001 From: balakrishna-binary Date: Thu, 1 Feb 2024 10:34:33 +0800 Subject: [PATCH] fix: verify order --- .github/workflows/generate-preview-link.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/generate-preview-link.yml b/.github/workflows/generate-preview-link.yml index de43a7d3123..c3e50db0eb8 100644 --- a/.github/workflows/generate-preview-link.yml +++ b/.github/workflows/generate-preview-link.yml @@ -23,17 +23,17 @@ jobs: build_to_cloudflare_pages: runs-on: Ubuntu-latest steps: - - name: Checkout to repo - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - - name: Verify user uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1' with: username: ${{github.event.pull_request.user.login}} token: ${{ secrets.PREVIEW_LINK_TOKEN }} + - name: Checkout to repo + uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: 'Generate action link comment' id: generate_action_url uses: actions/github-script@v3