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

chore: set up semantic-pull-request GitHub Action #20091

Merged
merged 3 commits into from
Feb 8, 2022

Conversation

flotwig
Copy link
Contributor

@flotwig flotwig commented Feb 8, 2022

  • Closes

User facing changelog

Additional details

How has the user experience changed?

PR Tasks

  • [na] Have tests been added/updated?
  • [na] Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?
  • [na] Have new configuration options been added to the cypress.schema.json?

Post-Merge:

  • Disable Github App
  • Add this check to required checks

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 8, 2022

Thanks for taking the time to open a PR!

@flotwig flotwig marked this pull request as ready for review February 8, 2022 16:02
@flotwig flotwig requested a review from a team as a code owner February 8, 2022 16:02
@flotwig flotwig requested review from jennifer-shehane and removed request for a team February 8, 2022 16:02
@ryanthemanuel ryanthemanuel self-requested a review February 8, 2022 16:04
name: Lint Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
Copy link
Member

Choose a reason for hiding this comment

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

@flotwig Is this a certified GitHub action? I know we've hesitated bringing in randomly published github actions since they get permissions to our repo which could be problematic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't seem to be. Should I fork it to cypress-io org to lock it down?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switched to using a fork under the cypress-io org.

Copy link
Member

Choose a reason for hiding this comment

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

IMO we should use the existing repository instead of adding another forked repository to maintain. If issues occur, we can lean on the open-source community to contribute to the fixes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The issue is that at any point the action publisher can re-tag a release. You can mitigate this by using a SHA1 hash but there can still be a collision. GitHub recommends only using 3rd party actions by "authors you trust": https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Copy link
Contributor

Choose a reason for hiding this comment

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

My only ask is that we add a comment here explaining why we're pointing to a forked version of the repo. And maybe in the forked version of the repo's README as well, though that's less important.

Copy link
Member

Choose a reason for hiding this comment

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

Discussed during our sync today. Moving forward with forked repository. 👍🏻

@cypress
Copy link

cypress bot commented Feb 8, 2022



Test summary

19177 0 218 0Flakiness 11


Run details

Project cypress
Status Passed
Commit a0e78f6
Started Feb 8, 2022 4:57 PM
Ended Feb 8, 2022 5:09 PM
Duration 12:07 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

commands/xhr_spec.js Flakiness
1 ... > no status when request isnt forced 404
e2e/e2e_cookies_spec.js Flakiness
1 e2e cookies spec > __Host- prefix > can set __Host- cookie
2 e2e cookies spec > __Host- prefix > errors when __Host- cookie and path
3 e2e cookies spec > __Secure- prefix > errors when __Secure- cookie secure:false
4 e2e cookies spec > __Host- prefix > errors when __Host- cookie and secure:false
This comment includes only the first 5 flaky tests. See all 11 flaky tests in the Cypress Dashboard.

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
@flotwig flotwig merged commit bc6d240 into develop Feb 8, 2022
@flotwig flotwig deleted the semantic-pr-title-action branch February 8, 2022 21:03
tgriesser added a commit that referenced this pull request Feb 14, 2022
* develop:
  feat: gray out the path to system node in cypress run header (#20121)
  feat: redesign server errors (#20072)
  test: fix awesome-typescript-loader test and remove test-binary job (#20131)
  fix: Fix issues with stack traces and command log in Chrome 99 (#20049)
  fix: `cy.type(' ')` fires click event on button-like elements. (#20067)
  fix: `change`, `input` events are not fired when the same option is selected again. (#19623)
  build: publish vue3 on latest (#20099)
  chore: release @cypress/webpack-preprocessor-v5.11.1
  chore: release @cypress/webpack-dev-server-v1.8.1
  fix: detect newly added specs in dev-server compilation (#17950)
  chore: Remove pkg/driver //@ts-nocheck part 3 (#19837)
  chore: set up semantic-pull-request GitHub Action (#20091)
  chore: release @cypress/react-v5.12.2
  fix: remove nullish coalescing in js files to support node 12 (#20094)
  docs: update @cypress/webpack-preprocessor links (#19902)
  refactor: use aliases instead of meta (#19566)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants