menu
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

Danger plugin development

I'm trying to build a new plugin for danger but I would love to understand how can I make the development experience better. I started with the Extending Danger docs, but I came to some problems. As I'm using Typescript, I need to compile and then run the plugin code. So I added…

thumbsup
0
message-simple
3

How to get rid of the bullet and the warning icon

When posting inline comment on a GitHub PR with warn(), there's always a bullet and a warning icon in front of the comment content. How do I get rid of the bullet and the warning icon? Many thanks.

thumbsup
0
message-simple
5

Check if it's the first time Danger runs

I would like to send a Slack notification when a PR is created and it modifies some specific files. But I would like to send that notification only the first time Danger runs (so if there's another push, no notification is send). Is there some way to detect if it's the first…

thumbsup
0
message-simple
4

GitHub, DroneCI and Danger editing coments

I currently work in a large project that have multiple pipelines in DroneCI. We are mainly using DangerJS to print back information from the pipeline to GitHub. We have a limitation that requires our Danger steps to be broken up into two separated phases: the first to do a…

thumbsup
0
message-simple
2

Gitlab support

I've been looking through DangerJS repo and my understanding is that DangerJS supports Gitlab since version 8. But I can't find any instructions on how to set it up on the guides. So I configured it following the ruby version guide but it fails to detect MRs and just logs out:…

thumbsup
0
message-simple
4

[github][token] Github Action, secret.DANGER_GITHUB_API_TOKEN not recognized

During github action run, error points that secret.GITHUB_TOKEN is undefined. But the error message said: The DANGER_GITHUB_API_TOKEN/DANGER_BITBUCKETSERVER_HOST/DANGER_GITLAB_API_TOKEN environmental variable is missing …

thumbsup
0
message-simple
2

Can't get any reporting to work from Github actions

I'm not getting checks or comments reported back to the PR, but I'm not seeing any errors with --verbose or DEBUG="*". I'm seeing messages from danger in the build logs (warnings) but danger is reporting that checks are disabled even when --use-github-checks is passed in. I have…

thumbsup
0
message-simple
0

Danger JS actually runs your imports as globals

There is discussion about how and why this works in the guides for creating a plugin: http://danger.systems/js/usage/extending-danger.html

thumbsup
0
message-simple
20

Fail CI build based on build output

Is there any way to force build failure depending upon build output. e.g. circular dependency?

thumbsup
0
message-simple
3

Assign PR to user

Hey, I wonder if there is a way to assign a PR to a user using Danger. In the GitHubPRDSL I found a property which contains all assigned users, but I would like to be able to set those https://danger.systems/js/reference.html#GitHubPRDSL

thumbsup
0
message-simple
2