Fix condition

This commit is contained in:
Samy Pessé
2025-04-09 20:34:23 +02:00
parent 957d1e30e6
commit 7b00d34342
+2 -2
View File
@@ -200,7 +200,7 @@ jobs:
name: Visual Testing v2 (Cloudflare)
needs: deploy-v2-cloudflare
timeout-minutes: 10
if: startsWith(github.ref_name, 'refs/heads/cloudflare/')
if: startsWith(github.head_ref || github.ref_name, 'refs/heads/cloudflare/')
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -263,7 +263,7 @@ jobs:
name: Visual Testing Customers v2 (Cloudflare)
needs: deploy-v2-cloudflare
timeout-minutes: 8
if: startsWith(github.ref_name, 'refs/heads/cloudflare/')
if: startsWith(github.head_ref || github.ref_name, 'refs/heads/cloudflare/')
steps:
- name: Checkout
uses: actions/checkout@v4