Unverified Commit 26b95c3f authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

[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.
parent cdf8f795
...@@ -17,8 +17,8 @@ jobs: ...@@ -17,8 +17,8 @@ jobs:
name: retry failed jobs name: retry failed jobs
# Retry the test-e2e-deploy-release workflow up to 2 times # Retry the test-e2e-deploy-release workflow up to 2 times
if: >- 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.conclusion == 'failure' &&
github.repository == 'vercel/next.js' && github.repository == 'vercel/next.js' &&
github.event.workflow_run.run_attempt < 2 github.event.workflow_run.run_attempt < 2
...@@ -39,8 +39,8 @@ jobs: ...@@ -39,8 +39,8 @@ jobs:
name: report failure to slack name: report failure to slack
# Report the failure to Slack if the test-e2e-deploy-release workflow has failed 2 times # Report the failure to Slack if the test-e2e-deploy-release workflow has failed 2 times
if: >- 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.conclusion == 'failure' &&
github.event.workflow_run.run_attempt >= 2 && github.event.workflow_run.run_attempt >= 2 &&
!github.event.workflow_run.head_repository.fork !github.event.workflow_run.head_repository.fork
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment