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

Having issues to get danger to work with GH actions

I am trying to use danger-js with GitHub Actions. I am using GITHUB_TOKEN but that doesn’t work I even tried using a bot token but don’t know what I do wrong. Here is draft PR: https://github.com/shabados/docs/pull/45 Here is an example run…

thumbsup
0
message-simple
4

Can I transpile Typscript to vanilla JS?

Hello, In an attempt to reuse the same dangefile and custom plugins for multiple repos, I'm looking for a way to use typescript and then transpile it to vanilla js so danger can be supported on any kind of project (without needing to worry about typescript versions). Can anybody…

thumbsup
0
message-simple
0

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