Skip to content

Commit f2030e4

Browse files
committed
🚚 Disable danger workflow
- Consider trying it again someday?
1 parent cbfefad commit f2030e4

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 }}

0 commit comments

Comments
 (0)