menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

danger

Spectrum chat for Danger

Channels
Team
Posts
Members
Info

How to setup running danger as a GitLab CI job?

I've tried to run Danger in GitLab CI. My .gitlab.yml looks like the following: When the job is run, it just states Which isn't to any surprise, because the job is run when something is pushed to the repo. So I added a GitLab trigger and set an GitLab integration to fire the…

message-simple
1

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/ …

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?

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!

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…

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 ? :)

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…

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 :)

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

message-simple
1

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

message-simple
4