Skip to content

Commit 2cc046e

Browse files
authored
Create dangerbot.yml
1 parent 8cd3474 commit 2cc046e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/dangerbot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: off-dangerbot
2+
3+
on:
4+
pull_request:
5+
types: assigned
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
- name: Set up Ruby 2.6
15+
uses: actions/setup-ruby@v1
16+
with:
17+
ruby-version: 2.6.x
18+
- name: Assign reviewer if prompted
19+
# API token for off-dangerbot
20+
env:
21+
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
22+
run: |
23+
gem install danger --version '~> 5.0'
24+
danger --version
25+
danger

0 commit comments

Comments
 (0)