From 5628232f58c954d33d12a26c3e130bcdeb36deec Mon Sep 17 00:00:00 2001 From: habib-deriv Date: Fri, 1 Mar 2024 11:28:04 +0800 Subject: [PATCH] chore: update action with To DO --- .github/workflows/generate-preview-link-eu.yml | 2 +- .github/workflows/generate-preview-link-row.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-preview-link-eu.yml b/.github/workflows/generate-preview-link-eu.yml index 66603dc2686..90702a214f5 100644 --- a/.github/workflows/generate-preview-link-eu.yml +++ b/.github/workflows/generate-preview-link-eu.yml @@ -16,7 +16,7 @@ concurrency: jobs: build_eu_to_cloudflare_pages: runs-on: Ubuntu-latest - if: contains(github.head_ref, 'multiple-build') + if: contains(github.event.pull_request.head.ref, 'multiple-build') permissions: checks: write pull-requests: write diff --git a/.github/workflows/generate-preview-link-row.yml b/.github/workflows/generate-preview-link-row.yml index 075543c4795..cbdc4aa0bcd 100644 --- a/.github/workflows/generate-preview-link-row.yml +++ b/.github/workflows/generate-preview-link-row.yml @@ -16,7 +16,8 @@ concurrency: jobs: build_row_to_cloudflare_pages: runs-on: Ubuntu-latest - if: contains(github.head_ref, 'multiple-build') + # To be removed once released in production + if: contains(github.event.pull_request.head.ref, 'multiple-build') permissions: checks: write pull-requests: write