Skip to content
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

Added cypress passed label #5652

Merged
merged 3 commits into from
Jun 13, 2023
Merged

Added cypress passed label #5652

merged 3 commits into from
Jun 13, 2023

Conversation

khavinshankar
Copy link
Member

@khavinshankar khavinshankar commented Jun 13, 2023

WHAT

🤖 Generated by Copilot at 8aa29c3

The code adds steps to the cypress workflow to automatically label pull requests with cypress passed or remove the label if the tests fail. This helps to show the test status and readiness of the pull requests.

Proposed Changes

  • Added cypress passed label

cc: @nihal467

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at 8aa29c3

  • Add and remove "cypress passed" label to pull request based on cypress test results (link)

@khavinshankar khavinshankar requested a review from a team June 13, 2023 07:56
@khavinshankar khavinshankar requested a review from a team as a code owner June 13, 2023 07:56
@vercel
Copy link

vercel bot commented Jun 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2023 9:20am

@netlify
Copy link

netlify bot commented Jun 13, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 93b0045
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/648834788888040008398319
😎 Deploy Preview https://deploy-preview-5652--care-egov-staging.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.

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khavinshankar we could squash the 4 steps of remove and add labels by using multiple labels at once to 2 steps right?

        with:
          labels: |
            label-1
            label-2

https://github.com/actions-ecosystem/action-remove-labels#remove-multiple-labels-with-a-comment

@github-actions github-actions bot added cypress passed cypress failed pull request with cypress test failure and removed cypress passed labels Jun 13, 2023
@github-actions github-actions bot added cypress passed and removed cypress failed pull request with cypress test failure labels Jun 13, 2023
@khavinshankar
Copy link
Member Author

@khavinshankar we could squash the 4 steps of remove and add labels by using multiple labels at once to 2 steps right?

        with:
          labels: |
            label-1
            label-2

https://github.com/actions-ecosystem/action-remove-labels#remove-multiple-labels-with-a-comment

@rithviknishad but the if logic is different here

@mathew-alex mathew-alex merged commit 7ea508d into develop Jun 13, 2023
29 checks passed
@github-actions
Copy link

@khavinshankar We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

@sainak sainak deleted the cypress-passed-label branch January 19, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants