[go: up one dir, main page]

Skip to content

Push rule to prevent committing secrets should skip binaries

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

Zendesk: https://gitlab.zendesk.com/agent/tickets/80109

When the 'Prevent committing secrets to Git' push rule is enabled, the push could fail if the project has large binary files. The push rule attempts to inspect the binary files which takes a lot of time and the push will eventually timeout before completing. Even when the push is over SSH, the interaction with the internal API is subject to the 60 second timeout. Turning off this push rule allowed the customer to push the repository successfully.

cc/ @mydigitalself @stanhu

Edited by 🤖 GitLab Bot 🤖