Skip to content

Commit 84d74eb

Browse files
authored
Merge pull request #22 from Hyper3Labs/copilot/fix-devin-review-workflow
Fix devin-review workflow TTY requirement in CI
2 parents b6d754c + 4f93ea9 commit 84d74eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/devin-review.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@ jobs:
2020
node-version: '20'
2121

2222
- name: Run Devin Review
23-
run: npx devin-review ${{ github.event.pull_request.html_url }}
23+
# Use script to emulate a TTY as devin-review requires terminal features
24+
# The -q flag suppresses script output, -e exits with command exit code,
25+
# and -c runs the command. /dev/null discards script's own output.
26+
env:
27+
CI: true # Ensures the tool runs in non-interactive CI mode
28+
run: |
29+
script -q -e -c "npx devin-review ${{ github.event.pull_request.html_url }}" /dev/null

0 commit comments

Comments
 (0)