fix: use PR base ref instead of hardcoded origin/main in workflow
Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
This commit is contained in:
parent
8c41c392ff
commit
cef0113aed
1 changed files with 2 additions and 2 deletions
|
|
@ -374,10 +374,10 @@ jobs:
|
|||
echo "🔍 Analyzing code changes for documentation needs..."
|
||||
|
||||
# Get changed files
|
||||
git diff origin/main..HEAD --name-only > changed_files.txt
|
||||
git diff origin/${{ github.base_ref }}..HEAD --name-only > changed_files.txt
|
||||
|
||||
# Create detailed diff
|
||||
git diff origin/main..HEAD > changes.diff
|
||||
git diff origin/${{ github.base_ref }}..HEAD > changes.diff
|
||||
|
||||
# Use Continue agent to check if docs need updates
|
||||
PROMPT="Review these code changes and determine if documentation updates are needed.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue