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

Error when repository uses multiselect custom-properties #1881

Closed
spalberg opened this issue Aug 8, 2024 · 2 comments
Closed

Error when repository uses multiselect custom-properties #1881

spalberg opened this issue Aug 8, 2024 · 2 comments

Comments

@spalberg
Copy link

spalberg commented Aug 8, 2024

Problem overview

We started using githubs custom properties recently and noticed that our reviewdog/action-actionlint checks started to fail with the following error:

reviewdog: failed to build repo base HTML URL: json: cannot unmarshal array into Go struct field Repository.custom_properties of type string

The problem seems to originate in https://github.com/google/go-github where custom_properties is expected to be a map of string values when it actually can contain string arrays as well.

I've also created an issue at go-github (google/go-github#3229).

@spalberg
Copy link
Author

spalberg commented Aug 25, 2024

go-github v64 was released a few days ago so this PR should fix the issue: #1894

@spalberg
Copy link
Author

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

1 participant