From 2fe6dcd3fcefea6cd81c6f6a8664ef56688512cd Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 31 Oct 2025 16:32:11 +0100 Subject: [PATCH 1/3] Replace other_action.sh with Actions.sh --- .../actions/configure/configure_apply_action.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb b/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb index a06e4d8a3..8394204a4 100644 --- a/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb +++ b/lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb @@ -42,14 +42,14 @@ def self.prepare_repository original_repo_ref = Fastlane::Helper::ConfigureHelper.repo_branch_name original_repo_ref = repo_hash if original_repo_ref.nil? - other_action.sh(command: "cd #{repository_path} && git fetch && git checkout #{file_hash}", log: false) unless repo_hash == file_hash + Actions.sh("cd #{repository_path} && git fetch && git checkout #{file_hash}", log: false) unless repo_hash == file_hash # Run the provided block yield ### Restore secrets repo to original branch. If it was originally in a ### detached HEAD state, we need to use the hash since there's no branch name. - other_action.sh(command: "cd #{repository_path} && git checkout #{original_repo_ref}", log: false) + Actions.sh("cd #{repository_path} && git checkout #{original_repo_ref}", log: false) end ### Check with the user whether we should overwrite the file, if it exists From d86f2cc59357ea16f8c045d3067ad6365c98c011 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 31 Oct 2025 17:15:12 +0100 Subject: [PATCH 2/3] Add changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 379cd1cb8..5af63d351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ _None_ ### Bug Fixes -_None_ +- Fix NoMethodError (`undefined method 'trigger_action_by_name' for nil:NilClass`) when running `configure_setup` by replacing `other_action.sh` calls with `Actions.sh` in `configure_apply_action`. [#670] ### Internal Changes From b3e3796479b259a5e97cea6a43dfdca9deacfd5a Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 31 Oct 2025 19:26:27 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5af63d351..5dbd7fd08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ _None_ ### Bug Fixes -- Fix NoMethodError (`undefined method 'trigger_action_by_name' for nil:NilClass`) when running `configure_setup` by replacing `other_action.sh` calls with `Actions.sh` in `configure_apply_action`. [#670] +- Fix `NoMethodError` (`undefined method 'trigger_action_by_name' for nil:NilClass`) when running `configure_setup`. [#670] ### Internal Changes