A Github Action to run Danger for Ruby
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 }}