{"id":12430733,"name":"github/ai-moderator","ecosystem":"actions","description":"Scan new issues and comments with GitHub Models AI prompts; label or hide spam automatically.","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/github/ai-moderator","keywords_array":["actions","ai","spam-detection","spam-prevention"],"namespace":"github","versions_count":6,"first_release_published_at":"2025-07-28T01:53:05.000Z","latest_release_published_at":"2025-10-26T22:20:56.000Z","latest_release_number":"v1.1.4","last_synced_at":"2026-03-12T02:18:40.418Z","created_at":"2025-10-29T16:30:42.928Z","updated_at":"2026-03-12T02:18:40.418Z","registry_url":"https://github.com/github/ai-moderator","install_command":null,"documentation_url":null,"metadata":{"name":"AI Issue and Comment Moderator","description":"Scan new issues and comments with GitHub Models AI prompts; label or hide spam automatically.","author":"GitHub","branding":{"icon":"shield","color":"purple"},"inputs":{"token":{"description":"GitHub token with `issues`, `pull-requests`, and `models: read` permissions","required":false,"default":"${{ github.token }}"},"spam-label":{"description":"Label to add when generic spam is detected","required":false,"default":"spam"},"ai-label":{"description":"Label to add when AI-generated content is detected","required":false,"default":"ai-generated"},"minimize-detected-comments":{"description":"Whether to minimize comments detected as spam","required":false,"default":"true"},"dry-run":{"description":"If true, only evaluate without adding labels or minimizing comments","required":false,"default":"false"},"custom-prompt-path":{"description":"Path to a custom YAML prompt file in your repository (relative to repository root)","required":false},"enable-spam-detection":{"description":"Enable built-in spam detection prompt","required":false,"default":"true"},"enable-link-spam-detection":{"description":"Enable built-in link spam detection prompt","required":false,"default":"true"},"enable-ai-detection":{"description":"Enable built-in AI-generated content detection prompt","required":false,"default":"true"},"endpoint":{"description":"The endpoint to use for inference","required":false,"default":"https://models.github.ai/inference"}},"runs":{"using":"node16","main":"dist/index.js"},"default_branch":"main","path":null},"repo_metadata":{"id":308638940,"uuid":"1025289330","full_name":"github/ai-moderator","owner":"github","description":"An AI-powered GitHub Action that detects and tags spam in your repository","archived":false,"fork":false,"pushed_at":"2025-10-27T11:42:24.000Z","size":5695,"stargazers_count":140,"open_issues_count":9,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-28T13:39:03.557Z","etag":null,"topics":["actions","ai","spam-detection","spam-prevention"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-24T03:25:24.000Z","updated_at":"2025-10-28T00:46:22.000Z","dependencies_parsed_at":"2025-09-08T13:05:24.430Z","dependency_job_id":"f78dc9aa-6a08-4004-8aeb-73f038d9bca1","html_url":"https://github.com/github/ai-moderator","commit_stats":null,"previous_names":["github/ai-moderator"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/github/ai-moderator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/ai-moderator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281508290,"owners_count":26513661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"repo_metadata_updated_at":"2025-10-29T17:26:32.700Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":21.296238924344753,"dependent_packages_count":0.0,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":10.648119462172376},"purl":"pkg:githubactions/github/ai-moderator","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/github/ai-moderator","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/github/ai-moderator","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/github/ai-moderator/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-27T14:08:54.192Z","issues_count":2,"pull_requests_count":13,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":272453.5714285714,"issues_closed_count":0,"pull_requests_closed_count":7,"pull_request_authors_count":3,"issue_authors_count":2,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":0.3076923076923077,"merged_pull_requests_count":4,"bot_issues_count":0,"bot_pull_requests_count":11,"past_year_issues_count":2,"past_year_pull_requests_count":13,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":272453.5714285714,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":7,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.3076923076923077,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":11,"past_year_merged_pull_requests_count":4,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fai-moderator/issues","maintainers":[{"login":"sgoedecke","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sgoedecke"}],"active_maintainers":[{"login":"sgoedecke","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sgoedecke"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Fai-moderator/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Fai-moderator/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Fai-moderator/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Fai-moderator/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/github%2Fai-moderator/codemeta","maintainers":[]}