forked from googleapis/release-please
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(github): get files from commits w/out PRs (googleapis#825)
commitsSinceShaRest queries the REST API to get files associated directly with a history of commits. This solves the problem that commitsWithFiles has with processing a multi-commit PR: it ends up assigning all the files for the PR to every commit in the PR. I have not tested it but I think it could replace commitsWithFiles ( but not commitsWithLabels since there are no PRs as part of this query).
- Loading branch information
1 parent
63a8d57
commit 535b5f9
Showing
4 changed files
with
202 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters