Vijay Verma
Vijay Verma

Reputation: 65

gitlab push rule,allow one specific file gradle-wrapper.jar

As per developer requirement, I want to allow or whitelist one specific file in push rule. Please do let me know, I am unable to find an option for a single file.

Upvotes: 1

Views: 307

Answers (1)

VonC
VonC

Reputation: 1326556

Since GitLab push rules (starter edition and more) does not have whitelists, you might need to fallback to a workaround like:

  • restrict by commit message (if your file has the right commit message, it will be allowed)
  • open an issue, requesting that feature to be considered and implemented

Upvotes: 1

Related Questions