File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
.github/disabled-workflows Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : What's up Danger?
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' main'
7+ - ' *-stable'
8+
9+ jobs :
10+ danger :
11+ runs-on : ubuntu-latest
12+ env : # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
13+ BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
14+ if : false
15+ # if: github.event_name == 'pull_request' # if only run pull request when multiple trigger workflow
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ gemfile :
20+ - vanilla
21+ rubygems :
22+ - latest
23+ bundler :
24+ - latest
25+ ruby :
26+ - " ruby"
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@v4
30+ - name : Setup Ruby & Bundle
31+ uses : ruby/setup-ruby@v1
32+ with :
33+ ruby-version : ${{ matrix.ruby }}
34+ rubygems : ${{ matrix.rubygems }}
35+ bundler : ${{ matrix.bundler }}
36+ bundler-cache : true
37+ - uses : MeilCli/danger-action@v6
38+ with :
39+ plugins_file : ' Gemfile'
40+ install_path : ' vendor/bundle'
41+ danger_file : ' Dangerfile'
42+ danger_id : ' danger-pr'
43+ env :
44+ DANGER_GITHUB_API_TOKEN : ${{ secrets.DANGER_GITHUB_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments