Failure in api/1_manage/import/import_github_repo_spec.rb | Manage Project import imports Github repo via api

Full description

Manage Project import imports Github repo via api

File path

./qa/specs/features/api/1_manage/import/import_github_repo_spec.rb

Stack trace

Failure/Error: expect(imported_project.push_rules[:reject_unsigned_commits]).to be_truthy

NoMethodError:
  undefined method `push_rules' for #<QA::Resource::ProjectImportedFromGithub:0x00007ff199dcfa68>
  Did you mean?  push_events

First happened in https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/3240199153.

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