Skip to content

Commit

Permalink
Merge pull request #2 from Transl-me/feature/specifying_default_branc…
Browse files Browse the repository at this point in the history
…h_provenance

Specifying default branch provenance on init
  • Loading branch information
VicGUTT authored Nov 1, 2024
2 parents e44ace1 + 38e9ade commit 74ff73d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Api/Requests/CommandRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function initStart(ProjectConfiguration $project, Branch $branch, Branch
],
'branching' => [
'default_branch_name' => $defaultBranch->name,
'default_branch_provenance' => $defaultBranch->provenance(),
],
]);
}
Expand Down
1 change: 1 addition & 0 deletions tests/src/Actions/Commands/InitCommandActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ public function execute(
],
'branching' => [
'default_branch_name' => 'default',
'default_branch_provenance' => 'default',
],
]);
});
Expand Down

0 comments on commit 74ff73d

Please sign in to comment.