mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8cd46024fd
According to the GitHub API Spec: https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-organization-secret Merge the Create and Update secret into a single API. - Remove the `CreateSecretOption` struct and replace it with `CreateOrUpdateSecretOption` in `modules/structs/secret.go` - Update the `CreateOrUpdateOrgSecret` function in `routers/api/v1/org/action.go` to use `CreateOrUpdateSecretOption` instead of `UpdateSecretOption` - Remove the `CreateOrgSecret` function in `routers/api/v1/org/action.go` and replace it with `CreateOrUpdateOrgSecret` - Update the Swagger documentation in `routers/api/v1/swagger/options.go` and `templates/swagger/v1_json.tmpl` to reflect the changes in the struct names and function names Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> |
1 year ago | |
---|---|---|
.. | ||
action.go | 1 year ago | |
activity.go | 2 years ago | |
activitypub.go | 2 years ago | |
app.go | 2 years ago | |
cron.go | 2 years ago | |
issue.go | 2 years ago | |
key.go | 2 years ago | |
misc.go | 2 years ago | |
nodeinfo.go | 2 years ago | |
notify.go | 2 years ago | |
options.go | 1 year ago | |
org.go | 2 years ago | |
package.go | 2 years ago | |
repo.go | 2 years ago | |
settings.go | 2 years ago | |
user.go | 2 years ago |