[ci]: fix retry_deploy_test workflow (#85981)

When we fixed deploy tests to consistently run with the explicitly
provided Next.js release version, it broke this job which was relying on
an explicit match on the "test e2e deploy canary" string.
This commit is contained in:
Zack Tanner
2025-11-12 11:31:27 -08:00
committed by GitHub
parent cdf8f7959b
commit 26b95c3f0f
+4 -4
View File
@@ -17,8 +17,8 @@ jobs:
name: retry failed jobs
# Retry the test-e2e-deploy-release workflow up to 2 times
if: >-
${{
github.event.workflow_run.display_title == 'test-e2e-deploy canary' &&
${{
startsWith(github.event.workflow_run.display_title, 'test-e2e-deploy') &&
github.event.workflow_run.conclusion == 'failure' &&
github.repository == 'vercel/next.js' &&
github.event.workflow_run.run_attempt < 2
@@ -39,8 +39,8 @@ jobs:
name: report failure to slack
# Report the failure to Slack if the test-e2e-deploy-release workflow has failed 2 times
if: >-
${{
github.event.workflow_run.display_title == 'test-e2e-deploy canary' &&
${{
startsWith(github.event.workflow_run.display_title, 'test-e2e-deploy') &&
github.event.workflow_run.conclusion == 'failure' &&
github.event.workflow_run.run_attempt >= 2 &&
!github.event.workflow_run.head_repository.fork