Skip to content

Commit

Permalink
Allow testing PRs with more than 300 files
Browse files Browse the repository at this point in the history
'gh pr diff' API only responds with diffs up to 300 files
  • Loading branch information
cbbayburt committed Nov 26, 2024
1 parent 79c48b2 commit b273e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/changelogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
run: |
pip install python-bugzilla~=3.2.0
CHANGED_FILES=$(gh pr diff -R $GIT_REPO $PR_NUM --name-only)
CHANGED_FILES=$(gh api --paginate repos/$GIT_REPO/pulls/$PR_NUM/files | jq '.[].filename')
echo $CHANGED_FILES
python .github/workflows/changelogs/changelogs.py -v \
--tracker-file $TRACKER_FILE --git-repo $GIT_REPO --uyuni-dir .head --pr-number $PR_NUM $CHANGED_FILES
Expand Down

0 comments on commit b273e85

Please sign in to comment.