Data source gitlab_project_branches should support regex and search properties

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Data source gitlab_project_branches has only one input parameter, project. But related Gitlab REST API suports optional paramters regex and search. Would be great if this data source will have the same functionality.

Implementation Guide

  • Read the CONTRIBUTING.md guide to see how to set up your local development environment.
  • Add regex and search to the datasource schema as optional attributes.
  • Add regex and search to the ListBranchesOptions struct if they are non-nil and non-unknown.
  • Add datasource tests using the two new options.
Edited by 🤖 GitLab Bot 🤖