Skip to content

Commit

Permalink
Use get_commit_files (patched in tests) instead of github_utils.get_c…
Browse files Browse the repository at this point in the history
…ommit
  • Loading branch information
iarspider committed Jun 9, 2024
1 parent e2e8d33 commit 841b263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ def process_pr(repo_config, gh, repo, issue, dryRun, cmsbuild_user=None, force=F
bot_cache["commits"][commit.sha]["files"] = []
else:
bot_cache["commits"][commit.sha]["files"] = sorted(
x["filename"] for x in get_commit(repo.full_name, commit.sha)["files"]
get_commit_files(repo, commit)
)

elif len(commit.parents) > 1:
Expand Down

0 comments on commit 841b263

Please sign in to comment.