forgejo/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 Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Check disabled workflow when rerun jobs (#26535) 2023-08-22 10:30:02 +08:00
code Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest More improvements for the "flex list" and the dashboard list (#26675) 2023-08-23 04:23:30 +00:00
explore remove unnecessary explore org template (#26459) 2023-08-11 16:07:04 -04:00
mail Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
org Make "link-action" backend code respond correct JSON content (#26680) 2023-08-23 17:36:57 +08:00
package Use flex classes in package settings (#26314) 2023-08-08 18:28:24 +02:00
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 Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
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 Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00