Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve listing changed files in a commit
We ended up with revision 3b21550 for several Tasks in the acceptable bundles, seems that the `git log` method was also listing the files that were brought in by merging the main branch onto the pull request branch. This switches to using GitHub CLI to search for a merged pull request that contains the top commit (`$REVISION`), and then lists the changed files in that pull request. This version uses the GitHub Token from the `{{git_auth_secret}}` secret created by Pipelines as code. This should contain only the list of files that were changed in the pull request and not any changed files in a merge commit. Reference: https://issues.redhat.com/browse/EC-1015
- Loading branch information