Skip to content

Commit c011c93

Browse files
authored
Merge pull request #498 from openforcefield/dangerbot
Add Dangerbot
2 parents 8cd3474 + ce7ca45 commit c011c93

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-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

Dangerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Run the shared Dangerfile with these settings
2+
danger.import_dangerfile(github: "openforcefield/dangerbot")

0 commit comments

Comments
 (0)