Skip to content

[CI] Add AI-generated content detection workflow #8520

@vitorvasc

Description

@vitorvasc

To improve the contributor workflow and avoid time-intensive reviews, this issue proposes adding a CI workflow that flags PRs with likely AI-generated content before they reach full review.

See this example from Hugo's repository: gohugoio/hugo#14205 (comment)

Looking at Hugo's repo, the aiwatchdog.yml workflow uses the bep/ai-watchdog action, which analyzes the PR content (description + changed files) and sends them to OpenAI models to detect potential AI-generated content.

Once it calculates the overall confidence score, it posts a comment on the PR with the findings. We can also configure if we want to apply a label and flag the PR as AI-generated, and optionally fail the workflow when confidence score is high.

/cc @open-telemetry/docs-approvers

Metadata

Metadata

Assignees

Labels

docs:CI/infraCI & infrastructuretriage:acceptedIssue has been accepted and a PR can be created

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions