github: Only run AI Watchdog when the PR is ready for review

This commit is contained in:
Bjørn Erik Pedersen
2025-11-19 15:32:28 +01:00
parent b81861fd21
commit d25b619ce2
+1 -1
View File
@@ -2,7 +2,7 @@ name: AI Detection
on:
# Use pull_request_target instead of pull_request (we need the secrets.OPENAI_API_KEY to be available for forks)
pull_request_target:
types: [opened, reopened, ready_for_review, synchronize]
types: [ready_for_review]
permissions:
contents: read
pull-requests: write