Skip to content

Commit

Permalink
Fix using provided actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Sep 27, 2024
1 parent e4114cd commit fac739e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ class DdgAppleAutomationHelper
}.freeze

def self.code_freeze_prechecks
other_action.ensure_git_status_clean
other_action.ensure_git_branch(branch: DEFAULT_BRANCH)
other_action.git_pull
Actions.ensure_git_status_clean
Actions.ensure_git_branch(branch: DEFAULT_BRANCH)
Actions.git_pull

other_action.git_submodule_update(recursive: true, init: true)
other_action.ensure_git_status_clean
Actions.git_submodule_update(recursive: true, init: true)
Actions.ensure_git_status_clean
end

def self.validate_new_version(version)
Expand Down Expand Up @@ -156,7 +156,7 @@ def self.update_embedded_files(params)
unless modified_files.empty?
modified_files.each { |modified_file| sh('git', 'add', modified_file.to_s) }
Actions.sh('git', 'commit', '-m', 'Update embedded files')
other_action.ensure_git_status_clean
Actions.ensure_git_status_clean
end
end

Expand Down

0 comments on commit fac739e

Please sign in to comment.