diff --git a/web/src/components/form/CheckboxesField.vue b/web/src/components/form/CheckboxesField.vue
index 80271107534..f6887849a1f 100644
--- a/web/src/components/form/CheckboxesField.vue
+++ b/web/src/components/form/CheckboxesField.vue
@@ -4,6 +4,7 @@
:key="option.value"
:model-value="innerValue.includes(option.value)"
:label="option.text"
+ :description="option.description"
class="mb-2"
@update:model-value="clickOption(option)"
/>
diff --git a/web/src/components/form/TextField.vue b/web/src/components/form/TextField.vue
index 0911f204a3e..e25fd3768fb 100644
--- a/web/src/components/form/TextField.vue
+++ b/web/src/components/form/TextField.vue
@@ -12,6 +12,7 @@
"
>
+
@@ -50,6 +65,11 @@ export default defineComponent({
type: String,
default: 'text',
},
+
+ lines: {
+ type: Number,
+ default: 1,
+ },
},
emits: {
diff --git a/web/src/components/repo/settings/SecretsTab.vue b/web/src/components/repo/settings/SecretsTab.vue
index 87c2a3d715e..cd4c1a8953b 100644
--- a/web/src/components/repo/settings/SecretsTab.vue
+++ b/web/src/components/repo/settings/SecretsTab.vue
@@ -47,7 +47,7 @@
-
+
@@ -87,7 +87,12 @@ const emptySecret = {
const secretEventsOptions: CheckboxOption[] = [
{ value: WebhookEvents.Push, text: 'Push' },
{ value: WebhookEvents.Tag, text: 'Tag' },
- { value: WebhookEvents.PullRequest, text: 'Pull Request' },
+ {
+ value: WebhookEvents.PullRequest,
+ text: 'Pull Request',
+ description:
+ 'Please be careful with this option as a bad actor can submit a malicious pull request that exposes your secrets.',
+ },
{ value: WebhookEvents.Deploy, text: 'Deploy' },
];