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

feat: add support for REPOSITORIES regex with app installation tokens #117

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

oblivioncth
Copy link
Contributor

Can squash if desired.

The tests, including the new one I've added, all pass and I've tested the new functionality on one of my own repositories.

I don't use JS/TS normally, but did the best I could. Of course let me know if you want any of this handled differently

It's possible 'pageSize' works as intended, potentially due to some
kind of hard to find legacy support or overlap with octokit.net
(where the parameter name is explicitly that), but the correct name
of this parameter in the REST API is 'per_page'.

It appears likely that 'pageSize' has had no effect whatsoever. The
actual action code defaults the value to '30' which happens to align
with the REST API's default for when 'per_page' is not provided. While
the tests do use an explicit value (namely '3'), the Jest nock for each
endpoint dictate the number of results there instead of the actual
parameter value.
@oblivioncth oblivioncth changed the title Add support for using REPOSITORIES regex with app installation tokens feat: add support for REPOSITORIES regex with app installation tokens Sep 16, 2024
@jpoehnelt jpoehnelt merged commit b845793 into jpoehnelt:master Sep 26, 2024
2 checks passed
Copy link

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants