File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767
6868rails_root = ENV . fetch ( "RAILS_ROOT" , "." )
6969runner = Importmap ::Update ::Commands ::ShellRunner . new ( cwd : rails_root )
70- gh = Importmap ::Update ::GitHubClient . new ( repo : repo , token : token )
70+ gh = Importmap ::Update ::GitHubClient . new ( repo :, token :)
7171git = Importmap ::Update ::GitClient . new (
7272 repo : Git . open ( rails_root ) ,
7373 author_name : ENV . fetch ( "IMPORTMAP_AUTHOR_NAME" , "github-actions[bot]" ) ,
@@ -81,10 +81,10 @@ plan = Importmap::Update::Planner.new(
8181) . call
8282
8383existing_prs = gh . list_open_prs ( branch_prefix : config . branch_prefix )
84- reconciled = Importmap ::Update ::Reconciler . new ( plan : plan , existing_prs : existing_prs ) . call
84+ reconciled = Importmap ::Update ::Reconciler . new ( plan :, existing_prs :) . call
8585
8686executor = Importmap ::Update ::Executor . new (
87- gh : gh , git : git , runner : runner ,
87+ gh :, git :, runner :,
8888 base_branch : ENV . fetch ( "IMPORTMAP_BASE_BRANCH" , "main" ) ,
8989 commit_message_prefix : config . commit_message . prefix ,
9090 labels : config . labels ,
You can’t perform that action at this time.
0 commit comments