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