yp05327

Results 309 comments of yp05327

There's a bug in old versions, but it should be fixed in #23675 🤔 Maybe the root reason is broken data in DB. So if you can access your database,...

Thanks for your report. IIRC, I have met this issue before. I will check it. ~~ps: According to the logic in permission check function, `UnitsMode` should be ``, but it...

Can you also dump related data in `team_user` table? 🙏 It seems that `GetUserRepoTeams` returns empty result.

It seems that projects unit is disabled.

Use `organization.IsOrganizationOwner` or `ctx.Org.Organization.IsOwnedBy`?

Can be simpler. ``` golang if userToPublicize.ID != ctx.Doer.ID && !ctx.Doer.IsAdmin { isOwner, err := ctx.Org.Organization.IsOwnedBy(ctx, ctx.Doer.ID) if err != nil { ctx.Error(http.StatusInternalServerError, "IsOwnedBy", err) return } if !isOwner {...

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch ![image](https://github.com/go-gitea/gitea/assets/18380374/68919a26-af66-481d-8931-272db70e937d) Should we also follow this note?

> In the actions.list method, if workflow is selected and IsAdmin, check whether the on event contains workflow_dispatch. If so, display a Run workflow button to allow the user to...

![image](https://github.com/go-gitea/gitea/assets/18380374/399e55c1-0333-4b9d-8541-7faf2bc12d9c) It is a required input, but it is empty.

> > * environment: gitea doesn't support the `environment` feature yet, right? Maybe act_runner uses environment as a keyword, so it can't get the value of `inputs.environment` > > gitea...