Runs danger for the project

Formalize your Pull Request etiquette. More information: https://github.com/danger/danger

Supported platforms ios, android, mac
Author @KrauseFx

2 Examples

  danger_id: "unit-tests",
  dangerfile: "tests/MyOtherDangerFile",
  github_api_token: ENV["GITHUB_API_TOKEN"],
  verbose: true


Key Description Default
use_bundle_exec Use bundle exec when there is a Gemfile presented true
verbose Show more debugging information false
danger_id The identifier of this Danger instance
dangerfile The location of your Dangerfile
github_api_token GitHub API token for danger
fail_on_errors Should always fail the build process, defaults to false false
new_comment Makes Danger post a new comment instead of editing its previous one false
base A branch/tag/commit to use as the base of the diff. [master dev
head A branch/tag/commit to use as the head. [master dev
pr Run danger on a specific pull request. e.g. "https://github.com/danger/danger/pull/518"

* = default value is dependent on the user's system

To show the documentation in your terminal, run

fastlane action danger

View source code

Back to actions