Failure in ee/browser_ui/3_create/repository/group_file_template_spec.rb | Create Group file templates creates file via custom .gitignore file template

Test metadata (don't modify)

Field Value
File qa/specs/features/ee/browser_ui/3_create/repository/group_file_template_spec.rb
Description Create Group file templates creates file via custom .gitignore file template
Hash f331621283516339e5776a93a11f9b00babeb39c9141f64386389f41b3795de6

Stack trace

Failure/Error:
  Resource::Repository::Commit.fabricate_via_api! do |commit|
    commit.project = file_template_project
    commit.commit_message = 'Add group file templates'
    commit.add_files(templates)
    commit.api_client = api_client
  end

QA::Resource::Errors::ResourceFabricationFailedError:
  Fabrication of QA::Resource::Repository::Commit using the API failed (400) with `{"message":"denied by custom hooks"}`.
  Correlation Id: 01H071X0BPY5CGGY675PAFYE7E

First happened in https://gitlab.com/gitlab-org/gitlab/-/jobs/4272275999.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347655.