0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 18:24:38 +01:00
gitea/routers/api/v1
Bo-Yi Wu b62c8e7765
feat(API): update and delete secret for managing organization secrets (#26660)
- Add `UpdateSecret` function to modify org or user repo secret
- Add `DeleteSecret` function to delete secret from an organization
- Add `UpdateSecretOption` struct for updating secret options
- Add `UpdateOrgSecret` function to update a secret in an organization
- Add `DeleteOrgSecret` function to delete a secret in an organization

GitHub API

1. Update Org Secret:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-organization-secret
2. Delete Org Secret:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#delete-an-organization-secret

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-08-24 02:07:00 +00:00
..
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
admin fix Missing 404 swagger response docs for /admin/users/{username} (#26086) 2023-07-24 10:48:44 +02:00
misc
notify Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org feat(API): update and delete secret for managing organization secrets (#26660) 2023-08-24 02:07:00 +00:00
packages
repo Return empty when searching issues with no repos (#26545) 2023-08-17 12:42:17 -05:00
settings
swagger feat(API): update and delete secret for managing organization secrets (#26660) 2023-08-24 02:07:00 +00:00
user Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
utils
api.go feat(API): update and delete secret for managing organization secrets (#26660) 2023-08-24 02:07:00 +00:00
auth.go
auth_windows.go