1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Added Description Field for Secrets and Variables (#33526)

Fixes #33484

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
John Smith
2025-03-18 03:24:54 +08:00
committed by GitHub
parent 9d7c02f9f7
commit 8f051d598c
20 changed files with 247 additions and 63 deletions

View File

@@ -19325,6 +19325,11 @@
"type": "string",
"x-go-name": "Data"
},
"description": {
"description": "the description of the variable",
"type": "string",
"x-go-name": "Description"
},
"name": {
"description": "the name of the variable",
"type": "string",
@@ -20988,6 +20993,11 @@
"description": "Data of the secret to update",
"type": "string",
"x-go-name": "Data"
},
"description": {
"description": "Description of the secret to update",
"type": "string",
"x-go-name": "Description"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
@@ -21498,6 +21508,11 @@
"value"
],
"properties": {
"description": {
"description": "Description of the variable to create",
"type": "string",
"x-go-name": "Description"
},
"value": {
"description": "Value of the variable to create",
"type": "string",
@@ -25459,6 +25474,11 @@
"format": "date-time",
"x-go-name": "Created"
},
"description": {
"description": "the secret's description",
"type": "string",
"x-go-name": "Description"
},
"name": {
"description": "the secret's name",
"type": "string",
@@ -26034,6 +26054,11 @@
"value"
],
"properties": {
"description": {
"description": "Description of the variable to update",
"type": "string",
"x-go-name": "Description"
},
"name": {
"description": "New name for the variable. If the field is empty, the variable name won't be updated.",
"type": "string",