Skip to content

Commit

Permalink
Fix xcmetrics PR detection (#3117)
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Mar 29, 2024
1 parent 67156b3 commit 6b0022e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ lane :xcmetrics do |options|
UI.user_error!("See Firebase error above ☝️") unless firebase_error.to_s.empty?

if is_ci
pr_comment_required = ENV.key?('GITHUB_PR_NUM')
pr_comment_required = !ENV['GITHUB_PR_NUM'].to_s.empty?
performance_benchmarks[current_branch] = branch_performance
UI.message("Performance benchmarks: #{performance_benchmarks}")
File.write(performance_path, JSON.pretty_generate(performance_benchmarks))
Expand Down

0 comments on commit 6b0022e

Please sign in to comment.