diff --git a/.github/workflows/generate_preview_link.yml b/.github/workflows/generate_preview_link.yml index b0496245005..f634224f312 100644 --- a/.github/workflows/generate_preview_link.yml +++ b/.github/workflows/generate_preview_link.yml @@ -20,14 +20,14 @@ jobs: pull-requests: write steps: - name: Verify user - uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1" + uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v4" with: username: ${{github.event.pull_request.user.login}} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Post preview build comment id: post_preview_build_comment - uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v1" + uses: "deriv-com/shared-actions/.github/actions/post_preview_build_comment@v4" with: issue_number: ${{github.event.number}} head_sha: ${{github.event.pull_request.head.sha}} @@ -71,7 +71,7 @@ jobs: - name: Publish to CF pages branch id: publish_to_pages_branch - uses: "deriv-com/shared-actions/.github/actions/publish_to_pages_branch@v1" + uses: "deriv-com/shared-actions/.github/actions/publish_to_pages_branch@v4" with: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_TEST_LINKS_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_TEST_LINKS_ACCOUNT_ID }} @@ -80,7 +80,7 @@ jobs: output_dir: dist - name: "Generate preview link comment" - uses: "deriv-com/shared-actions/.github/actions/post_preview_link_comment@v1" + uses: "deriv-com/shared-actions/.github/actions/post_preview_link_comment@v4" if: always() && steps.post_preview_build_comment.outcome == 'success' with: issue_number: ${{github.event.number}}