menu
announcement

Spectrum will become read-only on August 10, 2021. Learn more about the decision in our official announcement.

Channels
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Docs
view-forward
# JavaScript
view-forward
# Peril
view-forward
# Ruby
view-forward
# Swift
view-forward
Team
Posts
Members
Info

The Developers' Bakery Podcast - Danger with Franco Meloni

Hi all, I'd love to share a podcast about open-source I'm curating. In Ep. 03 I had the pleasure to chat with @f-meloni(f-meloni), talking about danger, danger/kotlin and danger/swift: https://thebakery.dev/03/ …

thumbsup
0
message-simple
0

Hey folks, I can't seem to import an npm module (that I installed with yarn)

like so: all I get is MODULE_NOT_FOUND. Any advice on how to fix this?

thumbsup
0
message-simple
0

Trying to read diff for one single commit

Is there a way to get a TextDiff for the latest commit using danger.git? I've tried using getDiffForFile but it's returning diffs for all the commits on the branch. Thanks in advance for the help!

thumbsup
0
message-simple
1

Support for gerrit code review

Hey :) I want to use danger for a project I'm working on. Unfortunately this project is not hosted on GitHub, but gerrit (https://www.gerritcodereview.com/). Any tips on where to start implementing another code review provider? I'm interested in gathering PR information data as…

thumbsup
0
message-simple
4

Dimissing danger comments with… comments

Is it possible to dismiss danger-js comments with a comment on GitHub from repo admins? Something like @ mybot it's okay ? :)

thumbsup
0
message-simple
2

How do I run danger against the merge commit?

Hi there. I'm using Danger with GitHub Actions for my open-pixel-art project and it's hitting the issue where JSON patch I'm generating using Danger is claiming items have been removed even though they weren't. If I look at the diff that GitHub's UI is generating they are…

thumbsup
0
message-simple
0

Is there a way to make the Warnings table collapsible?

We tried inserting markdown before and after the warnings are generated but this of course didn't work, tbf the docs say this but we were in a hurry :)

thumbsup
0
message-simple
0

Reading current git branch name

Hello! Is there any way to retrieve the name of the current branch in a dangerfile script? It seems the API lacks anything relating to branch or ref

thumbsup
0
message-simple
1

Good morning. Are there any plans of creating a Python version of Danger?

thumbsup
0
message-simple
4

How do I get total modified files, except some files (danger-js)?

I need get total modified lines in Pull Request, but I want disconsider some files, example: yarn.lock. Its possible?

thumbsup
0
message-simple
2