aireview

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package aireview identifies webhook events from a "bot reviewer" (any account whose sender.type is "Bot"). Detection is deliberately broad: GitHub's payload does not distinguish AI reviewers (Copilot, Claude, …) from scripted bots (dependabot, renovate, release-please, …), so callers see the identity but suppression policy is applied per-repo by the event handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct{}

Detector is a pure bot classifier. It has no state and serves as a namespace for the bot-detection logic.

func NewDetector

func NewDetector() *Detector

NewDetector returns a Detector.

func (*Detector) IsBot added in v0.12.0

func (d *Detector) IsBot(senderType string) bool

IsBot reports whether the given sender.type is a bot. Matches "Bot" only.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL