langchain
3dfdb3e6 - community: prevent gitlab commit on main branch for Gitlab tool (#27750)

Commit
1 year ago
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
Author
Parents
Loading