-
Notifications
You must be signed in to change notification settings - Fork 61
feature request: commit list rest endpoint #752
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
Comments
I had to revert the previous fix to overcome this issue #799. I'm thinking here now, in your case the I'm thinking the only issue here would be on force pushes that have more than 20 commits on them, but it feels like an edge case that is safely covered by the |
@wagoid Ah sorry the change we were implementing caused that issue. Yes on |
In this case we're using semantic release on The not-to-rare case we see is when a PR is merged with >20 commits it's possible the semantic commits are missed and the versioning with semantic release is wrong. What I was hoping to accomplish with #798 was to analyze all the commits from the last merge to trunk to the one incoming on the history from the latest PR. Issue 799 said all history and I thought this would prevent that but I could be wrong.
The behavior I was going for was that |
Got it! @Brian-Triplett what about adding the same feature you added before, but through a parameter? |
We use this action on
pull_request
andpush
, but we've noticed a small discrepancy after merging a couple of our branches. Our PRs that have more than 20 commits do not lint every commit. I've realized this is because of a limit on thepush
webhook payload.https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
Is there interest in supporting the REST endpoint to enable consistent linting on large PRs using something like
octokit.rest.repos.listCommits(...)
? It's atypical for my team to have large PRs like this, but with very active repos and merges it may become more frequent.https://docs.github.com/en/free-pro-team@latest/rest/commits/commits?apiVersion=2022-11-28#list-commits
https://octokit.github.io/rest.js/v20#repos
The text was updated successfully, but these errors were encountered: