File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 danger :
99 name : Run Danger
10- runs-on : ubuntu -latest
10+ runs-on : macos -latest
1111 steps :
1212 - name : Checkout the Git repository
1313 uses : actions/checkout@v2
1414 with :
15- fetch-depth : 0
16- # - name: Cache Gems
17- # uses: actions/cache@v1
18- # with:
19- # path: vendor/bundle
20- # key: ${{ runner.os }}-danger-${{ env.cache-name }}-gems-${{ hashFiles('**/Gemfile.lock') }}
21- # restore-keys: |
22- # ${{ runner.os }}-danger-${{ env.cache-name }}-gems-
23- # ${{ runner.os }}-danger-${{ env.cache-name }}-
24- # ${{ runner.os }}-danger-
25- # - name: Run build script
26- # run: gem install bundler && bundle install && bundle exec danger --fail-on-errors=true
27- # env:
28- # DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+ fetch-depth : 100
16+ token : ${{ secrets.GITHUB_TOKEN }}
17+ ref : ${{ github.event.pull_request.head.ref }}
18+ - name : Run build script
19+ run : gem install bundler && bundle install && bundle exec danger --fail-on-errors=true
20+ env :
21+ DANGER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments