Skip to content
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

Reason for the maxTagsToFetch Limit #44

Open
oliver-car opened this issue May 28, 2024 · 2 comments
Open

Reason for the maxTagsToFetch Limit #44

oliver-car opened this issue May 28, 2024 · 2 comments

Comments

@oliver-car
Copy link

https://github.com/ietf-tools/semver-action/blob/2415a9e79db34eb828a8dc1d20d4890725737227/dist/index.js#L52964

Hi, just wanted to understand what the reason for the 100 commit limit is.
It's causing some pipelines to fail due to the latest change being further back than 100 commits.
Is there a nice way around this?
Alternatively, could the limit be dropped or a limit override be made available?

@NGPixel
Copy link
Member

NGPixel commented Jun 24, 2024

This is a tags limit, not commits. All commits will be fetched, whether it's 10 or 1000.

100 is the maximum tags that can be fetched in a single graphQL query to GitHub. I'm not sure I understand the use case where you need to go back further than 100 tags?

@oliver-car
Copy link
Author

we use a mono-repo with many services, often times it's not finding tags for specific services due to more active services totalling over 100 tags pushed since the most recent tag of the less updated service
we forked the repository and made the update so it appears to be possible to go further back than 100

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

No branches or pull requests

2 participants