From c8745e1599b61f45005cb1603441d39a8ebf387b Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 17 Dec 2023 04:36:39 +0000 Subject: [PATCH] feat: add new constants for repository actions (#643) - Add a new constant `RepoUnitActions` to represent the actions of a repository Signed-off-by: appleboy Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/643 Reviewed-by: Lunny Xiao Co-authored-by: appleboy Co-committed-by: appleboy --- gitea/org_team.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitea/org_team.go b/gitea/org_team.go index e7caa5a..9c02e85 100644 --- a/gitea/org_team.go +++ b/gitea/org_team.go @@ -45,6 +45,8 @@ const ( RepoUnitProjects RepoUnitType = "repo.projects" // RepoUnitPackages represents packages of a repository RepoUnitPackages RepoUnitType = "repo.packages" + // RepoUnitActions represents actions of a repository + RepoUnitActions RepoUnitType = "repo.actions" ) // ListTeamsOptions options for listing teams