Skip to content

Commit 0276d06

Browse files
[CI] Update danger usage (#859)
1 parent 62efc5d commit 0276d06

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
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v4.1.1
5555
- uses: ./.github/actions/bootstrap
5656
- name: Run Danger
57-
run: bundle exec danger
57+
run: bundle exec fastlane lint_pr
5858
- name: Run Fastlane Linting
5959
run: bundle exec fastlane rubocop
6060
- name: Run SwiftFormat Linting

fastlane/Fastfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,11 @@ lane :rubocop do
495495
sh('bundle exec rubocop')
496496
end
497497

498+
desc 'Run PR linting'
499+
lane :lint_pr do
500+
danger(dangerfile: 'Dangerfile') if is_ci
501+
end
502+
498503
lane :install_runtime do |options|
499504
install_ios_runtime(version: options[:ios], custom_script: 'Scripts/install_ios_runtime.sh')
500505
end

0 commit comments

Comments
 (0)