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

Fix woodpecker-go repo model to match server #4479

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Fix woodpecker-go repo model to match server #4479

merged 1 commit into from
Nov 30, 2024

Conversation

xoxys
Copy link
Member

@xoxys xoxys commented Nov 29, 2024

The repo model in woodpecker-go should match the server model. Before this change, there was an error:

❯ ./dist/woodpecker-cli repo ls --format "{{ .FullName }}"
11:27PM FTL error running cli error="json: cannot unmarshal object into Go struct field Repo.trusted of type bool"

@xoxys xoxys added breaking will break existing installations if no manual action happens lib about our woodpecker-go api lib labels Nov 29, 2024
@xoxys xoxys requested a review from a team November 29, 2024 22:28
@woodpecker-bot
Copy link
Collaborator

woodpecker-bot commented Nov 29, 2024

Deployment of preview was torn down

@lafriks lafriks merged commit 5cbb57b into main Nov 30, 2024
6 of 7 checks passed
@lafriks lafriks deleted the lib-repo-model branch November 30, 2024 00:47
@woodpecker-bot woodpecker-bot mentioned this pull request Nov 30, 2024
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Dec 14, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking will break existing installations if no manual action happens lib about our woodpecker-go api lib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants