We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9857f39 commit cb3ba63Copy full SHA for cb3ba63
.github/workflows/danger.yml
@@ -0,0 +1,32 @@
1
+name: Danger
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - stable
6
+
7
+jobs:
8
+ Danger:
9
+ runs-on: macos-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Cache Bundle Dependencies
13
+ uses: actions/cache@v1
14
+ with:
15
+ path: vendor/bundle
16
+ key: 1-gems-{{ checksum "Gemfile.lock" }}
17
+ restore-keys: 1-gems-
18
+ - name: Set Ruby Version
19
+ uses: actions/setup-ruby@v1
20
21
+ ruby-version: 2.6
22
+ - name: Install Ruby Dependencies
23
+ run: |
24
+ bundle config path vendor/bundle
25
+ bundle check || bundle install
26
+ env:
27
+ BUNDLE_JOBS: 4
28
+ BUNDLE_RETRY: 3
29
+ - name: Running Danger
30
+ run: bundle exec danger
31
32
+ DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
0 commit comments