Module: Fastlane::Actions::BuildkiteLogActionsAsCollapsibleGroups

Included in:
Fastlane::Actions
Defined in:
lib/fastlane/plugin/wpmreleasetoolkit/helper/buildkite_aware_log_groups.rb

Instance Method Summary collapse

Instance Method Details

#execute_action(action_name) ⇒ Object



21
22
23
24
25
26
27
28
# File 'lib/fastlane/plugin/wpmreleasetoolkit/helper/buildkite_aware_log_groups.rb', line 21

def execute_action(action_name, &)
  unless %w[is_ci? is_ci].include?(action_name)
    current_lane = lane_context[SharedValues::CURRENTLY_RUNNING_LANE_NAME]
    lane_name_prefix = (current_lane || '').empty? ? '' : "[lane :#{current_lane}]"
    puts "~~~ :fastlane: #{lane_name_prefix} #{action_name}"
  end
  super
end