0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 21:00:03 +01:00
gitea/templates
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
..
admin Make "link-action" backend code respond correct JSON content (#26680) 2023-08-23 17:36:57 +08:00
api/packages/pypi
base Check disabled workflow when rerun jobs (#26535) 2023-08-22 10:30:02 +08:00
code
custom
devtest More improvements for the "flex list" and the dashboard list (#26675) 2023-08-23 04:23:30 +00:00
explore
mail
org Make "link-action" backend code respond correct JSON content (#26680) 2023-08-23 17:36:57 +08:00
package
projects fix grab cursor on default column (#26476) 2023-08-14 09:15:16 +08:00
repo Remove ref name in PR commits page (#25876) 2023-08-24 01:31:54 +00:00
shared Fix typo of RunerOwnerID (#26508) 2023-08-15 23:10:40 +00:00
status
swagger feat(API): update and delete secret for managing organization secrets (#26660) 2023-08-24 02:07:00 +00:00
user Make "link-action" backend code respond correct JSON content (#26680) 2023-08-23 17:36:57 +08:00
home.tmpl
install.tmpl
post-install.tmpl