From 5f9c3a3e4cfa2fbb496f30df58e2439d93d4c9ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 19 Nov 2025 15:59:33 +0100 Subject: [PATCH] github: Adjust watchdog run logic (again) --- .github/workflows/aiwatchdog.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/aiwatchdog.yml b/.github/workflows/aiwatchdog.yml index 5456aa611..3cc43577c 100644 --- a/.github/workflows/aiwatchdog.yml +++ b/.github/workflows/aiwatchdog.yml @@ -2,14 +2,13 @@ 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: [open, ready_for_review] + types: [open] permissions: contents: read pull-requests: write jobs: detect-ai: runs-on: ubuntu-latest - if: ${{ !github.event.pull_request.draft }} steps: - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 - name: AI Watchdog -- 2.39.5