Skip to content
play

GitHub Action

actionshub-danger-rb

v2.1.2 Latest version

actionshub-danger-rb

play

actionshub-danger-rb

Playground, do not use

Installation

Copy and paste the following snippet into your .yml file.

              

- name: actionshub-danger-rb

uses: actionshub/danger-rb@v2.1.2

Learn more about this action in actionshub/danger-rb

Choose a version

danger

CI State

A Github Action to run Danger for Ruby

Usage

name: danger

on: [push, pull_request]

jobs:
  danger:

    runs-on: ubuntu-latest

    steps:
      - name: Check out code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Run Danger
        uses: actionshub/danger-rb@master
        env:
          DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}