It's failing with a 404 that I don't know how to fix (or don't have the time to investigate). It works fine when run locally.
+++ /dev/null
-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, 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
- uses: bep/ai-watchdog@e85b3674edb3f174950e7622b87350ad54b2013e # temporary fork (probably)
- with:
- openai-api-key: ${{ secrets.OPENAI_API_KEY }}
- pr-label: AI Suspect
- fail-when-confident: false
- # CSV list.
- pr-user-logins-skip: dependabot[bot],jmooring