blob: fcc506f6cc97f703c12f20a8ad7fb2edf3b3423f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
name: CI
on:
pull_request:
branches:
- master
jobs:
danger:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- uses: MeilCli/danger-action@v5.5.0
with:
danger_file: Dangerfile
danger_id: danger-pr
install_path: vendor/bundle
plugins_file: Gemfile
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|