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

[Tooling] Setting up Danger #534

Merged
merged 4 commits into from
Oct 28, 2024
Merged

[Tooling] Setting up Danger #534

merged 4 commits into from
Oct 28, 2024

Conversation

iangmaia
Copy link
Contributor

@iangmaia iangmaia commented Oct 25, 2024

Description

PR setting up Danger and Dangermattic checks in the repo.
See pdnsEh-1TU-p2.

Testing Steps

  • Make sure there's a Danger status check posted in the GitHub build
  • Make sure that, if applicable, a message from the bot Dangermattic bot is posted in the PR
  • Make sure changes in the PR (e.g. removing, adding labels) trigger Danger to run again

@wpmobilebot
Copy link

wpmobilebot commented Oct 25, 2024

Gravatar SwiftUI Prototype Build📲 You can test the changes from this Pull Request in Gravatar SwiftUI Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar SwiftUI Prototype Build Gravatar SwiftUI Prototype Build
Build Number1637
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-swiftui.prototype-build
Commitd2c39f2
App Center BuildGravatar SDK Demo - SwiftUI #333
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link

wpmobilebot commented Oct 25, 2024

Gravatar UIKit Prototype Build📲 You can test the changes from this Pull Request in Gravatar UIKit Prototype Build by scanning the QR code below to install the corresponding build.
App NameGravatar UIKit Prototype Build Gravatar UIKit Prototype Build
Build Number1637
Version1.0
Bundle IDcom.automattic.gravatar-sdk-demo-uikit.prototype-build
Commitd2c39f2
App Center BuildGravatar SDK Demo - UIKit #334
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@iangmaia iangmaia added the CI/CD label Oct 25, 2024
@iangmaia iangmaia marked this pull request as ready for review October 25, 2024 17:15
@iangmaia iangmaia requested review from pinarol and a team October 25, 2024 17:16
github.dismiss_out_of_range_messages

# `files: []` forces rubocop to scan all files, not just the ones modified in the PR
# `skip_bundle_exec` prevents RuboCop from running using `bundle exec`, which we don't want on the linter agent
Copy link
Contributor

Choose a reason for hiding this comment

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

Unrelated to this PR, but now that the new standard is to use the linter agent for all repos that are using Dangermattic, I wonder if skip_bundle_exec: true shouldn't be the new default for this Dangermattic action 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This call is actually from danger-rubocop itself, but I agree, and this is something I remember thinking / discussing with someone else a while ago. files: [] can also be a default. Perhaps we can add in Dangermattic a helper or a patch to the Rubocop plugin adding these defaults.

Dangerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@pinarol pinarol left a comment

Choose a reason for hiding this comment

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

Thank you!
:shipit:

Co-authored-by: Olivier Halligon <[email protected]>
Dangerfile Outdated Show resolved Hide resolved
Dangerfile Outdated Show resolved Hide resolved
@pinarol
Copy link
Contributor

pinarol commented Oct 28, 2024

We can close #533 after merging this.

@iangmaia iangmaia merged commit 669dad2 into trunk Oct 28, 2024
11 checks passed
@iangmaia iangmaia deleted the iangmaia/setup-danger branch October 28, 2024 10:13
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.

6 participants