Skip to content

Commit 81d44b2

Browse files
committed
Add extra params
1 parent 6e39ce8 commit 81d44b2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/fastlane/plugin/ddg_apple_automation/actions/tag_release_action.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,19 @@ def self.run(params)
3434
begin
3535
Helper::GitHelper.unfreeze_release_branch(branch, platform, params[:github_token])
3636
rescue StandardError => e
37+
Helper::GitHubActionsHelper.set_output("stop_workflow", true)
3738
task_id = AsanaExtractTaskIdAction.run(task_url: params[:asana_task_url])
3839
AsanaReportFailedWorkflowAction.run(
40+
asana_access_token: params[:asana_access_token],
41+
github_token: params[:github_token],
42+
platform: platform,
3943
task_id: task_id,
4044
branch: branch,
4145
github_handle: params[:github_handle],
4246
workflow_name: "Tag Release",
4347
workflow_url: ENV.fetch("WORKFLOW_URL", nil)
4448
)
4549
UI.important("Failed to unfreeze release branch. Cannot proceed with the public release. Please unfreeze manually and run the workflow again.")
46-
Helper::GitHubActionsHelper.set_output("stop_workflow", true)
4750
Helper::DdgAppleAutomationHelper.report_error(e)
4851
return
4952
end

0 commit comments

Comments
 (0)