Pre-receieve hook to rejects commits with certain extension

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Repository - Hooks
    • None
    • 1

      Problem Definition

      Currently, these are the default pre-receieve hooks in Bitbucket Data Center; Using repository hooks.

      • Reject Force Push - rejects all force pushes to a repository.
      • Verify Commit Signature - rejects commits and tags without a verified GPG signature.
      • Verify Committer - rejects commits not committed by the user pushing to a repository.

      Suggested Solution

      Add a new default pre-receieve hook to reject commits with certain extension.

      Workaround

      Build a custom pre-recieve hook based on How to create a simple hook in Bitbucket Data Center.

            Assignee:
            Unassigned
            Reporter:
            Moga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: