Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix the response format foractions/workflows.#35009

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ScionOfDesign
Copy link
Contributor

This PR fixes the response format for the OpenAPI Spec ofActionsListRepositoryWorkflows.
It was specified in the OpenAPI spec as returning a[]*ActionWorkflow, but it actually should return aapi.ActionWorkflowResponse.

The test already expects anapi.ActionWorkflowResponse like expected.

@GiteaBotGiteaBot added the lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelJul 9, 2025
@github-actionsgithub-actionsbot added modifies/apiThis PR adds API routes or modifies them modifies/goPull requests that update Go code labelsJul 9, 2025
Copy link
Contributor

@wxiaoguangwxiaoguang left a comment

Choose a reason for hiding this comment

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

@GiteaBotGiteaBot added lgtm/need 1This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2This PR needs two approvals by maintainers to be considered for merging. labelsJul 9, 2025
Copy link
Contributor

@ChristopherHXChristopherHX left a comment

Choose a reason for hiding this comment

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

Thanks, I missed this in the original PR

I think adding a Backport label for 1.24 makes sense to fix the openapi there as well

wxiaoguang reacted with thumbs up emoji
@GiteaBotGiteaBot added lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1This PR needs approval from one additional maintainer to be merged. labelsJul 9, 2025
@ChristopherHXChristopherHX added the backport/v1.24This PR should be backported to Gitea 1.24 labelJul 9, 2025
@wxiaoguangwxiaoguang merged commitbb0c84e intogo-gitea:mainJul 9, 2025
26 checks passed
@GiteaBotGiteaBot added this to the1.25.0 milestoneJul 9, 2025
@GiteaBot
Copy link
Collaborator

I was unable to create a backport for 1.24.@ScionOfDesign, please send one manually. 🍵

go run ./contrib/backport 35009...  // fix git conflicts if anygo run ./contrib/backport --continue

@GiteaBotGiteaBot added the backport/manualNo power to the bots! Create your backport yourself! labelJul 9, 2025
@wxiaoguang
Copy link
Contributor

Hmm, swagger conflict makes it impossible to backport automatically.

If you'd like to try to backport, you can checkout 1.24 branch and apply the change to it again (manually 🤣 ) and submit a new PR targeting 1.24 branch.

If there is any difficulty, other maintainers and I could also help.

ChristopherHX pushed a commit to ChristopherHX/gitea that referenced this pull requestJul 9, 2025
Backportgo-gitea#35009This PR fixes the response format for the OpenAPI Spec of`ActionsListRepositoryWorkflows`.It was specified in the OpenAPI spec as returning a `[]*ActionWorkflow`,but it actually should return a `api.ActionWorkflowResponse`.The test already expects an `api.ActionWorkflowResponse` like expected.
@ChristopherHX
Copy link
Contributor

ChristopherHX commentedJul 9, 2025
edited
Loading

We could improve the backport program here, e.g. if the only conflict is swagger delte the generated file, regenerate.

I am doing this now manually

silverwind pushed a commit that referenced this pull requestJul 9, 2025
Backport#35009This PR fixes the response format for the OpenAPI Spec of`ActionsListRepositoryWorkflows`.It was specified in the OpenAPI spec as returning a `[]*ActionWorkflow`,but it actually should return a `api.ActionWorkflowResponse`.The test already expects an `api.ActionWorkflowResponse` like expected.Co-authored-by: Scion <Filiecs2@gmail.com>
@ScionOfDesignScionOfDesign deleted the fix-list-repo-response branchJuly 9, 2025 16:47
zjjhot added a commit to zjjhot/gitea that referenced this pull requestJul 10, 2025
* giteaofficial/main:  [skip ci] Updated translations via Crowdin  Docs/fix typo and grammar in CONTRIBUTING.md (go-gitea#35024)  fix: improve english grammar and readability in locale_en-US.ini (go-gitea#35017)  Add labeler config for `topic/code-linting` (go-gitea#35020)  Fix various problems (go-gitea#35012)  Fix the response format for `actions/workflows`. (go-gitea#35009)
@lunnylunny added the backport/doneAll backports for this PR have been created labelAug 12, 2025
@go-giteago-gitea locked asresolvedand limited conversation to collaboratorsOct 7, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@wxiaoguangwxiaoguangwxiaoguang approved these changes

@ChristopherHXChristopherHXChristopherHX approved these changes

Assignees

No one assigned

Labels

backport/doneAll backports for this PR have been createdbackport/manualNo power to the bots! Create your backport yourself!backport/v1.24This PR should be backported to Gitea 1.24lgtm/doneThis PR has enough approvals to get merged. There are no important open reservations anymore.modifies/apiThis PR adds API routes or modifies themmodifies/goPull requests that update Go code

Projects

None yet

Milestone

1.25.0

Development

Successfully merging this pull request may close these issues.

5 participants

@ScionOfDesign@GiteaBot@wxiaoguang@ChristopherHX@lunny

[8]ページ先頭

©2009-2025 Movatter.jp