Forgejo/routers/api
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
..
actions fix artifact merging chunks path with correct slash on Windows (#26400) 2023-08-08 17:21:48 +00:00
packages Add auth-required to config.json for Cargo http registry (#26729) 2023-08-28 07:05:39 +00:00
v1 feat(API): add route and implementation for creating/updating repository secret (#26766) 2023-08-29 20:54:49 +00:00