mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user