0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-01 11:43:19 +01:00
gitea/routers/api/v1
Bo-Yi Wu b91057b172
feat(API): add route and implementation for creating/updating repository secret (#26766)
spec:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-a-repository-secret

- Add a new route for creating or updating a secret value in a
repository
- Create a new file `routers/api/v1/repo/action.go` with the
implementation of the `CreateOrUpdateSecret` function
- Update the Swagger documentation for the `updateRepoSecret` operation
in the `v1_json.tmpl` template file

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-29 20:54:49 +00:00
..
activitypub
admin
misc
notify
org feat(API): add route and implementation for creating/updating repository secret (#26766) 2023-08-29 20:54:49 +00:00
packages
repo feat(API): add route and implementation for creating/updating repository secret (#26766) 2023-08-29 20:54:49 +00:00
settings
swagger
user
utils
api.go feat(API): add route and implementation for creating/updating repository secret (#26766) 2023-08-29 20:54:49 +00:00
auth.go
auth_windows.go