Skip to content

Commit b4ab666

Browse files
[CI] Update danger usage (#3697)
1 parent 47c5024 commit b4ab666

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/smoke-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
fetch-depth: 100
5757
- uses: ./.github/actions/bootstrap
5858
- name: Run Danger
59-
run: bundle exec danger
59+
run: bundle exec fastlane lint_pr
6060
- name: Run Fastlane Linting
6161
run: bundle exec fastlane rubocop
6262
- name: Run SwiftFormat Linting

fastlane/Fastfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,11 @@ lane :rubocop do
793793
sh('bundle exec rubocop')
794794
end
795795

796+
desc 'Run PR linting'
797+
lane :lint_pr do
798+
danger(dangerfile: 'Dangerfile') if is_ci
799+
end
800+
796801
lane :install_runtime do |options|
797802
install_ios_runtime(version: options[:ios], custom_script: 'Scripts/install_ios_runtime.sh')
798803
end

0 commit comments

Comments
 (0)