From: Bjørn Erik Pedersen Date: Wed, 19 Nov 2025 15:01:38 +0000 (+0100) Subject: github: Adjust watchdog run logic (now with correct spelling) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0f94274a288f610c6bfa08843258bbf14c3ddb66;p=brevno-suite%2Fhugo github: Adjust watchdog run logic (now with correct spelling) --- diff --git a/.github/workflows/aiwatchdog.yml b/.github/workflows/aiwatchdog.yml index 3cc43577c..0a4dd37ac 100644 --- a/.github/workflows/aiwatchdog.yml +++ b/.github/workflows/aiwatchdog.yml @@ -2,13 +2,14 @@ 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] + types: [opened, ready_for_review] 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