configurable auto-sync interval for gitea plugin
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gitea-sync",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"description": "Syncs public repositories from a Gitea instance as feedback boards",
|
||||
"author": "echoboard",
|
||||
"entryPoint": "index.js",
|
||||
@@ -17,6 +17,20 @@
|
||||
"type": "password",
|
||||
"label": "API token",
|
||||
"placeholder": "Leave empty for public repos only"
|
||||
},
|
||||
{
|
||||
"key": "syncInterval",
|
||||
"type": "select",
|
||||
"label": "Auto-sync interval",
|
||||
"options": [
|
||||
{ "value": "off", "label": "Off - manual only" },
|
||||
{ "value": "15", "label": "Every 15 minutes" },
|
||||
{ "value": "30", "label": "Every 30 minutes" },
|
||||
{ "value": "60", "label": "Every hour" },
|
||||
{ "value": "360", "label": "Every 6 hours" },
|
||||
{ "value": "720", "label": "Every 12 hours" },
|
||||
{ "value": "1440", "label": "Every 24 hours" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user