mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Merge pull request #92 from PierreGode/PierreGode-patch-7
Update review.yml
This commit is contained in:
commit
516ae8e103
3
.github/workflows/review.yml
vendored
3
.github/workflows/review.yml
vendored
@ -59,6 +59,7 @@ jobs:
|
|||||||
inline_comments = [] # Collect inline comments to post
|
inline_comments = [] # Collect inline comments to post
|
||||||
diff_text = ""
|
diff_text = ""
|
||||||
|
|
||||||
|
# Loop through the files in the PR
|
||||||
for fdata in pr_files:
|
for fdata in pr_files:
|
||||||
filename = fdata['filename']
|
filename = fdata['filename']
|
||||||
patch = fdata.get('patch', '')
|
patch = fdata.get('patch', '')
|
||||||
@ -112,7 +113,7 @@ jobs:
|
|||||||
print("No critical issues found in the code.")
|
print("No critical issues found in the code.")
|
||||||
|
|
||||||
# Always post PR summary
|
# Always post PR summary
|
||||||
summary_prompt = f"Summarize the following pull request changes in a concise, technical manner:\\n\\n{diff_text}"
|
summary_prompt = f"Summarize the following pull request changes in a concise, technical manner. Include details on which files were changed and a high-level overview of the changes:\n\n{diff_text}"
|
||||||
data_summary = {
|
data_summary = {
|
||||||
"model": "gpt-4o-mini",
|
"model": "gpt-4o-mini",
|
||||||
"messages": [{"role": "user", "content": summary_prompt}],
|
"messages": [{"role": "user", "content": summary_prompt}],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user