-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add endpoint deleting workflow run #34337
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test is failing 😕 |
At line 587 |
Because now we use JSONError for error messages, then the error message will be correctly displayed on the UI |
I assume 400 is correct here like in gitea/routers/web/repo/branch.go Line 267 in ad5234f
|
I mean for that line, should use ctx.JSONError 400, or something else for 404? |
I added And frontend code works with any 40x code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hey @wxiaoguang |
Personally I think (usually) no, because it is a feature-like change (a lot of code changes). But if many users & contributors & maintainers would like to backport, we could try. So it depends IMO. |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Add endpoint deleting workflow run (go-gitea#34337) Fix remove org user failure on mssql (go-gitea#34449) Fix repo broken check (go-gitea#34444) Fix comment textarea scroll issue in Firefox (go-gitea#34438) Fix releases sidebar navigation link (go-gitea#34436)
Add endpoint deleting workflow run
Resolves #26219
/claim #26219