Skip to content

Get commits from release branch #979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

pokey
Copy link
Contributor

@pokey pokey commented Aug 17, 2021

This issue should help with #971, #891 and #927, but looks like it might not completely address all cases seen by users

The issue is that the commits API endpoint on Github grabs the commits for the repository's default branch by default. Thus, if the release branch is not the repository's default branch, we won't find any commits for the release branch

@pokey pokey mentioned this pull request Aug 17, 2021
@olleolleolle olleolleolle self-assigned this Aug 17, 2021
@olleolleolle
Copy link
Collaborator

Looks nice, did this change the test output? Or was that red before this change?

@pokey
Copy link
Contributor Author

pokey commented Aug 18, 2021

The failure on CI does look related to my change; will have a look today

@pokey
Copy link
Contributor Author

pokey commented Aug 18, 2021

Ok tests are green

Copy link
Collaborator

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, this API usage update takes "configured release branch" into account.

Thanks for the update @pokey!

@olleolleolle olleolleolle merged commit 678f59d into github-changelog-generator:master Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants