# Danger

🚫 Stop saying "you forgot to …" in code review (in Ruby)

Repository: https://github.com/danger/danger
Canonical: https://ross.abutalabs.com/products/danger
Homepage: https://danger.systems
Language: Ruby
License: MIT
License Family: permissive
Topics: ci, automation, github, gitlab, bitbucket, travis, circle, danger, code-review
Last push: 2026-07-29T03:30:00+00:00
Link (homepage): https://danger.systems

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 71, longevity 100
- inputs: {"age_days": 3991, "days_push": 35, "days_rel": 35, "gap_med": 149.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5689, forks 487 (observed 2026-08-28T04:09:27.952590+00:00)

## What it is
Danger is a Ruby-based tool that runs during CI to automate code review chores, letting teams codify pull request etiquette rules like enforcing CHANGELOGs or JIRA links. It offers a DSL and plugin system for building team-specific review rules across GitHub, GitLab, and Bitbucket.

## Use cases
- automate pull request checks in CI
- enforce changelog updates on PRs
- require JIRA or Trello links in PR descriptions
- flag common code review anti-patterns automatically
- post automated review comments on pull requests
- codify team code review norms

## When to choose
- your team wants to automate repetitive code review chores
- you use GitHub, GitLab, or Bitbucket with CI
- you want a Ruby DSL and plugin ecosystem for PR rules

## When to avoid
- you need a non-Ruby toolchain (consider danger-js or danger-swift)
- your CI has no access to the code hosting platform API
- you only need simple linting rather than PR-level rules

## Facets
- artifact type: library
- maturity: stable
- function: ci-cd, code-review, developer-tools, workflow-automation, plugin-system
- domain: developer-tools, version-control
- platform: cli, ruby
- tags: code-review, pull-request, ci-automation, github, gitlab, bitbucket, dsl, automation, devops

## Member repositories
- danger/danger (main) score 88
- danger/danger-js (mirror) score 95
- danger/swift (mirror) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:27.952590+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:53:44.579310+00:00, confidence not recorded.
  - readme: https://github.com/danger/danger (fetched 2026-08-28T04:09:27.952590+00:00, sha 0c5e5906212c)
  - homepage: https://danger.systems (fetched 2026-08-29T08:49:21.429016+00:00, sha 22fc07069ce6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
