Skip to content

fix: add fallback ID for scheduled test run #2009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

MarcL
Copy link
Contributor

@MarcL MarcL commented Mar 24, 2023

Summary

The scheduled tests run fails consistently due to incorrect syntax in the workflow.
This is due to the group: {{github.head_ref}} reference being blank if the workflow isn't executed from a pull request.

Test workflow

concurrency:
  group: ${{ github.head_ref }}
  cancel-in-progress: true

This PR adds a default fallback which is guaranteed to be unique and defined for the run.
See: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value

Fixes netlify/pod-ecosystem-frameworks#434

Test plan

  1. Ensure that the PR tests still runs
  2. Verify that the nightly tests now runs without failure

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

image


@MarcL MarcL requested a review from a team March 24, 2023 11:41
@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-static-root-demo/deploys/641d8c6d58c4a70008d722e9
😎 Deploy Preview https://deploy-preview-2009--netlify-plugin-nextjs-static-root-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-nx-monorepo-demo/deploys/641d8c6d964bf80008c97f86
😎 Deploy Preview https://deploy-preview-2009--netlify-plugin-nextjs-nx-monorepo-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Mar 24, 2023
@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for next-plugin-edge-middleware ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-edge-middleware/deploys/641d8c6dd6c67700089e6aa1
😎 Deploy Preview https://deploy-preview-2009--next-plugin-edge-middleware.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for netlify-plugin-nextjs-export-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-export-demo/deploys/641d8c6dbd545900086c58cd
😎 Deploy Preview https://deploy-preview-2009--netlify-plugin-nextjs-export-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for next-plugin-canary ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/next-plugin-canary/deploys/641d8c6d6e95a7000861b237
😎 Deploy Preview https://deploy-preview-2009--next-plugin-canary.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for netlify-plugin-nextjs-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-demo/deploys/641d8c6d6e95a7000861b23c
😎 Deploy Preview https://deploy-preview-2009--netlify-plugin-nextjs-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for next-i18next-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/next-i18next-demo/deploys/641d8c6d61ca7400087bf1c9
😎 Deploy Preview https://deploy-preview-2009--next-i18next-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for nextjs-plugin-custom-routes-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/nextjs-plugin-custom-routes-demo/deploys/641d8c6dc16595000812ca48
😎 Deploy Preview https://deploy-preview-2009--nextjs-plugin-custom-routes-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 24, 2023

Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!

Name Link
🔨 Latest commit 3e19b4e
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-nextjs-next-auth-demo/deploys/641d8c6d6e8e3f000801110d
😎 Deploy Preview https://deploy-preview-2009--netlify-plugin-nextjs-next-auth-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@MarcL MarcL merged commit b9764bd into main Mar 24, 2023
@MarcL MarcL deleted the marcl/fix-nightly-e2e-test-failure branch March 24, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants