Skip to content

Commit

Permalink
Create danger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanpe authored Feb 13, 2020
1 parent bde2452 commit 2e40eec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Danger
on: [pull_request]

jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.6'
- uses: MeilCli/danger-action@v2
with:
plugins_file: 'Gemfile'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e40eec

Please sign in to comment.