diff --git a/.github/BOTMETA.yml b/.github/BOTMETA.yml index f1002d6c8bc..4b376a1a8a5 100644 --- a/.github/BOTMETA.yml +++ b/.github/BOTMETA.yml @@ -445,7 +445,7 @@ files: maintainers: $team_ucs $modules/remote_management/dellemc/: rajeevarakkal $modules/source_control/git.py: $team_ansible - $modules/source_control/github_key.py: + $modules/source_control/github/github_key.py: ignored: erydo $modules/source_control/gitlab_: &gitlab keywords: [ gitlab, source_control ] diff --git a/lib/ansible/modules/source_control/github/__init__.py b/lib/ansible/modules/source_control/github/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/lib/ansible/modules/source_control/_github_hooks.py b/lib/ansible/modules/source_control/github/_github_hooks.py similarity index 100% rename from lib/ansible/modules/source_control/_github_hooks.py rename to lib/ansible/modules/source_control/github/_github_hooks.py diff --git a/lib/ansible/modules/source_control/_github_webhook_facts.py b/lib/ansible/modules/source_control/github/_github_webhook_facts.py similarity index 100% rename from lib/ansible/modules/source_control/_github_webhook_facts.py rename to lib/ansible/modules/source_control/github/_github_webhook_facts.py diff --git a/lib/ansible/modules/source_control/github_deploy_key.py b/lib/ansible/modules/source_control/github/github_deploy_key.py similarity index 100% rename from lib/ansible/modules/source_control/github_deploy_key.py rename to lib/ansible/modules/source_control/github/github_deploy_key.py diff --git a/lib/ansible/modules/source_control/github_issue.py b/lib/ansible/modules/source_control/github/github_issue.py similarity index 100% rename from lib/ansible/modules/source_control/github_issue.py rename to lib/ansible/modules/source_control/github/github_issue.py diff --git a/lib/ansible/modules/source_control/github_key.py b/lib/ansible/modules/source_control/github/github_key.py similarity index 100% rename from lib/ansible/modules/source_control/github_key.py rename to lib/ansible/modules/source_control/github/github_key.py diff --git a/lib/ansible/modules/source_control/github_release.py b/lib/ansible/modules/source_control/github/github_release.py similarity index 100% rename from lib/ansible/modules/source_control/github_release.py rename to lib/ansible/modules/source_control/github/github_release.py diff --git a/lib/ansible/modules/source_control/github_webhook.py b/lib/ansible/modules/source_control/github/github_webhook.py similarity index 100% rename from lib/ansible/modules/source_control/github_webhook.py rename to lib/ansible/modules/source_control/github/github_webhook.py diff --git a/lib/ansible/modules/source_control/github_webhook_info.py b/lib/ansible/modules/source_control/github/github_webhook_info.py similarity index 100% rename from lib/ansible/modules/source_control/github_webhook_info.py rename to lib/ansible/modules/source_control/github/github_webhook_info.py diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt index 0b07156fcce..45b78585ee9 100644 --- a/test/sanity/ignore.txt +++ b/test/sanity/ignore.txt @@ -4534,7 +4534,6 @@ lib/ansible/modules/remote_management/ucs/ucs_wwn_pool.py validate-modules:undoc lib/ansible/modules/remote_management/ucs/ucs_wwn_pool.py validate-modules:nonexistent-parameter-documented lib/ansible/modules/remote_management/ucs/ucs_wwn_pool.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/remote_management/wakeonlan.py validate-modules:parameter-type-not-in-doc -lib/ansible/modules/source_control/_github_hooks.py validate-modules:doc-missing-type lib/ansible/modules/source_control/bzr.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/source_control/git.py pylint:blacklisted-name lib/ansible/modules/source_control/git.py use-argspec-type-path @@ -4542,16 +4541,17 @@ lib/ansible/modules/source_control/git.py validate-modules:parameter-type-not-in lib/ansible/modules/source_control/git.py validate-modules:doc-missing-type lib/ansible/modules/source_control/git_config.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/source_control/git_config.py validate-modules:doc-missing-type -lib/ansible/modules/source_control/github_deploy_key.py validate-modules:parameter-invalid -lib/ansible/modules/source_control/github_deploy_key.py validate-modules:parameter-type-not-in-doc -lib/ansible/modules/source_control/github_deploy_key.py validate-modules:doc-missing-type -lib/ansible/modules/source_control/github_issue.py validate-modules:parameter-type-not-in-doc -lib/ansible/modules/source_control/github_issue.py validate-modules:doc-missing-type -lib/ansible/modules/source_control/github_key.py validate-modules:doc-missing-type -lib/ansible/modules/source_control/github_release.py validate-modules:parameter-type-not-in-doc -lib/ansible/modules/source_control/github_release.py validate-modules:doc-missing-type -lib/ansible/modules/source_control/github_webhook.py validate-modules:parameter-type-not-in-doc -lib/ansible/modules/source_control/github_webhook_info.py validate-modules:parameter-type-not-in-doc +lib/ansible/modules/source_control/github/_github_hooks.py validate-modules:doc-missing-type +lib/ansible/modules/source_control/github/github_deploy_key.py validate-modules:parameter-invalid +lib/ansible/modules/source_control/github/github_deploy_key.py validate-modules:parameter-type-not-in-doc +lib/ansible/modules/source_control/github/github_deploy_key.py validate-modules:doc-missing-type +lib/ansible/modules/source_control/github/github_issue.py validate-modules:parameter-type-not-in-doc +lib/ansible/modules/source_control/github/github_issue.py validate-modules:doc-missing-type +lib/ansible/modules/source_control/github/github_key.py validate-modules:doc-missing-type +lib/ansible/modules/source_control/github/github_release.py validate-modules:parameter-type-not-in-doc +lib/ansible/modules/source_control/github/github_release.py validate-modules:doc-missing-type +lib/ansible/modules/source_control/github/github_webhook.py validate-modules:parameter-type-not-in-doc +lib/ansible/modules/source_control/github/github_webhook_info.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/source_control/hg.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/source_control/subversion.py validate-modules:undocumented-parameter lib/ansible/modules/source_control/subversion.py validate-modules:parameter-type-not-in-doc