Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community: prevent gitlab commit on main branch for Gitlab tool (#27750)
### About - **Description:** In the Gitlab utilities used for the Gitlab tool there is no check to prevent pushing to the main branch, as this is already done for Github (for example here: https://github.com/lorenzb07/langchain/blob/5a2cfb49e045988d290a1c7e3a0c589d6b371694/libs/community/langchain_community/utilities/github.py#L587). This PR add this check as already done for Github. - **Issue:** None - **Dependencies:** None
- Loading branch information