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 | |
---|---|---|
.. | ||
activity.go | 2 years ago | |
activitypub.go | ||
admin_user.go | 2 years ago | |
attachment.go | ||
commit_status.go | 1 year ago | |
commit_status_test.go | 2 years ago | |
cron.go | ||
doc.go | ||
fork.go | ||
git_blob.go | ||
git_hook.go | ||
hook.go | 1 year ago | |
issue.go | 2 years ago | |
issue_comment.go | ||
issue_label.go | 1 year ago | |
issue_milestone.go | ||
issue_reaction.go | ||
issue_stopwatch.go | ||
issue_test.go | ||
issue_tracked_time.go | ||
lfs_lock.go | ||
mirror.go | 2 years ago | |
miscellaneous.go | 2 years ago | |
nodeinfo.go | ||
notifications.go | ||
org.go | 2 years ago | |
org_member.go | ||
org_team.go | 2 years ago | |
package.go | ||
pull.go | 2 years ago | |
pull_review.go | ||
release.go | 1 year ago | |
repo.go | 2 years ago | |
repo_branch.go | 2 years ago | |
repo_collaborator.go | ||
repo_commit.go | 2 years ago | |
repo_file.go | 2 years ago | |
repo_key.go | ||
repo_note.go | ||
repo_refs.go | ||
repo_tag.go | ||
repo_topic.go | ||
repo_tree.go | ||
repo_watch.go | 2 years ago | |
repo_wiki.go | ||
secret.go | 1 year ago | |
settings.go | ||
status.go | ||
task.go | 2 years ago | |
user.go | 2 years ago | |
user_app.go | 2 years ago | |
user_email.go | 2 years ago | |
user_gpgkey.go | ||
user_key.go | ||
visible_type.go | 2 years ago |