Skip to content

Create workflow than runs on Issue and PR Creation and closes if high likelihood of spam #11168

Description

@williammartin

Description

We get a lot of spam issues and PRs. I would like to explore using https://github.com/actions/ai-inference to categorise issues as spam or not, and automatically close them.

Expected Output

  • A new workflow than runs on issue or PR creation. We should consider having a set of eval with good and bad issue/PR examples to have high confidence before we turn on auto-closing.
  • Create issues for potential next steps

Activity

  1. self-assigned this
    on Jul 11, 2025
  2. linked a pull request that will close this issueAutomate spam issue detection #11316on Jul 16, 2025
  3. babakks commented on Jul 16, 2025

    @babakks
    Member

    Since issues are the most favourite for spams, I started with them. PRs are a bit more tricky because just checking the title/body is not sufficient and we would want to check the changed files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLIgithub_actionsPull requests that update GitHub Actions code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions