Skip to content

Conversation

@gossi
Copy link
Contributor

@gossi gossi commented Aug 26, 2025

Fixes #56 - and in turn fixes a broken release-plan

@gossi gossi force-pushed the fix-get-user-data-for-apps branch from 1b75595 to b0c935d Compare November 12, 2025 16:00
@gossi gossi changed the title fix getUseData for apps that aren't bots fix getUserData for apps that aren't bots Nov 18, 2025
let path = "users";

// github API itself does not tell if contributor is an app. Best guess was to
// check the `html_url` for the `/apps/` segment
Copy link

Choose a reason for hiding this comment

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

Can we not use type which is set to Bot for Copilot?

Copy link

Choose a reason for hiding this comment

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

Ah, I see, apps are a sub-type of Bot.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I'm not really sure that Github knows what it is doing. That seems very much like an impl without spec: "we need it, make it happen, doesn't matter how".

@wagenet
Copy link

wagenet commented Dec 16, 2025

We also need to fix the name in the Committers list. This PR only changes it in the changes list.

@gossi
Copy link
Contributor Author

gossi commented Dec 17, 2025

@wagenet which committers list? I think I touched all occurences I could find

@wagenet
Copy link

wagenet commented Dec 19, 2025

See the list at the end. However, this was generated from a patch based on this PR so maybe I missed something on my end.

image

@gossi
Copy link
Contributor Author

gossi commented Dec 19, 2025

This should be handled. Tests do cover that case. Though release-plan uses the binary, not the JS API, which you might not have gotten (but then it also should have errored).

@mansona mansona added the bug Something isn't working label Jan 6, 2026
@mansona mansona merged commit 98573fa into release-plan:main Jan 6, 2026
9 checks passed
@github-actions github-actions bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails when committer is an app (not a user)

4 participants