diff --git a/.github/workflows/devin-review.yml b/.github/workflows/devin-review.yml index 5754ba5..ea1410b 100644 --- a/.github/workflows/devin-review.yml +++ b/.github/workflows/devin-review.yml @@ -20,4 +20,10 @@ jobs: node-version: '20' - name: Run Devin Review - run: npx devin-review ${{ github.event.pull_request.html_url }} + # Use script to emulate a TTY as devin-review requires terminal features + # The -q flag suppresses script output, -e exits with command exit code, + # and -c runs the command. /dev/null discards script's own output. + env: + CI: true # Ensures the tool runs in non-interactive CI mode + run: | + script -q -e -c "npx devin-review ${{ github.event.pull_request.html_url }}" /dev/null