File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -7,20 +7,9 @@ PR_NUMBER=$1
7
7
echo " ====== PR Information ======\n" > $PR_FILE
8
8
gh pr view $PR_NUMBER --json title,body --jq ' "Title: " + .title + "\nDescription: " + .body' >> $PR_FILE
9
9
10
- # Include updated files
11
- echo -e " \n====== Updated files ======\n" >> $PR_FILE
12
- gh pr view $PR_NUMBER --json files --jq " .files[].path" | while read file; do
13
- case " $file " in
14
- * .lock|* -lock.* |* .min.* |dist/* |build/* |target/* )
15
- continue
16
- ;;
17
- esac
18
- if [ -f " $file " ]; then
19
- echo " ---- $file ----" >> $PR_FILE
20
- git diff main -- " $file " >> $PR_FILE
21
- echo -e " \n" >> $PR_FILE
22
- fi
23
- done
10
+ # Include PR diffs
11
+ echo -e " \n====== PR Diffs ======\n" >> $PR_FILE
12
+ gh pr diff $PR_NUMBER >> $PR_FILE
24
13
25
14
26
15
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ with new documentation reflecting the proposed changes in the PR. Make new files
13
13
14
14
cat pr-contents.txt
15
15
echo " Would prompt q chat here"
16
- timeout 10m echo -e $PROMPT | qchat chat --non-interactive --trust-all-tools
16
+ # timeout 10m echo -e $PROMPT | qchat chat --non-interactive --trust-all-tools
17
17
exit $?
You can’t perform that action at this time.
0 commit comments